gnu-screen

in Screen, how do I send a command to all virtual terminal windows within a single screen session? [closed]

你。 提交于 2019-12-03 02:03:02
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I know how to create multiple windows within a single screen session, at startup: But once I have them up and running, is there a way I can have my input be sent to all open windows, not just the one currently in focus? 回答1: I found a good tutorial here to do this: http://blog.cone.be/2009/11/24/gnu-screen

The GNU screen is unresponsive, seems blocked

风流意气都作罢 提交于 2019-12-03 01:59:42
问题 GNU Screen seems to freeze. Unable to enter user input. I was using GNU screen and when I pressed the screen it became unresponsive. I can execute all the GNU screen commands, but can't enter user input. I don't want to kill this screen as I have important work and I don't want to lose it. 回答1: In the commands below, replace Ctrl with whatever your escape key is for screen commands. Try Ctrl + a q , which is the sequence to unblock scrolling. Ctrl + a s is the sequence that blocks scrolling,

Is it possible to name the 'screen' logfile from the -L flag?

ε祈祈猫儿з 提交于 2019-12-03 01:31:07
Upon running screen with the -L flag, a file called 'screenlog.0' is created and all output written to it (which is great), but I will be running several screen sessions and I need to identify the logs with a unique number. Is it possible to change the log name? Eun You can edit your .screenrc file and add something like this logfile /tmp/myownlog Edit: already answered: https://serverfault.com/questions/248193/specifying-a-log-name-for-screen-output-without-relying-on-screenrc Nan Wang Probably the easiest way is to use the following: screen -L -Logfile log_filename your_command Juan Enciso

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

▼魔方 西西 提交于 2019-12-03 00:35:36
问题 ADDED: This question is now, I believe, subsumed by this one: Using GNU Screen completely transparently and automatically See also this related question: https://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 a machine and immediately reconnect to a specific screen session. You can do this: laptop> ssh server.com screen -ls and it will show a list of screens available on

Terminal Multiplexer for Microsoft Windows - Installers for GNU Screen or tmux [closed]

耗尽温柔 提交于 2019-12-03 00:04:43
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 11 months ago . I am looking for a terminal multiplexer for Microsoft Windows. I was unable to locate the installers for Microsoft Windows for both tmux and GNU Screen. Currently I'm using Putty to connect to my Linux machine from from Windows Machine. Can somebody please suggest how to get GNU Screen or tmux working on

How do I get the command history in a screen session using Bash?

最后都变了- 提交于 2019-12-02 20:33:00
If I start a screen session with screen -dmS name , how would I access the command history of that screen session with a script? Using the ↑ , the last executed command appears, even in screen. screen doesn't maintain a history of the commands you type. Your shell may or may not keep a history. Since you appear to use bash , you can use the history command. screen does appear to have a crude approximation of a history search (it merely searches the scrollback buffer for a command line. See the screen man page under the "history" command (bound to C-a { by default). Nathan S. Watson-Haigh I use

How to clear the scrollback in the screen command?

放肆的年华 提交于 2019-12-02 20:19:52
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? Zsolt Botykai This thread has the following suggestion: In the window whose scrollback you want to delete, set the scrollback to zero, then return it to its normal value (in your case, 15000). If you want, you can bind this to a key: bind / eval "scrollback 0" "scrollback 15000" You can issue the scrollback 0 command from the session as well, after typing C-a : .

Sending ctrl-c to specific screen session

孤人 提交于 2019-12-02 19:34:32
I am designing a script to launch a process inside a named screen session. as_user "screen -p 0 -S **$command** -X eval 'stuff \"wine LFS.exe /cfg=**$command**.cfg\"\015'" So bash myscript.sh start test will create a screen named test and run the test.cfg with the software. Now I want my script to access the specific screen session and do a CTRL + C to stop the running process so i can kill the screen session. Something like this: as_user "screen -p 0 -S **$command** **... kill the process with ctrl-c...**" as_user "screen -p 0 -S **$command** -X eval 'stuff \"exit\"\015'" I don't quite

emacs tramp over an unreliable connection

╄→гoц情女王★ 提交于 2019-12-02 17:19:44
I want to run R on a remote box under a local Emacs (I do not want to run Emacs on the remote box). I can run R on a remote host using TRAMP : (let ((default-directory "/user@remote:~")) (R)) and everything works fine except that when the connection to remote is lost, R dies. This is no good because this means that I have to re-load all the data into R after restarting it, which takes time. Is it possible to tell TRAMP to use a persistent terminal? ( GNU Screen or tmux or Mosh or dtach ) See also emacs-devel thread tramp:sshx:(screen|tmux) . Here is how to use ESS with R running in a remote

in Screen, how do I send a command to all virtual terminal windows within a single screen session? [closed]

我们两清 提交于 2019-12-02 15:39:01
I know how to create multiple windows within a single screen session, at startup: But once I have them up and running, is there a way I can have my input be sent to all open windows, not just the one currently in focus? Corey Henderson I found a good tutorial here to do this: http://blog.cone.be/2009/11/24/gnu-screen-nethack-different-screen-windows-sending-commands-to-all-screen-windows/ From the post: Once you re used to the multiple windows, you might run into a situation where you want to send a same command to several of these open windows. Screen provides in the “at” command to do this.