vt 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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 -2sa
  8. ]
  9. .SH DESCRIPTION
  10. .I Vt
  11. replaces a rio window with a fresh instance of the shell
  12. .IR rc (1)
  13. running within an emulation of a DEC VT-100 terminal.
  14. The
  15. .B -2
  16. and
  17. .B -a
  18. options configure
  19. .I vt
  20. to emulate a VT-220 and Ansi terminal respectively.
  21. The
  22. .B -s
  23. options forces a saner color scheme, i.e, black text on white
  24. background.
  25. .PP
  26. The right button has a menu with the following entries to provide
  27. the sort of character processing expected by non-Plan 9 systems:
  28. .TF cooked
  29. .TP
  30. .B 24x80
  31. Resize the
  32. .I vt
  33. window to hold 24 rows of 80 columns.
  34. .TP
  35. .B crnl
  36. Print a newline (linefeed) character after receiving a carriage return from the host.
  37. .TP
  38. .B cr
  39. Do not print a newline after carriage return.
  40. .TP
  41. .B nlcr
  42. Print a carriage return after receiving a newline from the host.
  43. .TP
  44. .B nl
  45. Do not print a carriage return after newline.
  46. .TP
  47. .B raw
  48. Enter raw (no echo, no interpretation) character mode for input.
  49. .TP
  50. .B cooked
  51. Leave raw mode.
  52. .TP
  53. .B exit
  54. Exits
  55. .IR vt .
  56. .PD
  57. .PP
  58. The middle button has a menu with the following entries:
  59. .TF right_key
  60. .TP
  61. .B backup
  62. Move the display back one screenful.
  63. .TP
  64. .B forward
  65. Move the display forward one screenful.
  66. (These are a poor substitute for a scroll bar.)
  67. .TP
  68. .B reset
  69. Display the last screenful; the same as going
  70. .B forward
  71. to the end.
  72. .TP
  73. .B clear
  74. Clear the screen. Previous contents can be recovered using
  75. .BR backup .
  76. .TP
  77. .B send
  78. Send the contents of the
  79. .B rio
  80. snarf buffer, just as
  81. .B send
  82. in the
  83. .B rio
  84. menu.
  85. .TP
  86. .B scroll
  87. Make new lines visible as they appear at the bottom.
  88. .TP
  89. .B page
  90. When the page fills, pause and wait for a character to be typed before proceeding.
  91. The down arrow key advances a page without sending the character to the host.
  92. .PD
  93. .PP
  94. To exit
  95. .IR vt ,
  96. exit its
  97. .B rc
  98. session by, for example, typing EOT (control-D).
  99. .SH SOURCE
  100. .B /sys/src/cmd/vt
  101. .SH BUGS
  102. .PP
  103. This program is used only for communicating with foreign systems, so it is not
  104. as rich an emulation as its equivalent in other environments.
  105. .PP
  106. Use care in setting raw and newline modes when connecting to Unix systems
  107. via
  108. .IR con .
  109. It may also be necessary to set the emulator into raw mode.