README.xvt 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. -------------------------------------------------------------------------
  2. Rxvt is a heavily modified version of xvt, many modifications were made by
  3. Rob Nation <nation@rocket.sanders.lockheed.com> to make it a little more
  4. compact and to add a few simple features.
  5. This is the README that came with xvt-2.0. It is included mainly to give
  6. the original author credit for his work.
  7. README file for xvt 2.0
  8. -----------------------
  9. Xvt is an X terminal-emulator that is designed to be more or less
  10. compatible with xterm while using much less swap space. It is mainly
  11. intended for use at sites which use large numbers of X terminals but
  12. may also be useful on single workstations that are short of memory. On
  13. a SPARCstation running SunOS4, an initially invoked xvt uses about 1/3
  14. megabyte of swap while xterm uses about 1.3 megabytes (obtained by
  15. running pstat rather than ps which seems to give unreliable size
  16. figures on SPARCs). The main way that xvt achieves its small size is
  17. by avoiding the use of the X toolkit.
  18. The current version of xvt is our default X terminal emulator and has
  19. been used for eight months by students, computing support staff and
  20. service users and so is fairly well tested.
  21. Supported architectures
  22. -----------------------
  23. One of the major changes between xvt-1.0 and 2.0 is that xvt-2.0 is
  24. much more portable. The released version should build and run on all
  25. the architectures I have access to, namely: SunOS4, SunOS5, HP-UX 8.0,
  26. HP-UX 9.0, DEC OSF/1 V1.2 and ULTRIX 3.?. In addition, the teletype
  27. initialisation code has been completely restructured to make it more
  28. portable. Almost all the system dependent code is in the single source
  29. file, ttyinit.c.
  30. Xterm features not supported
  31. ----------------------------
  32. - Tektronix 4014 emulation
  33. - Session logging
  34. - Pop-up menus. The only one of xterm's popup menu commands that is
  35. provided in xvt is displaying and hiding of the scrollbar and this
  36. is done simply by pressing any mouse key in the window with the
  37. CONTROL key held down.
  38. - Toolkit style configurability. In particular, xvt does not allow
  39. the user to remap the mouse or keyboard keys.
  40. Major xterm features that are supported
  41. ---------------------------------------
  42. - VT100 emulation. Most of the main escape sequences are supported -
  43. certainly all those used by the standard screen based UNIX
  44. applications.
  45. - Lines that scroll off the top of the window are saved can be
  46. scrolled back with a scrollbar.
  47. - Text selection and insertion including double and triple click for
  48. words and lines.
  49. Differences between xvt2.0 and xvt1.0
  50. -------------------------------------
  51. - xvt2.0 is eight bit clean and will generate and display eight bit
  52. characters. The META key can be used to generate characters with
  53. the eighth bit set (in eight bit mode) or prefix by escape (in seven
  54. bit mode).
  55. - The teletype setup code has been rewritten to make it much more
  56. portable. See the comments at the head of ttyinit.c.
  57. - Exposure handling has been made much more efficient so that xvt should
  58. now be useable with window managers that provide opaque window movement.
  59. - VT100 graphics characters are supported for fonts that include them.
  60. - There is now a -ls option to enable the use of a login shell.
  61. - Colored text cursors are now supported.
  62. - There is support for the -C (console window) option but only on
  63. SunOS 4.
  64. - Bold characters are generated by overstriking if no bold font is
  65. specified.
  66. - Function keys generate escape sequences as in xterm.
  67. - A number of bugs have been fixed:
  68. - Setting the title without a terminating ^G no longer locks up.
  69. - Paste followed by a keystroke will always insert in the correct
  70. order.
  71. - Pasting an uninitialised string will not cause a crash.
  72. Other differences between xvt and xterm
  73. ---------------------------------------
  74. - Xvt has a couple of additional enquiry escape sequences:
  75. ESC[7n - causes xvt to respond with the name of its X display in a
  76. form that can be used to initialise the DISPLAY environment
  77. variable. If this is done in a user's .cshrc file it
  78. provides a way to automatically update DISPLAY after an
  79. rlogin. Something like the following should work if the
  80. initial ^[ in the echo command is an ESC character:
  81. if(!($?DISPLAY)) then
  82. if($?term) then
  83. if($term =~ xterm*) then
  84. stty -echo >/dev/tty
  85. echo -n '^[[7n' >/dev/tty
  86. setenv DISPLAY `line </dev/tty`
  87. stty echo >/dev/tty
  88. endif
  89. endif
  90. endif
  91. ESC[8n - causes xvt to respond with a hex encoded copy of the server's
  92. magic cookie which can be used to update a user's .Xauthority
  93. file. We have a program to do this which could be made available
  94. if anyone is interested.
  95. Known Bugs
  96. ----------
  97. - xvt does not know about transferring selections in installments and so
  98. making large selections or trying to insert large selections will
  99. fail. The maximum selection size supported is server dependent but
  100. seems to be a little under 64k on all our servers.
  101. - xvt does not look in all the approved places for its X resources.
  102. It does, however, work correctly with resources that have been
  103. loaded into the server using xrdb
  104. Building and installing xvt
  105. ---------------------------
  106. Xvt does not use imake but does come with a simple Makefile
  107. configuration scheme that provides some help with getting the Makefile
  108. right. If you want to build xvt on one of the supported architectures
  109. then you should uncomment the appropriate definition at the start of
  110. the Makefile and then run `make config', which will modify other
  111. Makefile comments to bring them into line with the chosen
  112. architecture.
  113. To install xvt, you should edit the MANDIR and BIN pathnames in the
  114. Makefile and then type 'make install' as root. When installed for
  115. general use, xvt needs to belong to root and have the setuid flag set
  116. so that it can make entries in the /etc/utmp file.
  117. Thanks to all the people who have mailed bug reports, patches and
  118. local improvements. Some requested additions have gone into V2.0,
  119. others perhaps should have, but were left out due to lack of time.
  120. Please send bug reports and WIBNIs to:
  121. John Bovey
  122. Computing Laboratory
  123. University of Kent at Canterbury
  124. Canterbury
  125. Kent
  126. UK
  127. email: jdb@ukc.ac.uk