Tag Info

Hot answers tagged

7

you don't see actual terminals all that often anymore, but for instance the Linux text consoles on (CTRL +) ALT + F1 through F6 are considered terminals. xterm is a terminal emulator for systems running the x-window system and a graphical user interface. It provides only a single terminal, typically running a single process (an interactive shell by ...


5

Looking at it from the perspective of what's similar between xterm and screen: First: we're takling about emulations of this kind of real hardware device, a terminal (VT100 in this example): (from Wikimedia commons) xterm emulates one terminal showing it as a GUI window on screen screen emulates multiple terminals, but does not actually emulate the ...


3

They are fundamentally different. I think the main difference is: Screen allows you to detach the session and reattach it later from a different place. For example you might have some important process running in your xterm but unfortunately your monitor breaks and you can no longer use your computer. If the process runs in screen you could now 'ssh` into ...


3

You've injected the characters Ctrl+A, H and Return into the application (bash) running in the Screen window. The string that is passed to stuff is not parsed for Screen escapes. screen -S test -X log on seems to work, or screen -S test -X log to toggle as you want.


3

According to this source it's the key combination Ctrl+a and then x. It signifies locking the screen and unlocking it with your password.


2

How about: ssh user@host -t screen -r


2

I must recommend tmux in you case, I have my tmux-setup-script: #!/bin/sh tmux new-session -d -s rabin tmux new-window -t rabin -n 'Server1' 'ssh root@10.x.x.x' tmux new-window -t rabin -n 'Server2' 'ssh root@10.x.x.x' tmux new-window -t rabin -n 'Server3' 'ssh root@10.x.x.x' tmux new-window -t rabin -n 'Server4' 'ssh root@10.x.x.x' tmux new-window -t ...


2

Rather than attempt to coax screen into merging the outputs I'd do the following. Change each bfgminer so that they log to their own file like so. command /home/pi/Mining/bfgminer --scrypt -c miner.conf | tee bfgminger1.log Then use the following tail command in a 5th screen so that I can watch the output from all 4 simultaneously. tail -f ...


1

I eventually found the answer for myself on this page. The machine I was running rtorrent on had Ctrl-S and Ctrl-Q mapped to stop and start screen output. Unmapping these got things working again.


1

Your script doesn't work because ^ introduces a control character sequence. The two-character ^A stuffs a Ctrl+A character, which bash interprets as the command to go to the beginning of the line. You need to use \^ instead. screen -p 0 -S mc -X stuff 'cd ...


1

After looking through the other answers and perusing the tmux man page I settled on the following bindings for now: bind-key S choose-window 'join-pane -v -s "%%"' bind-key V choose-window 'join-pane -h -s "%%"' This will let you interactively select the window to join, and mirrors my lowercase s/v bindings to create new vertical/horizontal splits. If ...



Only top voted, non community-wiki answers of a minimum length are eligible