Linux's screen command is good, and you will feel it is much better than windows's taskbar. The following is my. screenrc for your reference only.
#
#~ /. Screenrc
#
# Do not display the welcome screen at startup
Startup_message off
# Define the function key of screen As Ctrl-Z. Press Ctrl-Z when entering Ctrl-Z into the terminal.
Escape ^ Zz
#1024 rows in the screen buffer.
Defscrollback 1024
# Display the window list and clock in the bottom row
Hardstatus on
Hardstatus alwayslastline
Hardstatus string "% {. bW} %-w % {. rY} % n % t % {-} % w % = % {.. g} % H (% l) % {.. y} % Y/% m/% d % c: % s"
# Disable Error Message
Vbell off
# Press Ctrl-Z w or Ctrl-Z Ctrl-W to display the window list
Bind w windowlist-B
Bind ^ w windowlist-B
Common shortcut keys
Note: These shortcuts must be used after the escape key is pressed. The default escape key is Ctrl-A, which is changed to Ctrl-Z in. screenrc. For example, d. in actual operation, press Ctrl-Z d.
Shortcut Key
D. Interrupt the current session. You can use the screen-r command to restore the session.
C. New window
0-9 numbers quickly switch between 0-9 windows
N next window
P in the previous window
S split screen
TAB switches between split screens
X turn off the split screen
[Enter the copy mode, move the cursor with hjkl, select the start point with a space, and then press the space to select the end point for copying.
] Paste
? Help
: Enter the screen command line
The following are some common tips:
Repeat the escape key to quickly switch between the current window and the previous window. For example, switch from window 1 to window 3 by pressing ^ Z3, and then switch between window 1 and window 3 by pressing ^ Z.
Use of window segmentation: split by ^ ZSS in uppercase), and then use ^ Z Switch to the new split screen and use ^ Z <数字> Switch the window in the new screen. ^ ZX can be used to end the split.
Paging: After screen is used, you cannot use Shift-PageUp or Shift-PageDown to flip pages. You can press ^ Z [to enter the copy mode. You can use the same shortcut key as vi to view the history page. Finally, Press Esc to cancel the copy mode.
Selection of the escape key:
The default Ctrl-A conflicts with the Add 1 function of vi. If you are used to Ctrl-A unfortunately, when you use vim without screen, you will inadvertently press Ctrl-A to change the number nearby. Therefore, it is best to change it to another key.
Frequently Used screen shortcuts are on the left hand side. Therefore, escape should be placed on the left side of the keyboard in three columns. Ctrl-Q and Ctrl-S cannot be bound when they are used by the terminal. Ctrl-'screen is not supported. Ctrl-W conflicts with the switch window command of vim, and Ctrl-D conflicts with pages of vim, ctrl-X conflicts with vim's minus 1 function, Ctrl-E conflicts with vim's scrolling screen, and Ctrl-C is a very common program to stop. Therefore, only Ctrl-Z can be used. Ctrl-Z is used to pause the program. It is not commonly used. You can set it to the screen escape key. Press Ctrl-Z z to pause the program.