Screen

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
m
m
Line 22: Line 22:
 
To send a <code>^A</code> character to the program running in the screen (e.g. minicom) use: <code>Ctrl + A, A</code><br>
 
To send a <code>^A</code> character to the program running in the screen (e.g. minicom) use: <code>Ctrl + A, A</code><br>
 
For a list of key bindings use: <code>Ctrl + A, ?</code>
 
For a list of key bindings use: <code>Ctrl + A, ?</code>
 +
 +
 +
=== Serial Port ===
 +
<source lang="bash">
 +
screen /dev/ttyUSB0 9600
 +
</source>

Revision as of 19:08, 12 August 2013

Useful commands and aliases for screen

# usage: sc <screen_name>
# creates a new screen, or connects to an existing screen called <screen_name>
alias sc='screen -d -R'
 
# usage: sl
# lists existing screens
alias sl='screen -list'
 
# usage: ss
# creates a new screen using the current date and time for its name
alias ss='screen -S screen_`date "+%d-%b-%Y_%k:%M.%S"`'
 
# usage: qs
# used to quit the current screen - must be used from inside a screen
alias qs='kill `echo $STY|cut -d "." -f 1`'

To detach from a screen, and leave it running use: Ctrl + A, D
To send a ^A character to the program running in the screen (e.g. minicom) use: Ctrl + A, A
For a list of key bindings use: Ctrl + A, ?


Serial Port

screen /dev/ttyUSB0 9600
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox