[comp.windows.x] Strange screen garbage with R4 and gwm XTERM ESCAPES NEED ;

harp@cadillac.CAD.MCC.COM (Christopher North-Keys) (01/11/90)

The X11R4 xterm seems to require ";"s in the following typical aliases, where
the X11R3 xterms did not.  The X11R3 xterms, do however, seem to understand the
now-required sequences:

HOSTNICK=machinename
HOMETOKEN=~
alias cwd       'echo $cwd | sed s+\^${HOME}+${HOMETOKEN}+g'
alias .         'header [-${HOSTNICK}- `cwd` ] ; iheader $cwd:t'
alias header    'echo -n "$esc]2;\!*$bel"'
alias iheader   'echo -n "$esc]1;\!*$bel"'
alias icon      'echo -n "$esc]I;\!*$bel"'	# not verified
alias c         'cd \!* ; .'	# Don't alias this to "cd"---bad.

-- 
------------------------------------/\----------------------------------------
Seo:  Harp[@Mcc.Com]               /  \/\ ^*^           Christopher North-Keys
Tha mi gu trang a'cluich.         /    \ \          Systems Administrator, MCC
------------------------------------------------------------------------------

jim@EXPO.LCS.MIT.EDU (Jim Fulton) (01/11/90)

	The X11R4 xterm seems to require ";"s in the following typical aliases

Yup.  The R3 behavior was a bug that someone requested we fix.

madd@world.std.com (jim frost) (01/12/90)

jim@EXPO.LCS.MIT.EDU (Jim Fulton) writes:
>	The X11R4 xterm seems to require ";"s in the following typical aliases
>Yup.  The R3 behavior was a bug that someone requested we fix.

The "bug" was nice in that it worked under both SunView and X, making
for a simple way to use the same (trivial) program or alias for both.
Oh well.

jim frost
saber software
jimf@saber.com