* Terminal is not fully functional: from Shell of Emacs
@ 2009-09-23 15:53 July
2009-09-23 16:16 ` Teemu Likonen
` (4 more replies)
0 siblings, 5 replies; 14+ messages in thread
From: July @ 2009-09-23 15:53 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
I have some trouble with the Terminal from Emacs, when I try do simply
man ls,
The shell of Emacs gives me,
WARNING: terminal is not fully functional
This is quite disturbing. Anyone knows how to get out of this warning plz?
Thanks.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Terminal is not fully functional: from Shell of Emacs
2009-09-23 15:53 Terminal is not fully functional: from Shell of Emacs July
@ 2009-09-23 16:16 ` Teemu Likonen
2009-09-23 16:50 ` July
2009-09-23 18:33 ` despen
` (3 subsequent siblings)
4 siblings, 1 reply; 14+ messages in thread
From: Teemu Likonen @ 2009-09-23 16:16 UTC (permalink / raw)
To: help-gnu-emacs
On 2009-09-23 17:53 (+0200), July wrote:
> I have some trouble with the Terminal from Emacs, when I try do simply
> man ls,
>
> The shell of Emacs gives me,
> WARNING: terminal is not fully functional
>
> This is quite disturbing. Anyone knows how to get out of this warning
> plz?
By "the shell of Emacs" do you mean "M-x shell" command? If so, the
warning is correct, "M-x shell" is not terminal at all, it's a kind of
repeated shell command prompt. If you need a terminal inside Emacs use
"M-x term".
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Terminal is not fully functional: from Shell of Emacs
2009-09-23 16:16 ` Teemu Likonen
@ 2009-09-23 16:50 ` July
2009-09-23 20:20 ` Colin S. Miller
` (2 more replies)
0 siblings, 3 replies; 14+ messages in thread
From: July @ 2009-09-23 16:50 UTC (permalink / raw)
To: help-gnu-emacs
> By "the shell of Emacs" do you mean "M-x shell" command? If so, the
> warning is correct, "M-x shell" is not terminal at all, it's a kind of
> repeated shell command prompt. If you need a terminal inside Emacs use
> "M-x term".
You are totally right. Thanks a lot.
How ever, another question plz.
There are 3 shells now for emacs
shell (activated by esc-x shell)
term
eshell
what are their difference? Which one you recommand?
Apparently, shell has some worry with man, esp. i don't like shell
because under shell, if you tape, "echo $Term" it gives
TERM = dumb,
if I understand well, dumb means stupid in English, so shell is actually
laught at the user...
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Terminal is not fully functional: from Shell of Emacs
2009-09-23 15:53 Terminal is not fully functional: from Shell of Emacs July
2009-09-23 16:16 ` Teemu Likonen
@ 2009-09-23 18:33 ` despen
2009-09-24 9:55 ` Tim X
` (2 subsequent siblings)
4 siblings, 0 replies; 14+ messages in thread
From: despen @ 2009-09-23 18:33 UTC (permalink / raw)
To: help-gnu-emacs
July <zell08v@orange.fr> writes:
> Hello,
>
> I have some trouble with the Terminal from Emacs, when I try do simply
> man ls,
>
> The shell of Emacs gives me,
> WARNING: terminal is not fully functional
>
> This is quite disturbing. Anyone knows how to get out of this warning plz?
As others have said, M-x term is more functional.
BUT
to read man pages while in Emacs, type M-x man <ret>
and then the name of the man page.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Terminal is not fully functional: from Shell of Emacs
2009-09-23 16:50 ` July
@ 2009-09-23 20:20 ` Colin S. Miller
2009-09-24 8:44 ` Peter Dyballa
2009-09-24 10:07 ` Tim X
2 siblings, 0 replies; 14+ messages in thread
From: Colin S. Miller @ 2009-09-23 20:20 UTC (permalink / raw)
To: help-gnu-emacs
July wrote:
>
>
> Apparently, shell has some worry with man, esp. i don't like shell
> because under shell, if you tape, "echo $Term" it gives
> TERM = dumb,
>
> if I understand well, dumb means stupid in English, so shell is actually
> laught at the user...
"Dumb" here means that the terminal does not support cursor-movement
commands. These allow the program running in the shell to draw
characters at arbitrary locations on the screen, and is used to
create TUI interfaces, see http://en.wikipedia.org/wiki/Text_user_interface.
HTH,
Colin S. Miller
--
Replace the obvious in my email address with the first three letters of the hostname to reply.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Terminal is not fully functional: from Shell of Emacs
2009-09-23 16:50 ` July
2009-09-23 20:20 ` Colin S. Miller
@ 2009-09-24 8:44 ` Peter Dyballa
2009-09-24 10:07 ` Tim X
2 siblings, 0 replies; 14+ messages in thread
From: Peter Dyballa @ 2009-09-24 8:44 UTC (permalink / raw)
To: July; +Cc: help-gnu-emacs
Am 23.09.2009 um 18:50 schrieb July:
> Apparently, shell has some worry with man,
GNU Emacs provides the commands manual-entry and woman. You don't
have to invoke man on the command line. So the *shell* buffer is just
fine and preferred over the others.
--
Greetings
Pete
There's no sense in being precise when you don't even know what
you're talking about.
– John von Neumann
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Terminal is not fully functional: from Shell of Emacs
2009-09-23 15:53 Terminal is not fully functional: from Shell of Emacs July
2009-09-23 16:16 ` Teemu Likonen
2009-09-23 18:33 ` despen
@ 2009-09-24 9:55 ` Tim X
2009-09-24 11:12 ` Andreas Politz
[not found] ` <mailman.7407.1253790784.2239.help-gnu-emacs@gnu.org>
4 siblings, 0 replies; 14+ messages in thread
From: Tim X @ 2009-09-24 9:55 UTC (permalink / raw)
To: help-gnu-emacs
July <zell08v@orange.fr> writes:
> Hello,
>
> I have some trouble with the Terminal from Emacs, when I try do simply
> man ls,
>
> The shell of Emacs gives me,
> WARNING: terminal is not fully functional
>
> This is quite disturbing. Anyone knows how to get out of this warning plz?
>
If you are talking about shell-mode, your partially out of luck. Shell
mode is a simple command line shell that lacks the full functionality of
a normal terminal shell - its more a 'dum' terminal and does not support
things like ANSI escape characters that are used to do terminal I/O for
programs such as those based on curses etc.. Essentially, it is the wrong tool.
You can try M-x term and you will get a more ansi equivalent
terminal. However, for browsing man pages, you are much better off using
either M-x man or M-x woman.
If M-x term still doesn't work, check out the emacs references. There is
a terminfo file provided in the /etc directory of the emacs distribution
whihc you can setup on your system to get full terminal support.
Tim
--
tcross (at) rapttech dot com dot au
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Terminal is not fully functional: from Shell of Emacs
2009-09-23 16:50 ` July
2009-09-23 20:20 ` Colin S. Miller
2009-09-24 8:44 ` Peter Dyballa
@ 2009-09-24 10:07 ` Tim X
2009-09-24 16:25 ` Jean Magnan de Bornier
2 siblings, 1 reply; 14+ messages in thread
From: Tim X @ 2009-09-24 10:07 UTC (permalink / raw)
To: help-gnu-emacs
July <zell08v@orange.fr> writes:
>> By "the shell of Emacs" do you mean "M-x shell" command? If so, the
>> warning is correct, "M-x shell" is not terminal at all, it's a kind of
>> repeated shell command prompt. If you need a terminal inside Emacs use
>> "M-x term".
>
> You are totally right. Thanks a lot.
>
> How ever, another question plz.
>
> There are 3 shells now for emacs
> shell (activated by esc-x shell)
> term
> eshell
>
> what are their difference? Which one you recommand?
>
Emacs has had these three 'shell' environments since emacs 21 (two of
them were in emacs 20 as well).
Like many things in emacs, the answer to the question "Which is the best
to use" depends on what it is you want to do. There is no one answer to
this question.
M-x shell is great if you just want to execute simple commands at a
shell prompt, especially commands that do not require 'advanced' I/O
such as screen formatting or addressing different locations on the
screen.
M-x term provides a more sophisticated shell terminal that does support
advanced I/O. However, it can be a bit slower than M-x shell and has
some slightly different key bindings, such as character mode an dline
mode. This is the shell to use if you wanted to run something like lynx
or mutt etc.
M-x eshell is a shell written in emacs lisp. This is a very powerful
shell if you know emacs lisp as you can write small bits of elisp and
have them evaluated by the shell. However, it has som elimitations - for
example, it doesn't handle redirection as well as normal shells and can
give some unusual/unexpected results if you run something like a bash
script that relies on redirection and piping of output/input
etc. Despite these weaknesses, it can be a great little shell to hack
around in because you get the power of elisp and you can write new
eshell funcions easily (if you know elisp).
I tend to use M-x shell and M-x eshell. However, I also tend to use
built-in emacs facilities over running some other program in an emacs
terminal. for example, using M-x man/M-x woman to browse man pages,
using perldoc mode to work with perl PODs, usiing a native emacs mail
reader rather than mutt, using M-x procd to examine processes rather
than top etc
Tim
--
tcross (at) rapttech dot com dot au
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Terminal is not fully functional: from Shell of Emacs
2009-09-23 15:53 Terminal is not fully functional: from Shell of Emacs July
` (2 preceding siblings ...)
2009-09-24 9:55 ` Tim X
@ 2009-09-24 11:12 ` Andreas Politz
2009-09-26 15:16 ` Sean Sieger
[not found] ` <mailman.7407.1253790784.2239.help-gnu-emacs@gnu.org>
4 siblings, 1 reply; 14+ messages in thread
From: Andreas Politz @ 2009-09-24 11:12 UTC (permalink / raw)
To: help-gnu-emacs
July <zell08v@orange.fr> writes:
> Hello,
>
> I have some trouble with the Terminal from Emacs, when I try do simply
> man ls,
>
> The shell of Emacs gives me,
> WARNING: terminal is not fully functional
>
> This is quite disturbing. Anyone knows how to get out of this warning plz?
>
> Thanks.
export PAGER=cat
-ap
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Terminal is not fully functional: from Shell of Emacs
2009-09-24 10:07 ` Tim X
@ 2009-09-24 16:25 ` Jean Magnan de Bornier
2009-09-25 21:57 ` jpkotta
0 siblings, 1 reply; 14+ messages in thread
From: Jean Magnan de Bornier @ 2009-09-24 16:25 UTC (permalink / raw)
To: help-gnu-emacs
Tim X <timx@nospam.dev.null> wrote :
| July <zell08v@orange.fr> writes:
>
| >> By "the shell of Emacs" do you mean "M-x shell" command? If so, the
| >> warning is correct, "M-x shell" is not terminal at all, it's a kind of
| >> repeated shell command prompt. If you need a terminal inside Emacs use
| >> "M-x term".
| >
| > You are totally right. Thanks a lot.
| >
| > How ever, another question plz.
| >
| > There are 3 shells now for emacs
| > shell (activated by esc-x shell)
| > term
| > eshell
| >
| > what are their difference? Which one you recommand?
| >
Well, there is M-x ansi-term too; I don't know in what respect it is
different from term, but I have always preferred it to others since I gave
it a try.
bye
--
Jean
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Terminal is not fully functional: from Shell of Emacs
2009-09-24 16:25 ` Jean Magnan de Bornier
@ 2009-09-25 21:57 ` jpkotta
0 siblings, 0 replies; 14+ messages in thread
From: jpkotta @ 2009-09-25 21:57 UTC (permalink / raw)
To: help-gnu-emacs
On Sep 24, 11:25 am, Jean Magnan de Bornier <j...@bornier.net> wrote:
> Tim X <t...@nospam.dev.null> wrote :
>
> | July <zell...@orange.fr> writes:
>
> | >> By "the shell of Emacs" do you mean "M-x shell" command? If so, the
> | >> warning is correct, "M-x shell" is not terminal at all, it's a kind of
> | >> repeated shell command prompt. If you need a terminal inside Emacs use
> | >> "M-x term".
> | >
> | > You are totally right. Thanks a lot.
> | >
> | > How ever, another question plz.
> | >
> | > There are 3 shells now for emacs
> | > shell (activated by esc-x shell)
> | > term
> | > eshell
> | >
> | > what are their difference? Which one you recommand?
> | >
>
> Well, there is M-x ansi-term too; I don't know in what respect it is
> different from term, but I have always preferred it to others since I gave
> it a try.
>
> bye
> --
> Jean
I really like multi-term (http://www.emacswiki.org/emacs/MultiTerm).
It's just a simple layer on top of term-mode, but makes it much more
usable IMHO.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Terminal is not fully functional: from Shell of Emacs
2009-09-24 11:12 ` Andreas Politz
@ 2009-09-26 15:16 ` Sean Sieger
2009-09-26 16:10 ` Peter Dyballa
0 siblings, 1 reply; 14+ messages in thread
From: Sean Sieger @ 2009-09-26 15:16 UTC (permalink / raw)
To: help-gnu-emacs
Andreas Politz <politza@fh-trier.de> writes:
export PAGER=cat
Thanks, Andreas. What does this do, beside rid one of the warning?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Terminal is not fully functional: from Shell of Emacs
2009-09-26 15:16 ` Sean Sieger
@ 2009-09-26 16:10 ` Peter Dyballa
0 siblings, 0 replies; 14+ messages in thread
From: Peter Dyballa @ 2009-09-26 16:10 UTC (permalink / raw)
To: Sean Sieger; +Cc: help-gnu-emacs
Am 26.09.2009 um 17:16 schrieb Sean Sieger:
> Andreas Politz writes:
>
> export PAGER=cat
>
> Thanks, Andreas. What does this do, beside rid one of the warning?
>
It makes man's output a continuous stream (like 'cat <file>') and you
would have to scroll page-wise...
--
Greetings
Pete
_o o o o
_<< \\_/\_, \\_ \\_/\_,
(*)/(*) (*) (*) (*) `- (*)
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Terminal is not fully functional: from Shell of Emacs
[not found] ` <mailman.7407.1253790784.2239.help-gnu-emacs@gnu.org>
@ 2014-08-21 12:33 ` yrdeboer
0 siblings, 0 replies; 14+ messages in thread
From: yrdeboer @ 2014-08-21 12:33 UTC (permalink / raw)
To: help-gnu-emacs
Thank you Andreas, perfect, this is exactly what (I think) the poster wanted. Now the shell will just spit all it has to say (git, man) to the buffer and the user can then scroll through the text using the emacs buffer navigation :)
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2014-08-21 12:33 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-23 15:53 Terminal is not fully functional: from Shell of Emacs July
2009-09-23 16:16 ` Teemu Likonen
2009-09-23 16:50 ` July
2009-09-23 20:20 ` Colin S. Miller
2009-09-24 8:44 ` Peter Dyballa
2009-09-24 10:07 ` Tim X
2009-09-24 16:25 ` Jean Magnan de Bornier
2009-09-25 21:57 ` jpkotta
2009-09-23 18:33 ` despen
2009-09-24 9:55 ` Tim X
2009-09-24 11:12 ` Andreas Politz
2009-09-26 15:16 ` Sean Sieger
2009-09-26 16:10 ` Peter Dyballa
[not found] ` <mailman.7407.1253790784.2239.help-gnu-emacs@gnu.org>
2014-08-21 12:33 ` yrdeboer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).