Questions tagged [ansi-term]
34 questions
0
votes
0 answers
Customized command-line prompt not working with ansi-term
I've been using Emacs's ansi-term for a while, and it's usually worked, more or less. Recently, though, ansi-term has started interpreting the characters on the right side of my terminal as part of the commands I type. Here is the code for my prompt…

Patrick Brinich-Langlois
- 1,381
- 1
- 15
- 29
0
votes
1 answer
Emacs: how to load an ansi-term buffer at startup?
I have figured how to close the scratch buffer and the GNU Emacs buffer, and I would now like to have a terminal started automatically within emacs, instead of having to type manually M-x ansi-term. I saw a couple posts explaining how to load a file…

Abdallah
- 335
- 1
- 7
0
votes
1 answer
Controlling the background color of buffer and text in ansi-term in Emacs 24.x
I am running Emacs 24.1. On my .emacs start file I have the following line:
(load-theme 'tango-dark t)
However, when I run an ansi-term terminal, the background colors don't work well:
What's interesting is that for…

Amelio Vazquez-Reina
- 91,494
- 132
- 359
- 564
-2
votes
2 answers
Custom command line editor in Linux
I would like to invoke my own command line editor in bash or zsh when Alt+Enter is being pressed. It should do some editing and submit result to the shell on Enter. So basically my editor takes current command line content and returns a modified…

Dmitry Nogin
- 3,670
- 1
- 19
- 35