Live data from Hacker News

GNU Screen - A Hacker's Ideal Terminal

ibm.com

61–70 of 103 posts

Re: GNU Screen - A Hacker's Ideal Terminal

#61
post #6

Screen uses C-a as its "command" character. Unfortunately, C-a means "go to start of line" in emacs and terminals. The solution? In your .screenrc file: escape ^Ww This will default C-w as the command character.

Isn't C-w kill-region in emacs? I recently came up against this problem too, but what else to change it to .. ?

I used ctrl-z, when I'm in screen I rarely need to push something to the background (prefer to just start a new vc in screen), and ofcourse I can still background something with ctrl-z z.

A screen within a screen gets ctrl-v, just because it seems mostly unused and is next to z on a dvorak keyboard :)

(And no, I don't ever nest them any deeper).

Re: GNU Screen - A Hacker's Ideal Terminal

#62

You might want to consider tmux ( http://tmux.sourceforge.net/ ) as an alternative. Its cleaner (and, incidentally, BSD-licensed) codebase means that it's getting features that have been gathering dust on screen's to-do list for ages. Most notably, its dwm/XMonad-style layouts ( http://tmux.sourceforge.net/tmux6.png ) are really nice. AFAICT, screen doesn't even officially have vertically split windows yet, it's stil…

Thanks, I will look at that, looks rad! I just thought the article covered some really key points about multiplexing terminals in general...

What does 'looks rad' mean ?

Re: GNU Screen - A Hacker's Ideal Terminal

#63

Earlier quoted context omitted.

Thanks, I will look at that, looks rad! I just thought the article covered some really key points about multiplexing terminals in general...

What does 'looks rad' mean ?

pardon me, I meant to say that it (tmux) looks neat and useful!

Re: GNU Screen - A Hacker's Ideal Terminal

#64

Earlier quoted context omitted.

Thanks, I will look at that, looks rad! I just thought the article covered some really key points about multiplexing terminals in general...

What does 'looks rad' mean ?

http://www.urbandictionary.com/define.php?term=rad

Basically short for 'radical' and a replacement for 'awesome' or 'cool.'

Re: GNU Screen - A Hacker's Ideal Terminal

#65
post #44

I often use idiosyncratic screen setups with very specifically-purposed windows. I support this behavior with a special config file that launches screen with certain windows pre-loaded for certain uses: source /home/mcantor/.screenrc chdir $SANDBOX/src screen 0:svn screen 1:lib screen 2:nosetests stuff "activate_environment\015" screen 3:ipython stuff "activate_environment\015ipython\015" screen 4: select 0 I use stu…

I really wish there was a way to use the sessionname in the hard status line formatting.

Re: GNU Screen - A Hacker's Ideal Terminal

#66

I've been satisfied with just using multiple tabs in Terminal.app in OS X, but I'm curious if anyone has switched from that solution to screen and wouldn't go back? (for local use in particular)

I know that there was a patch (a long time ago ~2006) for gnome-terminal that made it 'screen aware' so that each screen 'window' was a gnome-terminal tab.

Re: GNU Screen - A Hacker's Ideal Terminal

#69
The difficulty of scrolling back in the buffer (C-a ESC PgUp is a longer and more tedious key sequence than Shift+PgUp), and lack of full terminal support (e.g. man, less, etc. don't restore screen contents on exit) mean I strictly only use screen on ssh connections.

Perhaps the terminal support issue could be worked out with better termcap etc. settings, but I haven't found the answers. I asked questions here:

http://superuser.com/questions/23144/how-to-make-screen-term...

... but no luck.

Re: GNU Screen - A Hacker's Ideal Terminal

#70
post #69

The difficulty of scrolling back in the buffer (C-a ESC PgUp is a longer and more tedious key sequence than Shift+PgUp), and lack of full terminal support (e.g. man, less, etc. don't restore screen contents on exit) mean I strictly only use screen on ssh connections. Perhaps the terminal support issue could be worked out with better termcap etc. settings, but I haven't found the answers. I asked questions here: http:…

try "altscreen on". (see also the -a option, and http://www.gnu.org/software/screen/manual/html_node/Window-T...).
Post reply on HN