gnu-screen

Screen + vim causes shift-enter to insert 'M' and a newline

When running a vim instance in gnu screen hitting shift enter in insert mode adds an 'M' and then a newline, rather than just a newline. Does anybody know what the problem might be, or where to look? Thanks in advance Relevant system info: Ubuntu 8.04.1 Screen version 4.00.03 (FAU) 23-Oct-06 VIM - Vi IMproved 7.1 (2007 M...

GNU Screen Survival Guide

What do people think are not only the essential things you need to know about the excellent Screen utility but the things that you'd think worthwhile to teach someone, a beginner, from the ground up. I've just introduced a friend to Screen and they're having a hard time getting used to it. So analogies and handy tips for remembering bin...

What is GNU Screen?

What is GNU Screen? ...

How to clear the scrollback in the screen command?

Hi, I use the screen command for command-line multitasking in Linux and I set my scrollback buffer length to a very large value. Is there a key combination to clear the buffer for a certain tab when I don't want it sitting there anymore? Thanks. ...

SSH, screen and XDISPLAY

I use screen to persist my work session and connect to the same session from multiple machines. How can I setup SSH and screen such that the XDISPLAY variable inside my persistent screen session is always set to the machine I am currently connecting from? ie. I start the screen session at work and use gvim, which uses the X server runni...

multi tabbed SSH client using screen

Is there an SSH client that can present a client side GUI interface to the screen* program? I'm thinking of an SSH program that would hook in with screen's session handling and map client side actions (clicking on a tab, ctrl-tab, scrolling, possibly even allowing several tabs to be seen at the same time) to whatever it takes to make sc...

Using the scrollwheel in GNU screen

How can I setup GNU screen to allow the mouse's scrollwheel to scroll around in the scrollback buffer? I tried to Google about this, but most hits where on how to allow applications inside screen to use the scrollwheel. ...

Fix gnu screen blocking reverse video

I alias screen to 'TERM=screen screen' in order to fix it from messing up some key bindings (e.g. switching delete and backspace) However, when I do this screen doesn't show some reverse video output -- for example, it works in vim, but not output from watch -d . If I run \screen thus avoiding the alias reverse video always works as exp...

What's a good Java, curses-like, library for terminal applications?

I would like to write a Java terminal application that does screen manipulation. Are there any good libraries out there that allow you to manipulate the screen like curses in the *nix/C world? Minimal features I'm looking for are windowing and user input support. In feature-speak, I'd like to have a region of the terminal where some da...

Sharing a GNU Screen Session

I have a meeting with a professor coming up shortly, but he won't be at school for a face-to-face meeting, but instead will meet with me via Skype and a SSH login. I'm a heavy user of GNU Screen, but I've never used its multiuser functionality before. How would I go about setting up multiuser capabilities, and what would be good permis...

Automatically (or more easily) reconnect to a screen session after network interruption.

ADDED: This question is now, I believe, subsumed by this one: http://stackoverflow.com/questions/1075947/can-i-use-gnu-screen See also this related question: http://superuser.com/questions/147873/ssh-sessions-in-xterms-freeze-for-many-minutes-whenever-they-disconnect Original question: It would be nice if there were a way to ssh to ...

How do I use GNU Screen transparently

I want to use GNU screen in such a way that the user doesn't know it's there. It's to help ensure that a text based management application that I'm writing can only be used by a single user at a time. To guard against against users locking everyone else out by running the application and going, leaving it running when going on holiday, I...

How do I change the "[remote detached]" message in GNU Screen

When I remote detach a screen session and connect to it myself (screen -r -d), I see the following on the detached session. [remote detached] Is it possible to change this message? ...

How to list running screen sessions ?

I have a bunch of servers, on which I run experiments using screen. The procedure is the following : ssh to server XXX launch screen start experiments in a few tabs detach screen disconnect from the server While the experiments are running, I can easily find on which servers they are by sshing to all servers and listing my running pr...

How do you start Unix screen command with a command?

According to the docs for the Unix "screen" command, you can configure it in .screenrc to start with a bunch of default screens, each running a command that you specify. Here's my cofig: # Default screens screen -t "shell_0" 1 screen -t "autotest" 2 cd ~/project/contactdb ; autotest It will not run the autotest command. That window ...

bash : how to use screen to have a term session used at home after work?

Everything is in the title, I would like to start a session at work and be able to get it when i'm at home. ...

Can you make vi "advance" the screen when opened?

I often work in vi, suspend vi, run something on the cli, and then fg back into vi to work on the results. For instance, fixing errors that showed up when I ran the cli command. However, when I fg vi, vi "wipes" the current terminal buffer and I can't see the "last screenful" of terminal output in the scrollback buffer. Is there some s...

How do you detach the 2nd screen from within another screen?

I've accidentally attached to a 2nd GNU screen session from within an existing screen session and cannot detach or issue commands to the inner screen. I remember figuring out how to do that before but completely forgot and would like to keep it as reference. One way is to detach the inner screen by doing screen -dr from shell, but what ...

Scripting for bash screen

I have processes that I background with screen. I'm trying to write a script that attaches to a terminal, executes a couple commands, then detaches. The problem is that when I attach to a terminal, screen directs control to the user. How do I work around this? ...

Unable to have no Scattered windows in Screen by .Xresources

Inital Problem: to have no scattered windows when I use vspilt in Vim inside Screen Attemps to solve the problem: Impossible: to increase the Display Refreshing Rate for Mac's terminal code to add something to .Xresources Unix Power Tools -book says that the problem can be solved in .Xresources. However, it does not specify exacl...