Simple Terminal from SuckLess
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

156 lines
2.8 KiB

14 years ago
14 years ago
14 years ago
  1. .TH ST 1 st\-VERSION
  2. .SH NAME
  3. st \- simple terminal
  4. .SH SYNOPSIS
  5. .B st
  6. .RB [ \-a ]
  7. .RB [ \-c
  8. .IR class ]
  9. .RB [ \-f
  10. .IR font ]
  11. .RB [ \-g
  12. .IR geometry ]
  13. .RB [ \-i ]
  14. .RB [ \-o
  15. .IR file ]
  16. .RB [ \-t
  17. .IR title ]
  18. .RB [ \-T
  19. .IR title ]
  20. .RB [ \-l
  21. .IR line ]
  22. .RB [ \-w
  23. .IR windowid ]
  24. .RB [ \-v ]
  25. .RB [ \-e
  26. .IR command ...]
  27. .RI [ commands ...]
  28. .PP
  29. .B st
  30. .RB [ \-a ]
  31. .RB [ \-c
  32. .IR class ]
  33. .RB [ \-f
  34. .IR font ]
  35. .RB [ \-g
  36. .IR geometry ]
  37. .RB [ \-i ]
  38. .RB [ \-o
  39. .IR file ]
  40. .RB [ \-t
  41. .IR title ]
  42. .RB [ \-T
  43. .IR title ]
  44. .RB [ \-w
  45. .IR windowid ]
  46. .RB [ \-v ]
  47. .RB \-l
  48. .IR line
  49. .RI [ stty_args ...]
  50. .SH DESCRIPTION
  51. .B st
  52. is a simple terminal emulator.
  53. .SH OPTIONS
  54. .TP
  55. .B \-a
  56. disable alternate screens in terminal
  57. .TP
  58. .BI \-c " class"
  59. defines the window class (default $TERM).
  60. .TP
  61. .BI \-f " font"
  62. defines the
  63. .I font
  64. to use when st is run.
  65. .TP
  66. .BI \-g " geometry"
  67. defines the X11 geometry string.
  68. The form is [=][<cols>{xX}<rows>][{+-}<xoffset>{+-}<yoffset>]. See
  69. .BR XParseGeometry (3)
  70. for further details.
  71. .TP
  72. .B \-i
  73. will fixate the position given with the -g option.
  74. .TP
  75. .BI \-o " iofile"
  76. writes all the I/O to
  77. .I iofile.
  78. This feature is useful when recording st sessions. A value of "-" means
  79. standard output.
  80. .TP
  81. .BI \-t " title"
  82. defines the window title (default 'st').
  83. .TP
  84. .BI \-T " title"
  85. defines the window title (default 'st').
  86. .TP
  87. .BI \-w " windowid"
  88. embeds st within the window identified by
  89. .I windowid
  90. .TP
  91. .BI \-l " line"
  92. use a tty line instead of a pseudo terminal.
  93. When this flag is used
  94. remaining arguments are used as flags for stty.
  95. .TP
  96. .B \-v
  97. prints version information to stderr, then exits.
  98. .TP
  99. .BI \-e " program " [ " arguments " "... ]"
  100. st executes
  101. .I program
  102. instead of the shell. If this is used it
  103. .B must be the last option
  104. on the command line, as in xterm / rxvt.
  105. This option is only intended for compability,
  106. and all the remaining arguments are used as a command
  107. even without it.
  108. .SH SHORTCUTS
  109. .TP
  110. .B Ctrl-Print Screen
  111. Toggle if st should print to the
  112. .I iofile.
  113. .TP
  114. .B Shift-Print Screen
  115. Print the full screen to the
  116. .I iofile.
  117. .TP
  118. .B Print Screen
  119. Print the selection to the
  120. .I iofile.
  121. .TP
  122. .B Alt-Shift-Page Up
  123. Increase font size.
  124. .TP
  125. .B Alt-Shift-Page Down
  126. Decrease font size.
  127. .TP
  128. .B Alt-Shift-Home
  129. Reset to default font size.
  130. .TP
  131. .B Shift-Insert
  132. Paste from primary selection (middle mouse button).
  133. .TP
  134. .B Alt-Shift-Insert
  135. Paste from clipboard selection.
  136. .TP
  137. .B Alt-Shift-c
  138. Copy the selected text to the clipboard selection.
  139. .TP
  140. .B Alt-Shift-v
  141. Paste from the clipboard selection.
  142. .SH CUSTOMIZATION
  143. .B st
  144. can be customized by creating a custom config.h and (re)compiling the source
  145. code. This keeps it fast, secure and simple.
  146. .SH AUTHORS
  147. See the LICENSE file for the authors.
  148. .SH LICENSE
  149. See the LICENSE file for the terms of redistribution.
  150. .SH SEE ALSO
  151. .BR tabbed (1),
  152. .BR utmp (1),
  153. .BR stty (1)
  154. .SH BUGS
  155. See the TODO file in the distribution.