Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: eho@word.princeton.edu (Eric Ho) Newsgroups: comp.sys.sun Subject: tcsh in a shell buffer (help !!) Keywords: Software Message-ID: <94@brazos.Rice.edu> Date: 10 Jul 89 23:45:18 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 20 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 68, message 19 of 22 Does anyone know how to make tcsh processes output sensibly ? I'm getting all these extra ^M's at the end of lines in the shell buffer in Emacs. I'm running GNU Emacs 18.54 on my Sun-4/110M-16 under OS 4.0.1 (Generic kernel) and I got my copy of tcsh from uunet.uu.net about a month ago (tcsh.sun4os4 -- a ready-to-go tcsh binary). Someone told me to put 'stty nl -echo' in my .emacs_csh or .emacs_tcsh file but that still won't help. These extra ^M's are really a drag !! It doesn't seem to matter what kind of shell buffer I'm firing up -- doing 'm-x shell' or 'm-x cmushell' both give me the extra ^M's. It isn't an Emacs problem per se since it works fine if I'm uisng sh or csh as my default shell, so ... Any pointers appreciated. Eric Ho Cognitive Science Lab., Princeton University voice = 609-987-2819 (x2987) email = eho@confidence.princeton.edu eho@bogey.princeton.edu regards. eric