]> git.lizzy.rs Git - plan9front.git/blob - sys/man/1/vt
merge
[plan9front.git] / sys / man / 1 / vt
1 .TH VT 1 
2 .SH NAME
3 vt \- emulate a VT-100 or VT-220 terminal
4 .SH SYNOPSIS
5 .B vt
6 [
7 .B -2abcrx
8 ]
9 [
10 .B -f
11 .I font
12 ] [
13 .B -l
14 .I log
15 ]
16 .SH DESCRIPTION
17 .I Vt
18 replaces a
19 .I rio
20 window with a fresh instance of the shell,
21 .IR rc (1),
22 running within an emulation of a DEC VT-100 terminal.
23 .SS Options
24 .TF m
25 .TP
26 .B 2
27 .TP
28 .B a
29 .TP
30 .B x
31 change
32 .I vt
33 to emulate a VT-220, ANSI, or XTerm terminal respectively.
34 .TP
35 .B b
36 changes the color scheme to white text on a black background,
37 but potentially with colors from escape sequences.
38 .TP
39 .B c
40 changes the color scheme to monochrome (no colors).
41 .TP
42 .B f
43 sets the
44 .IR font .
45 .TP
46 .B l
47 names a
48 .I log
49 file for the session.
50 .TP
51 .B r
52 start in raw mode.
53 .SS Menus
54 The right button has a menu with the following entries to provide
55 the sort of character processing expected by non-Plan 9 systems:
56 .TF cooked
57 .TP
58 .B 24x80
59 Resize the
60 .I vt
61 window to hold 24 rows of 80 columns.
62 .TP
63 .B crnl
64 Print a newline (linefeed) character after receiving a carriage return from the host.
65 .TP
66 .B cr
67 Do not print a newline after carriage return.
68 .TP
69 .B nlcr
70 Print a carriage return after receiving a newline from the host.
71 .TP
72 .B nl
73 Do not print a carriage return after newline.
74 .TP
75 .B raw
76 Enter raw (no echo, no interpretation) character mode for input.
77 .TP
78 .B cooked
79 Leave raw mode.
80 .TP
81 .B blocksel
82 Toggle block selection for mode for rio snarf buffer.
83 .TP
84 .B exit
85 Exit
86 .IR vt .
87 .PD
88 .PP
89 The middle button has a menu with the following entries:
90 .TF right_key
91 .TP
92 .B backup
93 Move the display back one screenful.
94 .TP
95 .B forward
96 Move the display forward one screenful.
97 (These are a poor substitute for a scroll bar.)
98 .TP
99 .B reset
100 Display the last screenful; the same as going
101 .B forward
102 to the end.
103 .TP
104 .B paste
105 Pastes the contents of the
106 .B rio
107 snarf buffer, just as
108 .B paste
109 in the
110 .B rio
111 menu.
112 .TP
113 .B snarf
114 Copy selection to the
115 .B rio
116 snarf buffer.
117 .TP
118 .B plumb
119 Send selection to the plumber.
120 .TP
121 .B scroll
122 Make new lines visible as they appear at the bottom.
123 .TP
124 .B page
125 When the page fills, pause and wait for a character to be typed before proceeding.
126 The down arrow key advances a page without sending the character to the host.
127 .PD
128 .SH SOURCE
129 .B /sys/src/cmd/vt
130 .SH BUGS
131 This program is used only for communicating with foreign systems,
132 so it is not
133 as rich an emulation as its equivalent in other environments.
134 .PP
135 Use care in setting raw and newline modes when connecting to Unix systems via
136 .IR con (1).
137 It may also be necessary to set the emulator into raw mode.