News for hackers. Stuff that matters.
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 :)