help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is easy to get hung in infinite ^G stream; how to stop it?


From: Kai Grossjohann
Subject: Re: is easy to get hung in infinite ^G stream; how to stop it?
Date: Sun, 25 Apr 2004 19:06:02 +0200
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (gnu/linux)

dkcombs@panix.com (David Combs) writes:

> Want to see something funny?
>
> (Ok, not so funny, then.)
>
> Within *shell*, do "man <something>".

One way to proceed is to set $PAGER to cat in Emacs shells.

(Warning: Shameless plug follows.)

Another is to use shell-integration.el which I wrote where typing "man
foo" in a *shell* buffer does like M-x man.

However, shell-integration.el doesn't really work: the commands
executed by Emacs will not be entered into the shell history and thus
cannot be recalled with "!-2" or somesuch.

(End of shameless plug.)

Another is to use M-x eshell RET instead of M-x shell RET so that "man
foo" does like M-x man RET foo RET.

Yet another way is to use M-x term RET instead of M-x shell RET.

Kai





reply via email to

[Prev in Thread] Current Thread [Next in Thread]