2 ms·
"Nowadays the only thing I use outside of Emacs is GNOME Terminal / Google Chrome / bash / screen / ssh. All the rest (including E-Mail) is inside Emacs." Ther
by gkya 11y ago
"Nowadays the only thing I use outside of Emacs is GNOME Terminal / Google Chrome / bash / screen / ssh. All the rest (including E-Mail) is inside Emacs."
There are ansi-term, shell, and eshell. The first is an actual ansi-term within your emacs, the second is a comint shell, and the third is a shell implemented in elisp. Emacs has frames, and with C-u M-x shell you can open as many new shells as you want. proced is like top/ps aux. So it's time to get rid of gnome terminal and screen :)
- avar 11y agoI've tried all of those things. While Emacs deals with a lot of things really well, I have around 100 terminal windows (screen sessions nested within screen sessions based on topic) at any given time. While it would be neat to have that all within Emacs for copy/pasting etc. since it's single threaded it just deals with it horribly. So instead I spawn Emacs just for editing/changing/email/finding, and do all shell stuff through screen/ssh/bash.
- sooheon 11y agoAll of those pseudo shells are extremely buggy. Try something simple like tab completion in fish in ansi-term, and it's a little difficult to claim it's a true terminal.
- gkya 11y agoWell, it's about how one approaches computing. I try to do most without a shell, using async-shell-command and elisp tools in general. But if you're a sysadmin I use shell iff I have to. tmux has many things to offer, which you should use.
- pmoriarty 11y agoAll of emacs' terminal emulators have been resoundly awful for me. This was probably my biggest disappointment with emacs. I was so looking forward to having the shell be useable from inside emacs, but it's really not. Now I just use a regular terminal with tmux inside it and emacsclient inside that.
- gkya 11y agoEmacs doesn't really have a terminal emulator, and terminal graphics are mostly unusable in emacs. Shell and ansi-term are there for when you cannot avoid some shell-fu. I use it mostly for VCS operations that cannot be done with VC, and nowadays building Emacs 25 pretests. I use dired instead of ls, proced instead of h?top|ps, but for a sysadmin these are not viable, I understand. I do not use magit because I do not only use git, and VC allows me to use Git, RCS and CVS easily without learning different emacs interfaces for each.