Newsgroups: gnu.emacs.help Subject: Telnet behaviour (was Re: Shell mode behaviour) References: <9104291037.AA23185@life.ai.mit.edu> Sender: Followup-To: Distribution: Organization: Dartmouth College, Hanover, NH Keywords: In article acevedo@athena.mit.edu (Gabriel) writes: > If running a subshell the output of a shell command is often displayed > with the last line in the middle of the Emacs window. I'd rather like > Emacs to put the shell prompt always at the bottom of the window. >This requires writing an elisp filter function for the shell process. >(I think you also have to set `scroll-step' to 2 or some value that will >work.) Here's the code I wrote up some time ago: I have a similar (I think) question. I'd like the same thing only for when I use M-x telnet. This problem may no longer exist in future emacs versions if you can telnet as a vt100, but now I have to use "generic" for terminal when I telnet -- to read articles on EcoNet/PeaceNet -- and the display's putting the cursor in the middle of the screen messes things up (i.e. a few "C-u C-p C-l" will make things fine -- except you need to move the cursor back to the bottom again before you give any more input!) so you miss the first 1-6 lines of the article. Any suggestions? Harel (Also what are the advantages/disadvantages of using M-x telnet over M-x shell and then "rlogin"? Are there still other alternatives?)