Live data from Hacker News

GNU Screen - A Hacker's Ideal Terminal

ibm.com

91–100 of 103 posts

Re: GNU Screen - A Hacker's Ideal Terminal

#91
post #81

Screen is great. I wish there were an analogous tool that let me group several running X apps into a long-running session that I could connect to/disconnect from locations. Any idea if this is possible today?

NX is supposedly able to do this, but last time I looked (which, admittedly, was two or three years ago) you had to expect serious problems if the set of available fonts on the different display servers was different (i.e. in all realistic scenarios). Oh, and it only worked on x86-32.

Re: GNU Screen - A Hacker's Ideal Terminal

#92
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 use C-z as escape in screen. This would be "send process to background" in a vanilla shell, which I don't need that often in screen.

Re: GNU Screen - A Hacker's Ideal Terminal

#93
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 bound my left winkey to @, and use ^@. I wanted to bind it directly to NUL, but I couldn't get that to work for some reason.

Re: GNU Screen - A Hacker's Ideal Terminal

#94

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…

I was able to make tmux hang in a matter of a few minutes of playing with it (and not even trying hard). It's definitely got promise, but it also still has a way to go.

Can you reproduce it, or describe what you did? In a couple months of using it constantly on three systems, I've never had a single problem with it.

Re: GNU Screen - A Hacker's Ideal Terminal

#95
post #91
post #81

Screen is great. I wish there were an analogous tool that let me group several running X apps into a long-running session that I could connect to/disconnect from locations. Any idea if this is possible today?

NX is supposedly able to do this, but last time I looked (which, admittedly, was two or three years ago) you had to expect serious problems if the set of available fonts on the different display servers was different (i.e. in all realistic scenarios). Oh, and it only worked on x86-32.

http://partiwm.org/wiki/xpra

Re: GNU Screen - A Hacker's Ideal Terminal

#96

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…

How does that compare to dvtm?

http://www.brain-dump.org/projects/dvtm/

Re: GNU Screen - A Hacker's Ideal Terminal

#97

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…

How does that compare to dvtm? http://www.brain-dump.org/projects/dvtm/

Interesting. I haven't heard of that before, I'll look into it. I doubt a comparison based on a first impression would be useful, though.

Re: GNU Screen - A Hacker's Ideal Terminal

#98
post #59
post #15

Earlier quoted context omitted.

Changing caps lock to control helps. Switching to dvorak helps even more. I kid.

You may be kidding, but you are right on both counts. Emacs is so much better when your control key is next to 'a'. Your hands prefer it when 'aoeu' is right under your left hand. You will prefer it when your colleagues can't figure out how to type on you computer.

I was serious in that Ctrl-Z is easier to hit with dvorak, and with caps lock as control it becomes even easier, but I don't expect anyone to switch for that reason.

Re: GNU Screen - A Hacker's Ideal Terminal

#99

Earlier quoted context omitted.

I was able to make tmux hang in a matter of a few minutes of playing with it (and not even trying hard). It's definitely got promise, but it also still has a way to go.

Can you reproduce it, or describe what you did? In a couple months of using it constantly on three systems, I've never had a single problem with it.

Started tmux, split the window a few times, ^B a few times, and it hung. I've submitted a sample to the developer. (It's getting stuck somewhere around screen_write_copy.)
Post reply on HN