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.

23 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
222 views

Rename buffer in Ibuffer

A buffer can be renamed with rename-buffer command. Is it possible to rename buffers from IBuffer? A use case is to rename a bunch of Term buffers from Ibuffer. The default name for Term buffers is *...
4
votes
1answer
250 views

(How) can I emulate {eshell,comint}-output-filter-functions in term?

What I want to do from inside a term shell is have a function called when there is new output or a certain regexp (e.g. a prompt) appears in in a term's output. The callback function should then be ...
4
votes
0answers
560 views

FZF broken displaying in emacs terminal

I'm struggling to run fzf in emacs but cannot figure out whats my problem. When I run fzf - and start typing - text gets mess up, similar to this: I tried run fzf in term, eshell, ansi-term, multi-...
3
votes
0answers
95 views

Switch between term and shell keeping directory

I am a beginner user of emacs so please answer being aware of this. I use dired to connect to a remote computer and navigate directories. I sometimes want to go to a shell or terminal on the remote ...
3
votes
0answers
542 views

Terminal Buffer: error in process filter: Invalid face: unspecified

On Fedora 25 with GNU Emacs 25.1.90 (which I am running via an AppImage, you can download it from here and test out your theories as to what's wrong if you would like, remember AppImages will only ...
2
votes
0answers
161 views

ANSI TERM via `M-x TERM`: How to change line highlighting color?

How do you change the line-highlighting color in an ANSI-TERM?: I am using PDB++'s sticky mode for Python debugging. This is how to appears on a regular terminal (lubuntu 17.04): Notice the word ...
2
votes
0answers
352 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 ...
1
vote
0answers
48 views

Truncation of text in Emacs terminal emulators

When I log in to the cluster using shell or eshell, I get the following message: 2018-04-11: The MEM1024 node is now back in the queue. The hardware had to be completely replaced, which means there ...
1
vote
0answers
260 views

Multi-term issue with line wrapping for shell but not applications

I use multi-term within spacemacs for most of my command-line operations. It works well except some annoying behavior in the shell prompt (zsh but similar for bash) on commands which go over the ...
1
vote
0answers
308 views

Powerline rendering in EMACS

The rendering of term command in emacs runs my zsh shell but doesn't render it properly. Can anyone direct me to a fix? This is how it should look:
1
vote
0answers
390 views

ansi-term changes in line-mode not registered after char-mode

Here's the situation. I start M-x ansi-term, which launches it in term-char-mode. I type the following: echo "hello world" and press RET, which outputs on the next line the expected output hello ...
1
vote
1answer
1k views

ncurses-like based applications won't work in emacs terminals

No *curses applications (like top, htop, Linux kernel's make menuconfig and others) will work under emacs' different terms. However, the only one which seems to work is git add -i It behaves the same ...
0
votes
0answers
20 views

How do I stop a process with Ctrl-C in Term?

I'm very new to Emacs. I've opened a terminal with M-x term, and started a server running on localhost. It says Press CTRL+c to quit. However, Ctrl-C appears to be mapped to Emacs commands. How can I ...
0
votes
0answers
17 views

Where does emacs load it's terminal profile from?

I'd like to call Brew from within emacs (I'm on MacOS). in iTerm, which brew returns /usr/local/bin/brew. I added export PATH="/usr/local/bin:$PATH" to my .zprofile (running zsh), and rebooted Emacs. ...
0
votes
0answers
48 views

Send command to run in eshell, after compiled

So I've been mapping my M-x compile like this, according to c-mode-hook or c++-mode-hook: (add-hook 'c++-mode-hook (lambda () (set (make-local-variable 'compile-command) ...
0
votes
0answers
44 views

Is there a way to speed up emac's “shell” mode?

I am new to emacs. I know we can open a shell, eshell, or term with M-x shell, M-x eshell and M-x term. I have a program that needs to run make then run. On an external terminal app, I am on XFCE so ...
0
votes
0answers
57 views

C-r in term-mode doesn't access reverse-i-search

I find that in term-char-mode with bash, C-r doesn't activate the shell's reverse-i-search function. How can I do that? PS. Apologies: I was using multi-term mode and had somehow convinced myself ...
0
votes
0answers
11 views

The workspace of terminal in a directory

After starting `multi-term' , try to back to it from another buffer. it prompt: It confused me that term is categorized in OrgMode, which is a directory contains diary.org, inbox.org The new ...
0
votes
0answers
127 views

errors to install vterm to doom-emacs

Upon trying to install akermu/emacs-libvterm: Emacs libvterm integration It report the errors: HEAD is now at a6293a0 The F1 to F4 keys should send SS3 rather than CSI when unmodified [ 25%] No ...
0
votes
0answers
58 views

Spacemacs terminal emulator share history with zsh

In plain vanilla emacs, I can M-x term RET RET. This starts zsh. And it 'shares' history with my non-emacs terminals. So, I can ESC / and search for commands, etc. How do I achieve that for ...
0
votes
0answers
118 views

multi-term: after ssh to a remote server, the prompt messed up

The expected prompt is /home/oracle, but it's something like \342\236\234. What need to do to get it show the right folder name?
0
votes
0answers
192 views

term without line numbers and highlight for current line

I have the following settings in ~/.emacs: (setq linum-relative-current-symbol "") (linum-mode) (linum-relative-global-mode) (global-hl-line-mode t) In order to supress both these features in ...
0
votes
3answers
483 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 ...