Questions tagged [term]

is for the Emacs text terminal emulator, which by default runs in a sub-shell in a buffer named `*terminal*` with `term-mode`. `M-x term` command starts a terminal.

Filter by
Sorted by
Tagged with
2
votes
1answer
549 views

Term buffer font-size

I am trying to make term buffer to use slightly smaller font than of the rest of Emacs. I was able to quickly find that for that I need to customize term face. I changed the font size, and indeed ...
2
votes
1answer
388 views

Strange behavior when killling text in term/multi-term [duplicate]

multi-term is my current goto when I want a command line in Emacs. However, I have noticed a strange behavior, and I am not sure whether it is a bug, or if it can be configured. If I type a command ...
2
votes
1answer
580 views

In term-mode how can I make line-mode the default

Got line-mode to work as for this: in term-mode, how do I run regular emacs commands? Now how do I make it the default ?
3
votes
2answers
220 views

Emacs term loses characters when using ps and grep

I'm trying to use different terminals on Emacs. The one I'm currently trying is term. When I execute a ps command and grep its output on Emacs, I don't get the same result as in gnome-terminal, xterm,...
4
votes
1answer
605 views

mutt (and others) in ansi-term - terrible refresh rate

I'm trying to run mutt in ansi-term in the GUI on OS X. The refresh rate is really slow for some reason, so when I try to navigate between emails the result is pretty much unreadable. Has anyone found ...
1
vote
1answer
231 views

Extra output after every command running zsh in terminal

When running a command in the *terminal* in emacs, I always have the command I executed repeated twice with some extra text before the output of the command. For instance: $ echo "test" 2;echo1;...
3
votes
3answers
129 views

Reading info files without knowing their path

If I'm in a terminal, I can just type info glibc and get info about glibc. Since emacs reads info files, it's silly to use M-x term to read info files from within emacs. I know you can use C-u C-h i ...
2
votes
0answers
291 views

How to make ansi-term output read only?

When using ansi-term in line mode emacs lets you edit the buffer arbitrarily, not just after the last prompt. I'm trying to make it read only so I stop fudging with command output. The problem is all ...
0
votes
2answers
423 views

Extended Cursor Movement in terminal emulator (CHA and others)

Is there a way to get the Emacs terminal emulator to support cursor movement escape sequences beyond its vt100 features? A specific example is CHA (Cursor-Character-Absolute), e.g. ESC[0G should move ...
0
votes
3answers
435 views

multi-term terminal messages configurations not working as expected

I'm trying to follow this article and configure my multi-term to work with remote files seamlessly. Edit: That article seems to be down currently. Try the cached version here. But it's not working as ...
11
votes
1answer
2k views

in term-mode, how do I run regular emacs commands?

Upon starting term-mode, Emacs delegates all keypresses to the terminal you're running. That's great for compatibility purposes, but leaves Emacs functionality behind. How do I get back to Emacs ...
12
votes
1answer
1k views

Automatically update default-directory when PWD changes in shell-mode and term-mode

Are there any options or packages which cause default-directory to be updated if the working directory changes in shell-mode and term-mode? I.e. when using cd, but the solution would have to be more ...
1
vote
1answer
152 views

Where is this cruft coming from in shell-mode and term-mode?

tcsh$ cd ~ ^[]0;sallred@calamity:/home/sallred^G tcsh$ cd bin ^[]0;sallred@calamity:/home/sallred/bin^G tcsh$ What is this cruft that is appearing before my prompt (or perhaps more appropriately, ...
2
votes
1answer
184 views

Is it possible to alias an internal command?

Since I discovered multi-term, I use it exclusively over term or eshell. But, I'm lazy and would prefer to be able to simply type term to activate multi-term. Is this possible?
6
votes
1answer
277 views

Problem with line number limit in linum-mode

I am using the term of Emacs to compile some code, with linum-mode enabled to display the line numbers for the terminal, and the line numbers stop increasing as soon as they reach 2049. If I write ...
5
votes
1answer
265 views

Difference between shell and term [duplicate]

I would like to understand what is the difference between M-x shell and M-x term? Also under which circumstances should be used the first and under which the second?
5
votes
3answers
762 views

How to open and rename several multi-term buffers on start-up?

After each reboot, I have to painfully re-create and rename the multi-term buffers I use in my daily routine. I am completely new to Lisp, but nonetheless, I searched for similar problem on the web ...
2
votes
1answer
270 views

Make comint-mode behave more like term-mode

I am constantly getting frustrated with the GDB comint-mode buffer when using GUD. Somehow my cursor always ends up straying from the bottom of the buffer, and then my input is not interpreted how I ...
8
votes
2answers
1k views

How to override keybindings for `term`

For some tasks like using ruby's pry and tmux both eshell and shell do not behave well. I tried to use term, but my innability to override the keybindings in term makes its use annoying. How can I ...
25
votes
1answer
607 views

What are all the ways of launching a shell from inside emacs and what are their various properties?

I know of at least four possibilities: eshell term ansi-term shell What's the complete list of tools built-in to emacs to launch a shell, and what benefits and drawbacks do they offer?