Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: rbj@dsys.ncsl.nist.gov (Root Boy Jim) Newsgroups: comp.sys.sun Subject: tcsh in a shell buffer (help !!) Keywords: Software Message-ID: <212@brazos.Rice.edu> Date: 18 Jul 89 18:04:23 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 30 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 75, message 15 of 15 ? From: eho@word.princeton.edu (Eric Ho) ? 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. You shouldn't be using tcsh as your shell in emacs. You don't need all the emacs keys because you're already in a emacs buffer. And tcsh insists on resetting your terminal to a sane mode anyway, so things like `stty -echo nl' don't work. What you want is (setq explicit-shell-file-name "/bin/csh") (setq shell-file-name "/bin/csh") in your .emacs. The documentation refers to both these variables. You may be able to get away with only setting one, but I set both for safety. Why is this in the Sun group instead of the emacs group? ? Any pointers appreciated. char *foo = "bar"; ? Eric Ho ? Cognitive Science Lab., Princeton University ? voice = 609-987-2819 (x2987) email = eho@confidence.princeton.edu ? eho@bogey.princeton.edu Root Boy Jim Have GNU, Will Travel.