vt 2.2 KB

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