Article View: comp.sys.sun
Article #8756Openwindows Cmdtool escape sequence broken
From: Dan Kegel
Date: Thu, 27 Jun 1991 20:22
Date: Thu, 27 Jun 1991 20:22
17 lines
1337 bytes
1337 bytes
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@blacks.jpl.nasa.gov)
Technical Details
Message-ID:
<4155@brchh104.bnr.ca>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: dank@blacks.jpl.nasa.gov (Dan Kegel) Newsgroups: comp.sys.sun Subject: Openwindows Cmdtool escape sequence broken Keywords: No Digest Subjects during Flush Message-ID: <4155@brchh104.bnr.ca> Date: 27 Jun 91 20:22:00 GMT Sender: news@brchh104.bnr.ca Organization: Sunspots, Flush Mode Lines: 18 Approved: sun-spots@rice.edu X-Original-Date: Thu, 20 Jun 91 17:37:53 PDT