home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 1 / 1621 / texts.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-28  |  3.7 KB  |  85 lines

  1. /* Copyright 1990, Daniel J. Bernstein. All rights reserved. */
  2.  
  3. #include "config.h"
  4. #include "texts.h"
  5.  
  6. char *ptyauthor[] = {
  7. "pty was written by Daniel J. Bernstein." ,
  8. "Internet address: brnstnd@acf10.nyu.edu." ,
  9. 0 } ;
  10.  
  11. char *ptyversion[] = {
  12. "pty version 3.0, June 1, 1990." ,
  13. "Copyright (c) 1990, Daniel J. Bernstein." ,
  14. "All rights reserved." ,
  15. 0 } ;
  16.  
  17. char *ptycopyright[] = {
  18. "pty version 3.0, June 1, 1990." ,
  19. "Copyright (c) 1990, Daniel J. Bernstein." ,
  20. "All rights reserved." ,
  21. "" ,
  22. "I want this program to be distributed freely in original form." ,
  23. "" ,
  24. "Once you've received a legal copy of this program, you can use it." ,
  25. "Forever. Nobody can take that right away from you. You can make changes" ,
  26. "and backup copies for your use (or, if you're an organization, for the" ,
  27. "use of everyone in the organization). You can distribute patches (though" ,
  28. "not patched versions). You'd have all these rights even if I didn't tell" ,
  29. "you about them." ,
  30. "" ,
  31. "I do grant you further rights, as detailed in the source package. Don't" ,
  32. "worry about them unless you're planning to distribute further copies." ,
  33. "" ,
  34. "If you have questions about this program or about this notice, or if you" ,
  35. "would like additional rights beyond those granted above, or if you have" ,
  36. "a patch that you don't mind sharing, please contact me on the Internet" ,
  37. "at brnstnd@acf10.nyu.edu." ,
  38. 0 } ;
  39.  
  40. char *ptywarranty[] = {
  41. "Daniel J. Bernstein disclaims all warranties to the extent permitted" ,
  42. "by applicable law. He is not and shall not be liable for any damages" ,
  43. "arising from the use of this program. This disclaimer shall be governed" ,
  44. "by the laws of the state of New York." ,
  45. "" ,
  46. "In other words, use this program at your own risk." ,
  47. "" ,
  48. "If you have questions about this program or about this disclaimer of" ,
  49. "warranty, please feel free to contact me at brnstnd@acf10.nyu.edu on" ,
  50. "the Internet." ,
  51. 0 } ;
  52.  
  53. char *ptyusage[] = {
  54. "Usage: pty [ -qQve3EdDjJsStT0FACHUVW ] [ -fn ] [ -p[cCdDeEnNrRsS0] ]" ,
  55. "           [ -x[cCeEnNoOrRsSuUwWxX ] program [ arg ... ]" ,
  56. "Help:  pty -H" ,
  57. 0 } ;
  58.  
  59. char *ptyhelp[] = {
  60. "pty runs a program under a pseudo-terminal session." ,
  61. "pty -ACHUVW: print authorship notice, copyright notice, this notice," ,
  62. "             short usage summary, version number, disclaimer of warranty" ,
  63. "pty [-qQve3EdDjJsStT0F] [-fn] [-p[cCdDeEnNrRsS0]] [-x[cCeEnNoOrRsSuUwWxX]]" ,
  64. "  program [arg...]: run program under a pseudo-terminal" ,
  65. "Options processed l to r. Capitals turn things off. Here + means default." ,
  66. "-q: quiet (nothing on stderr)   -e: leave fds 2 & 3    0=Tp0 p0=pcrEN" ,
  67. "+Q: normal level of verbosity   -3: leave fd 3 only    d=dJT D=Djt    d=>T" ,
  68. "-v: complain about everything   +E: 2 & 3 both->pty    s=sxu S=SxU    s=>E" ,
  69. "-d: we are detached    +j: job control    +t: change orig tty to char mode" ,
  70. "+D: we have ctrl tty   -J: ignore stops   -T: leave orig tty alone" ,
  71. "-s: session (allow disconnect & reconnect)   -fn: pass pty fds up fd n" ,
  72. "+S: no session: disconnect will send HUP     +F: no -f" ,
  73. "-p[cCdDeEnNrRsS]: set pty modes; defaults taken from original tty if -D" ,
  74. "  c: cbreak, character mode  +n: change return to newline  +e: echo" ,
  75. " +d: new line discipline      r: raw, no keyboard signals  +s: screen, crt" ,
  76. "-x[cCeEnNoOrRsSuUwWxX]: security/experimental/extended, may be restricted" ,
  77. "  c: change pty owner   e: pty's stderr write-only       x: set TIOCEXCL" ,
  78. " +s: setuid, safer     +n: check if anyone has pty open  u: use /etc/utmp" ,
  79. " +r: pick random pty    o: skip if anyone has pty open   w: use /etc/wtmp" ,
  80. "If you have questions about or suggestions for pty, please feel free" ,
  81. "to contact the author, Daniel J. Bernstein, at brnstnd@acf10.nyu.edu" ,
  82. "on the Internet." ,
  83. 0 } ;
  84. /* I still can't believe ptyhelp fits. :-) */
  85.