home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3321 / README < prev   
Encoding:
Text File  |  1991-05-12  |  1.5 KB  |  42 lines

  1. locktty 1.1
  2.  
  3. A long time I was looking for a utility to lock the screen of an ASCII
  4. terminal, something like lockscreen or xlock on Sunview resp. X Windows,
  5. but didn't find anything.
  6.  
  7. OK, here is "locktty". To keep it portable even for systems with a
  8. shadow password file, I keep the crypted password in a file in the
  9. user's home directory. If the file does not exist, the user is
  10. prompted for a password.
  11.  
  12. The password file can be changed by using the -p option.
  13.  
  14. Changes to 1.0:
  15.   - crypt() and getenv() predeclared (for ANSI compilers)
  16.   - errno declared (isn't declared in every errno.h)
  17.   - inserted fflush() after every (f)puts()
  18.   - unlock prompt is really erased now
  19.   - the number of failed unlock attempts is displayed after unlock
  20.   - username and hostname are displayed in the unlock prompt
  21.  
  22. These changes were inspired or suggested by the following people:
  23. David A. Berson, Tim Dawson, Greg Miller, Chris Phillips, Randy Hall.
  24.  
  25. The program is without any changes successfully tested on
  26.   - SunOS 4.1 on sun3, sun4, with cc, gcc, but on a sun3 with cc and -O it
  27.     throws core sometimes,
  28.   - Interactive ix/386 2.0.2, 
  29.   - Ultrix Worksystem V2.1 (Rev. 14), 
  30.   - HP-UX 7.00,
  31.   - IRIX System V Release 3.2.1,
  32.   - Nixdorf TOS 4.0.12,
  33.   - IBM AIX 1.2 (PS/2),
  34.   - ConvexOS Release V9.0.
  35.  
  36. To compile it under Interactive UNIX, type "make isc", otherwise just
  37. type "make" to build locktty.
  38.  
  39. Please send corrections, improvements, and flames to
  40.  
  41.     nickel@cs.tu-berlin.de (Juergen Nickelsen)
  42.