Path: utzoo!attcan!uunet!lll-winken!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!milano!cadillac!Pkg.Mcc.COM!harp From: harp@Pkg.Mcc.COM (Christopher North-Keys) Newsgroups: comp.windows.x Subject: Color Xterm crashes on input to parent csh or tcsh? / termcap. Keywords: color xterm eof bug termcap Message-ID: <1990Sep24.182914@Pkg.Mcc.COM> Date: 24 Sep 90 23:29:14 GMT Sender: news@cadillac.CAD.MCC.COM Reply-To: harp@Pkg.Mcc.COM (Christopher North-Keys) Organization: Group Talisman Lines: 51 Handy termcap trick, change the "so" and "su" as follows for an apparently compatible way to use color in the color version while leaving the monochrome version unmolested: :so=\E[33m\E[5m:se=\E[m:us=\E[36m\E[4m:ue=\E[m: Context: Sun 3/150 SunOS 4.0.3 color Ex 1 }-4.181-> csh Cshrc.v29 aliases interface terra.pkg.mcc.com:0.0 X11R4 session . }-5.12-> ./xterm & [1] 16191 /* hit return after new window appears */ }-5.13-> Reset tty pgrp from 16192 to 16188 [1] Done ./xterm }-5.13-> Ex 2 }-4.182-> tcsh Cshrc.v29 aliases interface terra.pkg.mcc.com:0.0 X11R4 session . }-5.13-> ./xterm & [1] 16202 /* striking return in parent crashes child */ }-5.14-> GetNextChar(): just saw end of file, errno == 5 Reset tty pgrp from 16207 to 16199 }-5.14-> [1] Done ./xterm }-5.14-> This same effect was noted upon typing control-d into the color xterm window directly. Ex 3 }-5.14-> < /dev/null ./xterm & [1] 16214 }-5.15-> /* striking return now does *not* crash child */ }-5.15-> }-5.15-> The standard Xterm does not have this problem. This difference prevents my substitution of the color version for the monochrome version (despite its being very spiffy). Anyone know how to fix it (or even what's wrong)? -- ______________________________________________________________________________ Christopher Alex.North-Keys Associate Systems Analyst Group Talisman Harp[@Mcc.Com] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~