Openwindows Cmdtool escape sequence broken

Dan Kegel dank at blacks.jpl.nasa.gov
Fri Jun 28 06:22:00 AEST 1991


Environment: Sun 4/470 GX, SunOS 4.1.1b

Problem: The escape sequence \E[8;ROWS;COLSt when printed to a cmdtool
    or shelltool is supposed to set the window size in characters.  It does, 
    but not to the desired number of characters.  This function worked 
    properly under Sunview.

Repeat-by:
    Execute the command
	echo '^[[8;25;80t'
    where ^[ is the ESCAPE character.  This should set the window width 
    to 80 cols.  Then display a text file such as the following:
12345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
    This demonstrates that the resulting line length is actually 87.

Reported-by: Dan Kegel (dank at blacks.jpl.nasa.gov)




More information about the Comp.sys.sun mailing list