Thanks!
Dominick Samperi
Citicorp
uunet!ccorp!samperi
--
Dominick Samperi -- ESCC
sam...@marob.masa.com
uunet!hombre!samperi
There is still no such document for the X 11 xterm, but one afternoon
I figured out some Tektronix/VT switch sequences by rooting through
the sources, and you're more than welcome to what I found. The tables
used for parsing escape sequences are pretty hairy, so I may have just
lucked onto the ones I found, but they do work.
This escape sequence flips to the Tektronix window from VT102 mode:
<ESC>[?38h
where <ESC> is the normal escape character (ASCII 27) and the rest of
the characters are literal, for a total of 6 characters.
This escape sequence moves the cursor back to the VT102 window from
the Tek window:
<ESC><CTRL-C>
(where <CTRL-C> is ASCII 3), for a total of 2 characters.
For example, I use the following C-shell aliases to move between the
Tek and VT100 windows interactively. The funkiness with the TR
command is just so I don't imbed non-printable characters in my
.cshrc.
alias seltek 'echo -n "E[?38h" | tr E \\033' # xterm Tek window
alias selvt 'echo -n "EC" | tr EC \\033\\003' # xterm VT102 window
Here's hoping this helps,
Mic Kaczmarczik
--
Mic Kaczmarczik Internet: m...@emx.utexas.edu
Unix/VMS Services BITNET: MIC@UTAIVC
UT Austin Computation Center THEnet: UTAIVC::MIC
Don't worry about life, son. It ain't nohow permanent. -- Walt Kelly