[comp.emacs] Shell Buffers

dph@beta.UUCP (David P Huelsbeck) (07/14/87)

Subject: Shell Buffers (CCA EMACS)


When I was at school this spring I used GNU emacs.
Now I've returned to work and I'm using CCA. I'm
not fortunate enough to have a workstation, so 
shell buffers are as close to windowing as I can get
for a while anyway. GNU provides a special emacs
mode for shell buffers that includes functions to
send Ctrl-C's, Ctrl-Z and Ctrl-D's directly to the
shell.  I know that "Ctrl-Q ^C CRLF" will do roughly
the same thing but the GNU shell mode also had other
goodies like a jump to the top of the last command
output.  CCA also puts everything coming from the shell 
through its own "more". I find that very annoying. If
it's in the buffer anyway, why "more" it too?

Does anyone have a GNU style shell mode for CCA Emacs?

Along the same lines but a bit more far fetched...

has anyone ever written a mode that would allow emacs 
to interpret the escape and control sequences sent
from applications that use termcap? A sort of terminal
emulation mode for emacs. From my experience in 
writing extensions to GNU it seems this must be possible.
Has it ever been done?

Please reply by mail:

	arpa: dph@lanl.gov
	uucp: {ihnp4,cmcl2}!lanl!dph

Thanks.


Newsgroups: comp.emacs
Keywords: Special Modes

pac@munsell.UUCP (Paul Czarnecki) (07/15/87)

In article <7447@beta.UUCP> dph@beta.UUCP (David P Huelsbeck) writes:
>CCA also puts everything coming from the shell 
>through its own "more". I find that very annoying. If
>it's in the buffer anyway, why "more" it too?

I believe that Uniworks has changed the way shell buffers work about a
year and half ago.  It is either a buffer now or the 'more' processing
is controlled by an Emacs Variable.  This should be in version 162 or
163 or higher.

I remember when we realized how stupid the more processing was and
chucked it.  Removing this "feature" actually speeded up the shell
window by quite a bit.  (Admittedly, the more processing is great for
novice users.)

I'm sure Uniworks would be glad to sell you an update.  (If you
purchase maintainance you are entitled to an update.)

				- ex "Software Hoarder"
					pZ



-- 
			       Paul Czarnecki -- My newsfeed's in Esperanto
	{{harvard,ll-xn}!adelie,{decvax,allegra,talcott}!encore}!munsell!pz