home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / pty4 / part03 / ptytexts.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-02-19  |  3.6 KB  |  81 lines

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