Questions tagged [gnu-screen]

GNU Screen is a command line utility which allows the user to create multiple shell sessions on one connection. These sessions are decoupled from the primary connection and so maintain state for the user, even if the connection is dropped.

Links:

658 questions
50
votes
6 answers

How to keep windows split after detaching/reattaching GNU screen

I use screen in a Ubuntu server. I have my screen splited in four regions each showing a different window. The problem is when i detach (or maybe reattach) a get the four windows but only one region and i have to make C-a S all over again? How can i…
Cesar
  • 625
29
votes
4 answers

GNU screen: key to access tabs above 9

Using GNU-Screen for a long time. C-a 1 2 n p to navigate to other tabs. This works till 9. I often have 10, 11 etc. Is there any way to go to them quickly ? Currently, i have to do: C-a 9, C-a n which is quite a pain. Thanks.
rahulk
  • 393
25
votes
2 answers

Prevent gnu screen from resizing display size

Every time I start screen (screen -A) or try to connect to an already running screen session (screen -Ax) my terminal is resized to 80 columns. I want to prevent screen from resizing my terminal. I am using iTerm on Snow Leopard and my screen…
blackwing
  • 611
21
votes
2 answers

how to include screen's session name in hardstatus?

I use different screen sessions for different projects. Starting screen like screen -S project1. Now, I'd like to mention 'project1' in hardstatus line. Session name can be obtained from environment variable STY: STY=13539.project1. But how to get…
fungusakafungus
  • 1,354
  • 2
  • 8
  • 14
20
votes
5 answers

How do you run a gnu screen within a gnu screen?

Is it possible to run a gnu screen within a gnu screen? I'm not sure how the key bindings would work. I need to log into a server that is already running a screen session, from a local screen session.
dan
  • 7,397
15
votes
1 answer

Using screen, commands like less and man don't clear the screen afterwards

In contrast to this question I want the clearing of the screen re-enabled for less. It works fine in my xterm terminal under Cygwin/mintty or Gnome Terminal (both xterms). However, when inside a screen session, the clearing of the screen is somehow…
Boldewyn
  • 4,388
13
votes
1 answer

How can I make window list in GNU Screen appear always ( C-a, C-w)

How can I make window list in GNU Screen appear always ( C-a, C-w) ( permanently )
Rakesh
10
votes
2 answers

gnu screen: reordering windows like browser drag+drop tab reordering

I have 20 windows open in my screen session, and I would like to reorder the right-most window 20 to say, just between positions 9 and 10 like this: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 …
719016
  • 4,337
9
votes
2 answers

Gnu screen, how to update dynamically the title of a window?

I'm trying to improve the aspect of GNU Screen using the screenrc file, I tuned colors, status line, caption and the list of the loaded windows. The only thing I'm not able to achieve is getting the caption with the current executed command as in…
Fabio
  • 203
6
votes
1 answer

GNU Screen: run arbitrary command in the status bar?

Is it possible to get GNU Screen to display the output of an arbitrary command, e.g. who | wc -l, in the status bar, refreshing it, say, every minute?
MWB
  • 524
6
votes
1 answer

How can I make a window "read only" in GNU Screen?

I started a really long process and would like to check it occasionally how it goes, but want to avoid interrupt it by mistake. Is there a way to set only this window "read only" ?
6
votes
1 answer

gnu screen - how to highlight searched text

While doing a reverse text search via " C-a[? search_string", I have to keep pressing 'n' to figure out occurrences of 'search_string'. Is there a configuration in GNU screen that can hihglight searched text, something similar to vim's ":set…
Aman Jain
  • 283
5
votes
3 answers

To open a new tab in Screen at your current location

Let's assume that you are at /users/cs/uni/databases/python/codes/ and you want to compare the outputs of the same command with different parameters. The program asks you the outputs such that you would like to have two windows open at the same…
4
votes
1 answer

gnu screen and split regions

I just figured out that it was possible to have split terminals with gnu screen. But the problem is that it doesn't split windows, but create a new region which is always present. I'd like to be able to switch from a split window to another…
4
votes
1 answer

Write special chars in hardstatus of GNU Screen

I want write the next specials chars to hardstatus of GNU Screen: "↑" (up arrow) and "↓" (down arrow), but it shows strange chars. How can I do this? More info: This worked to me before but I have to reinstall my SO (Ubuntu 11.04) and now it…
1
2 3 4 5 6