* ansi-term and line mode
@ 2008-04-03 4:18 Chong Yidong
2008-04-03 6:42 ` Dan Nicolaescu
0 siblings, 1 reply; 2+ messages in thread
From: Chong Yidong @ 2008-04-03 4:18 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: emacs-devel
I noticed that ansi-term starts out in char-mode, in which keystrokes
are passed directly to the shell. That's fine, but it can be a bit
confusing to the new user, especially since commands like C-x C-c stop
working.
I recommend adding an echo area message when ansi-term starts up, saying
something like:
"Starting ansi-term in char mode. Type C-c C-j to switch to line mode."
The functions term-line-mode and term-char-mode should also issue
similar messages.
Could you implement this?
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ansi-term and line mode
2008-04-03 4:18 ansi-term and line mode Chong Yidong
@ 2008-04-03 6:42 ` Dan Nicolaescu
0 siblings, 0 replies; 2+ messages in thread
From: Dan Nicolaescu @ 2008-04-03 6:42 UTC (permalink / raw)
To: Chong Yidong; +Cc: emacs-devel
Chong Yidong <cyd@stupidchicken.com> writes:
> I noticed that ansi-term starts out in char-mode, in which keystrokes
> are passed directly to the shell.
Yes, that is absolutely intentional, it is a terminal emulator after
all, that is how it is supposed to work.
> That's fine, but it can be a bit
> confusing to the new user, especially since commands like C-x C-c stop
> working.
>
> I recommend adding an echo area message when ansi-term starts up, saying
> something like:
>
> "Starting ansi-term in char mode. Type C-c C-j to switch to line mode."
The fact that commands don't work it's a bit hard to deal with in the
beginning, but the above message will only cause more confusion. Many
users have absolutely no idea what "line mode" and "character mode" are
(nor do they care).
Better suggestions are welcome.
> The functions term-line-mode and term-char-mode should also issue
> similar messages.
>
> Could you implement this?
I'll put thins on my todo list, but it's nowhere near the top...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-03 6:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-03 4:18 ansi-term and line mode Chong Yidong
2008-04-03 6:42 ` Dan Nicolaescu
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.