Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

what is the difference between terminal mode and term mode?

0 views
Skip to first unread message

Matthew Zhou

unread,
Mar 22, 2007, 6:11:13 PM3/22/07
to
What is the difference between terminal mode set up by M-x
terminal-emulator and term mode set up by M-x term ?

steve gonedes

unread,
Apr 25, 2021, 11:29:28 AM4/25/21
to
Matthew Zhou <zhouy...@gmail.com> writes:

> What is the difference between terminal mode set up by M-x
> terminal-emulator and term mode set up by M-x term ?

From what I can understand. The term.el is for running a program that uses
raw escape codes within emacs. Try running bash wit M-x term.

There is also ansi-term. I think the basic idea was to define attributes
(underline, bold, dim, etc) and colors in a sane way, without using
terminfo.

You should set the environment to the correct terminal settings with
tputs, or start emacs like: TERM=eterm-color emacs

You will need to have the eterm-color terminfo description installed.
Using tic this is simple (that means thank you for tic).

the information is mostly set for termcap, but tic will convert termcap
into terminfo and sorts out the coloring. The information is in the etc/
check.

Great question for sure. anyone else chime in please...
0 new messages