1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
nwrite: write replacement
Copyright 1993 by Marco Nicosia <marco@csua.berkeley.edu>
Copyright 1994-95 by Aaron Smith <aaron@csua.berkeley.edu>
Copyright 1995-97 by Alan Coopersmith <alanc@csua.berkeley.edu>
All rights reserved. (see README for license details)
Version 1.9.2 07/09/98
Switched to GNU autoconf for portability checking
Added support for system nwriterc to set defaults
Use snprintf on platforms that have it
Version 1.9.1 11/15/97
NetBSD #defines contributed by Dave Bushong <dbushong@CSUA.Berkeley.EDU>
Use UTMP_FILE, if defined, instead of /etc/utmp for OS'es like Digital Unix
that hide utmp elsewhere
Cleanup for public release
Version 1.9 08/19/96
Cleaned up portability #defines
Added portability info for Apollo Domain/OS 10.4, HP/UX 9.0x
Fixed bug in creating line-prefix tag (bolding broken, random chars inserted)
Removed limit on length of login name (since not all OS'es limit to 8 chars)
Made error messages more user-friendly
Expanded debug-mode output
Moved init_globals() call later to avoid wasting time if there's a
command line usage error (and to allow setting -D flag first)
Version 1.8 08/11/96
Fix core dump bug
Fix bug with lame terminals that don't deal well with BOLD_END if they
didn't previously get a BOLD_START (the Eric Rowe memorial bug)
Ultrix 4.4 port
Version 1.7 10/30/95
Solaris 2.x port
Version 1.6 09/26/95
More POSIX-ification & portability
Switch to tty_info_t & local_user_t & revised user_t structures
Beginning of support for remote users (no network code yet though)
Skip blank utmp lines when parsing utmp
Make argv clearing code dependent on definition of CLEAR_PROCS
More friendly/useful error messages
If tty is specified use it even if -i specified and it's idle
Don't send headers to people who want them sent right away until after all
ttys are opened and unopenable ttys have been removed from the
"writing to" list
Version 1.5 07/24/95
Ported to AIX - support started for other POSIX and/or SysV systems
optimized to stop looking through utmp when all users found
added debug mode
Version 1.4 06/15/95
more speedups
allow 'nwrite user tty' syntax
Version 1.3 05/22/95
code cleanup
Version 1.2 05/16/95
Alan Coopersmith takes over nwrite
many bug fixes and speedups
Version 1.16 05/09/95
last version by Aaron Smith
<exact version details before this point lost in the mists of time>
Spring 1995 additions by Aaron Smith:
writing to multiple users
Summer 1994 additions by Aaron Smith:
.nwriterc options (bolding, nodelay, beep, etc.)
Created Summer 1993 by Marco Nicosia
|