Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
man:window_types [2010-01-20 16:22]
207.53.192.2 created
man:window_types [2021-02-19 20:04] (current)
asciiphil old revision restored (2014-07-12 12:18)
Line 1: Line 1:
 ====== Window Types ====== ====== Window Types ======
- 
-[//Stolen pretty much verbatim from the man page.  <PMG>//] 
  
 Screen provides three different window types.  New windows are created with //screen//'s [[commands:screen]] command (see also the entry in chapter [[customization]]).  The first parameter to the [[commands:screen]] command defines which type of window is created.  The different window types are all special cases of the normal type.  They have been added in order to allow //screen// to be used efficiently as a console multiplexer with 100 or more windows. Screen provides three different window types.  New windows are created with //screen//'s [[commands:screen]] command (see also the entry in chapter [[customization]]).  The first parameter to the [[commands:screen]] command defines which type of window is created.  The different window types are all special cases of the normal type.  They have been added in order to allow //screen// to be used efficiently as a console multiplexer with 100 or more windows.
Line 8: Line 6:
  
 The normal window contains a shell (default, if no parameter is given) or any other system command that could be executed from a shell (e.g. ''slogin'', etc...). The normal window contains a shell (default, if no parameter is given) or any other system command that could be executed from a shell (e.g. ''slogin'', etc...).
 +
 +==== Examples ====
 +
 +''screen'' -- Creates a new window and starts the default shell in that window.
 +
 +''screen /bin/bash'' -- Creates a new window and starts bash in that window.
 +
 +''screen pine'' -- Creates a new window and starts pine in that window.
  
 ===== TTY Windows ===== ===== TTY Windows =====
Line 24: Line 30:
  
 For tty windows, the command [[commands:break]] causes the Data transmission line (TxD) to go low for a specified period of time.  This is expected to be interpreted as a break signal on the other side.  No data is sent and no modem control line is changed when a [[commands:break]] is issued. For tty windows, the command [[commands:break]] causes the Data transmission line (TxD) to go low for a specified period of time.  This is expected to be interpreted as a break signal on the other side.  No data is sent and no modem control line is changed when a [[commands:break]] is issued.
 +
 +==== Examples ====
 +
 +''screen /dev/ttyS0'' -- Creates a new window and connects it to /dev/ttyS0 with the default settings from the terminal driver.
 +
 +''screen /dev/ttyUSB1 19200,cs8'' -- Creates a new window and connects it to /dev/ttyUSB1 at 19200 baud with 8-bit bytes.
  
 ===== Telnet Windows ===== ===== Telnet Windows =====
Line 44: Line 56:
 This window type is only available if //screen// was compiled with the BUILTIN_TELNET option defined. This window type is only available if //screen// was compiled with the BUILTIN_TELNET option defined.
  
 +==== Examples ====
 +
 +''screen %%//%%telnet otherhost'' -- Creates a new window and opens a telnet session to otherhost in it.
 +
 +''screen %%//%%telnet host.example.com 25'' -- Creates a new window and opens a connection to port 25 on host.example.com in it.

User Tools