[comp.windows.x] ``Xterm Control Sequences'' document: where is it?

leonard@arizona.edu (12/27/90)

The xterm man page refers to a document called ``Xterm Control
Sequences'':

     Many of the special xterm features  (like  logging)  may  be
     modified  under  program  control  through  a  set of escape
     sequences  different  from   the   standard   VT102   escape
     sequences. (See the ``Xterm Control Sequences'' document.)

Has anyone ever seen this document?  If so, where?  If not, are the
escape sequences documented anywhere but in the source?

Thanks, 

Aaron

Aaron Leonard (AL104), <Leonard@Arizona.EDU>
University of Arizona Telecommunications, Tucson AZ 85721

fgreco@dprg-330.GOVt.shearson.COM (Frank Greco) (12/27/90)

> 
>      Many of the special xterm features  (like  logging)  may  be
>      modified  under  program  control  through  a  set of escape
>      sequences  different  from   the   standard   VT102   escape
>      sequences. (See the ``Xterm Control Sequences'' document.)
> 
> Has anyone ever seen this document?  If so, where?  If not, are the
> escape sequences documented anywhere but in the source?
> 
	I haven't yet found it, however, Volume 3 of the O'Reilly 
	series "X Window System User's Guide" has all the Xterm 
	control sequences in one of the appendices.

	But no iconify/de-iconify sequences...sigh...


	Frank G.

guy@auspex.auspex.com (Guy Harris) (01/05/91)

>Has anyone ever seen this document?

Yes.

>If so, where?

	<top-level-X11R4-directory>/mit/clients/xterm/ctlseqs.ms

in the X11R4 distribution from MIT.

You may want to apply the following patch to it, which fixes a few
discrepancies between it and X11R4 (the original document was done for
X10, and somebody who will remain nameless on the off chance that
somebody might try to stick him with "owning" the document updated it
for X11R3, albeit leaving some stuff out that he didn't care to invest
the time to figure out):

*** ctlseqs.ms.dist	Thu Dec 21 17:15:27 1989
--- ctlseqs.ms	Sat Jan  6 19:24:59 1990
***************
*** 337,343 ****
    \*(Ps = \*4\*6 \(-> Start Logging
    \*(Ps = \*4\*7 \(-> Use Alternate Screen Buffer
    \*(Ps = \*1\*0\*0\*0 \(-> Send VT200 Mouse Row & Column on Button Press
!   \*(Ps = \*1\*0\*0\*3 \(-> Send VT200 Hilite Mouse Row & Column on Button Press
  .IP \\*(Es\\*([[\\*?\\*(Ps\|\\*l
  DEC Private Mode Reset (DECRST)
    \*(Ps = \*1 \(-> Normal Cursor Keys (DECCKM)
--- 337,343 ----
    \*(Ps = \*4\*6 \(-> Start Logging
    \*(Ps = \*4\*7 \(-> Use Alternate Screen Buffer
    \*(Ps = \*1\*0\*0\*0 \(-> Send VT200 Mouse Row & Column on Button Press
!   \*(Ps = \*1\*0\*0\*1 \(-> Send VT200 Hilite Mouse Row & Column on Button Press
  .IP \\*(Es\\*([[\\*?\\*(Ps\|\\*l
  DEC Private Mode Reset (DECRST)
    \*(Ps = \*1 \(-> Normal Cursor Keys (DECCKM)
***************
*** 355,361 ****
    \*(Ps = \*4\*6 \(-> Stop Logging
    \*(Ps = \*4\*7 \(-> Use Normal Screen Buffer
    \*(Ps = \*1\*0\*0\*0 \(-> Don't Send Mouse Row & Column on Button Press
!   \*(Ps = \*1\*0\*0\*3 \(-> Don't Send Mouse Row & Column on Button Press
  .IP \\*(Es\\*([[\\*?\\*(Ps\|\\*r
  Restore DEC Private Mode
    \*(Ps = \*1 \(-> Normal/Application Cursor Keys (DECCKM)
--- 355,361 ----
    \*(Ps = \*4\*6 \(-> Stop Logging
    \*(Ps = \*4\*7 \(-> Use Normal Screen Buffer
    \*(Ps = \*1\*0\*0\*0 \(-> Don't Send Mouse Row & Column on Button Press
!   \*(Ps = \*1\*0\*0\*1 \(-> Don't Send Mouse Row & Column on Button Press
  .IP \\*(Es\\*([[\\*?\\*(Ps\|\\*r
  Restore DEC Private Mode
    \*(Ps = \*1 \(-> Normal/Application Cursor Keys (DECCKM)
***************
*** 373,379 ****
    \*(Ps = \*4\*6 \(-> Stop/Start Logging
    \*(Ps = \*4\*7 \(-> Use Normal/Alternate Screen Buffer
    \*(Ps = \*1\*0\*0\*0 \(-> Don't Send/Send VT220 Mouse Row & Column on Button Press
!   \*(Ps = \*1\*0\*0\*3 \(-> Don't Send/Send VT220 Hilite Mouse Row & Column on Button Press
  .IP \\*(Es\\*([[\\*?\\*(Ps\|\\*s
  Save DEC Private Mode
    \*(Ps = \*1 \(-> Normal/Application Cursor Keys (DECCKM)
--- 373,379 ----
    \*(Ps = \*4\*6 \(-> Stop/Start Logging
    \*(Ps = \*4\*7 \(-> Use Normal/Alternate Screen Buffer
    \*(Ps = \*1\*0\*0\*0 \(-> Don't Send/Send VT220 Mouse Row & Column on Button Press
!   \*(Ps = \*1\*0\*0\*1 \(-> Don't Send/Send VT220 Hilite Mouse Row & Column on Button Press
  .IP \\*(Es\\*([[\\*?\\*(Ps\|\\*s
  Save DEC Private Mode
    \*(Ps = \*1 \(-> Normal/Application Cursor Keys (DECCKM)
***************
*** 391,397 ****
    \*(Ps = \*4\*6 \(-> Stop/Start Logging
    \*(Ps = \*4\*7 \(-> Use Normal/Alternate Screen Buffer
    \*(Ps = \*1\*0\*0\*0 \(-> Don't Send/Send VT220 Mouse Row & Column on Button Press
!   \*(Ps = \*1\*0\*0\*3 \(-> Don't Send/Send VT220 Hilite Mouse Row & Column on Button Press
  .IP \\*(Es\\*]\\*(Ps\|\\*;\\*(Pt\|\\*(Be
  Set Text Parameters
    \*(Ps = \*0 \(-> Change Icon Name and Window Title to \*(Pt
--- 391,397 ----
    \*(Ps = \*4\*6 \(-> Stop/Start Logging
    \*(Ps = \*4\*7 \(-> Use Normal/Alternate Screen Buffer
    \*(Ps = \*1\*0\*0\*0 \(-> Don't Send/Send VT220 Mouse Row & Column on Button Press
!   \*(Ps = \*1\*0\*0\*1 \(-> Don't Send/Send VT220 Hilite Mouse Row & Column on Button Press
  .IP \\*(Es\\*]\\*(Ps\|\\*;\\*(Pt\|\\*(Be
  Set Text Parameters
    \*(Ps = \*0 \(-> Change Icon Name and Window Title to \*(Pt
***************
*** 398,403 ****
--- 398,404 ----
    \*(Ps = \*1 \(-> Change Icon Name to \*(Pt
    \*(Ps = \*2 \(-> Change Window Title to \*(Pt
    \*(Ps = \*4\*6 \(-> Change Log File to \*(Pt
+   \*(Ps = \*5\*0 \(-> Set Font to \*(Pt
  .IP \\*(Es\\*c
  Full Reset (RIS)
  .IP \\*(Es\\*n