Questions tagged [ansi-term]

34 questions
2
votes
1 answer

clickable overlay in ansi-term

I am the author of the julia-repl package, which runs an inferior Julia REPL inside ansi-term. A full terminal is necessary because of color and terminal interactions. I need some help extending this to make error locations "clickable". Julia error…
Tamas Papp
  • 43
  • 3
2
votes
2 answers

Change font color in Emacs ansi-term mode

I am using Emacs 24.5.1 In ansi-term mode, the font color of folder is quite unreadable (I am wearing a pair of anti-blue light glasses), well, I hope to get rid of this color, because of the same reason. (Blue color is almost invisible through the…
Cico
  • 50
  • 7
2
votes
0 answers

Htop in emacs' ansi-term won't resize

I am trying to run htop in ansi-term in a graphical (X session) emacs, and htop won't resize. Whatever size the window/frame is when I start htop is the size it continues to try rendering at forever. Things I've tried: Running ansi-term on htop…
Joseph Garvin
  • 20,727
  • 18
  • 94
  • 165
2
votes
1 answer

Emacs 24.4 and multi-term

I read the following on the Emacs list about Emacs multi-term: Because of changes in advice.el, multi-term.el does not work anymore. These changes surely mark the emerge into a bright future. But I hate them because I can no longer use my beloved…
Amelio Vazquez-Reina
  • 91,494
  • 132
  • 359
  • 564
2
votes
2 answers

ansi-term won't find file under current directory?

It's a very strange problem. I think it must caused my incorrect configuration of ansi-term, but i still can't find out where it is. The issue is: when i in ansi-term and press M-x find-file, the prompt isn't current directory but the path i entered…
Frank Cheng
  • 5,928
  • 9
  • 52
  • 80
2
votes
3 answers

Emacs: some programs only work in ansi-term, some programs only work in shell

Relative Emacs newbie here, just trying to adapt my programming workflow to fit with emacs. So far I've discovered shell-pop and I'm quite enjoying on-demand terminals that pop up when needed for banging out the odd commands. What I understand so…
robru
  • 2,313
  • 2
  • 29
  • 38
1
vote
0 answers

How can I get a WSL window with full colour support in Windows GUI Emacs?

How can I get WSL to run in a window on Windows GUI Emacs? The only way I can do it so far is to enter a subshell in either emacs shell or term cmd by entering the wsl command, and even then, there is no background ANSI coloring, though the…
rzjnzk
  • 130
  • 2
  • 9
1
vote
0 answers

How to get GHCi running correctly within ansi-term window in Emacs?

For some reason, I'm loosing the up-arrow and DEL keys after launching GHCi from within an ansi-term window in Emacs. (These keys work as expected from within the ansi-term window, before launching GHCi.) And RET doesn't produce a line feed, just a…
dbanas
  • 1,707
  • 14
  • 24
1
vote
1 answer

Issues accessing Node.js command history in Emacs ansi-term

I would like to run Node (or Nodejs) interpreter in an Emacs ansi-term buffer. I found this problem: I can not access the common readline command history through ArrowUp and ArrowDown. When I press ArrowUp and ArrowDown, instead of the expected…
Nicola Mingotti
  • 860
  • 6
  • 15
1
vote
1 answer

In emacs, what is the best way to run an external program in another window that can be closed by a single key command after executing program exits?

I have some elisp that runs an external 'npm' command. (defun npm-mode-npm-run () "Run the 'npm run' command on a project script." (interactive) (let ((command (completing-read "Run command: "…
Allen Gooch
  • 403
  • 1
  • 3
  • 13
1
vote
2 answers

Send EOF (^D) to emacs ansi-term

When I use ansi-term mode in Emacs, and run a program such as cat, ^D does not end the input like it normally does. If fact, it doesn't seem to do anything at all. ^C still works. I have Evil installed
Functino
  • 1,939
  • 17
  • 25
1
vote
2 answers

Emacs 24.3 on OS X ansi-term no colors

I have Emacs 24.3 installed using homebrew (installed it with --cocoa and --srgb). Whenever I launch the emacs.app, and then launch ansi-term, it has no colors. However, when I do emacs -q and launch the app, ansi-term has colors. So I thought that…
Nico
  • 3,471
  • 2
  • 29
  • 40
1
vote
1 answer

Solarized color scheme and palette distorts for ssh'd users in iTerm2

My setup includes vim, iTerm2, tmux, and the solarized dark color scheme. I have the dark solarized color palette loaded into iTerm2 (modifies the ansi colors) and do not use the degraded solarized color scheme (i.e., let…
Eric M.
  • 5,399
  • 6
  • 41
  • 67
0
votes
1 answer

Where to find emacs ansi-term bindings

I use extensively emacs' shell ansi-term but so far the way I discover the associated binding is by accidentally pressing keys, making something happening. Do you know where I can find all the binding refering to ansi-term (or more generally, to a…
wizmer
  • 881
  • 1
  • 8
  • 23
0
votes
1 answer

Emacs: Opening a file within the same Emacs session from a tmux session in ansi-term

I often come across the situation where I want to open a file that I am viewing from my tmux session in ansi-term into my Emacs session. I tried to use find-file-at-point (see Max Bozzi's answer below), but in tmux it only directs me to the working…
modulitos
  • 14,737
  • 16
  • 67
  • 110