News for hackers. Stuff that matters.

Ask HN: Do you still use terminal mode in a desktop configuration?

A comment made by elis in http://news.ycombinator.com/item?id=1335146 made me think, do you guys keep using terminal mode on a regular basis? If so, in what situations? (Headless servers and machines without any GUI set up don' apply.)

As much as I like the terminal, I haven't used a virtual terminal in Ubuntu in ages. I just launch xterm instead.

( 7 comments | 10 points | on HN )
Re:Ask HN: Do you still use terminal mode in a desktop confi... by elis on Monday May 10, 2010 @05:45PM (#1336047)
I almost always use a terminal window in the GUI. The programs I am writing aren't graphical though, so they would work just as well in a terminal. The thing is, I write in emacs, and then save it, switch to a terminal window, and run the program. I could easily switch to another terminal in terminal mode, but I have heard that you can run your programs from inside emacs (I think I heard that anyways). I'd rather learn how to do that.

Anyways, I'm going to try this tonight, and see if I can avoid the distractions that my GUI presents me with.

Re:Ask HN: Do you still use terminal mode in a desktop confi... by pivo on Monday May 10, 2010 @09:17PM (#1336465)
To run a program from emacs, just start a shell in a buffer:

M-x shell

To run multiple programs in emacs, each in their own shell, just rename the shell buffer to something else and start another shell.

An added benefit to doing this is that you can use emacs' incremental search to search back through the program's output for errors or other interesting output.

Re:Ask HN: Do you still use terminal mode in a desktop confi... by elis on Tuesday May 11, 2010 @12:46AM (#1336929)
Hey, thanks. Saved me a bit of reading :)
Re:Ask HN: Do you still use terminal mode in a desktop confi... by _delirium on Monday May 10, 2010 @05:54PM (#1336065)
I used to, because the second or so pause it takes to switch back to X was a nice deterrent from leaving my vim window all the time to check the internet. These days I've switched back to using a full-screen xterm (well, rxvt-unicode), mainly because configuring a terminal emulator is easier than configuring the actual terminal (e.g. changing number of lines/cols in a real terminal is a driver-dependent hassle).
Re:Ask HN: Do you still use terminal mode in a desktop confi... by babycakes on Tuesday May 11, 2010 @02:57AM (#1337152)
177 x 50 terminal window + ssh + GNU screen + side-by-side emacs (C-x 3, M-x ansi-term)

I use a MacBook Pro with a persistent screen session on my Linux desktop. I could use my Linux desktop, but I'm a bit of an OS X snob. When I context switch between projects, I simply change screen windows.

The benefits of this approach: 1. I remember exactly what I was doing the day before because my screen session is right where I left it. 2. I don't need a low-latency connection to do serious work. 3. Compilation offloaded to AC-powered server, improving battery life on my laptop.

Re:Ask HN: Do you still use terminal mode in a desktop confi... by kd5bjo on Monday May 10, 2010 @05:59PM (#1336072)
I seem to fairly regularly get my X server locked up or otherwise unusable. In those circumstances, having the real terminal mode is a life-saver.

Also, when I was using a laptop to take class notes and such, I often booted into text mode because I didn't need the graphics, and they took longer to start than I wanted to wait.

Re:Ask HN: Do you still use terminal mode in a desktop confi... by wwortiz on Monday May 10, 2010 @05:43PM (#1336043)
I use tmux plus a full screen term(s) in stumpwm a lot but I can't use plain virtual terminals as I enjoy 256 colors with nice fonts.