home *** CD-ROM | disk | FTP | other *** search
- Thu May 21 01:30:35 1992 Keith Moore (moore@wilma)
-
- * compiled and tested decnet gw code on ultrix. Quickly tried
- to fix bogus error codes on vms and generally failed.
-
- * README: corrected/updated to reflect more recent changes
-
- * LICENSE: is now GPLv2
-
- * lpr.man: known bug list updated.
-
- * patchlevel.h: updated minor version (patchlevel) to 4, because
- I had released container files with version 1.2 and 1.3. New
- container files will be version 1.4.
-
- Thu Dec 12 01:03:55 1991 Keith Moore (moore at wilma)
-
- * lpr.c (append_string_to_buffer, read_file_into_buffer):
- made them return a pointer to the buffer, in case realloc()
- (in enlarge_buffer()) had to move the buffer somewhere else.
-
- * lpr.c (control): reassign job->cfile to the value returned
- from append_string_to_buffer()
-
- * lpr.c (send_print_file): respect return value from
- read_file_into_buffer()
-
- (lpr now accepts large files from stdin again)
-
- Wed Dec 4 00:42:58 1991 Keith Moore (moore at wilma)
-
- * unix-tcp.c, vms-decnet.c, vms-ucx-tcp.c: fix typo in error
- msg.
-
- * lpr.c (lprm): Initialize remove_all flag to zero.
- Fix the case where no args are supplied.
-
- * lpr.c (get_lpd_server): add check in case fscanf() fails.
- (could happen if file is empty) Cast return value to
- (char *) to placate fussy DEC compiler.
-
- Thu Sep 12 23:54:29 1991 Keith Moore (moore at wilma)
-
- * lpr.c (get_lpd_server): new function
-
- * lpr and friends now look for a file named /etc/LPD_SERVER to
- get the default printer server. Or you can still specify
- -S printer-server on the command-line.
-
- Fri Sep 6 12:22:09 1991 Keith Moore (moore at wilma)
-
- * [various tcp modules] (get_priv_tcp_socket):
- if all attempts to bind to a privileged port fail, close socket
- and return EOF.
-
- Thu Jul 25 00:34:06 1991 Keith Moore (moore at chili)
-
-
- file lpr.c:
-
- * add lpq and lprm functions: if argv[0] ends
- in "lpq" or "lprm", behave like those commands. Also
- add -showqueue and -remove options for use on VMS.
-
- (real_option):
- * -f now means "print a FORTRAN output file"
- * -r now means "remove file after spooling" - it was being
- construed as "print a FORTRAN output file" because the
- lpd protocol command to do this is 'r'.
- * added -S option to specify printer server.
-
- (guess_file_type)
- * Don't print a message when we realize it's a PostScript
- file, because there's no special command-line option for
- these.
-
- (dump_buf)
- * mask each byte with 0xff before printing in octal.
- * Also format output a little nicer.
-
- file lpr.man:
-
- * change text regarding -f and -r options;
- remove a diagnostic message that is no longer used
- (still need to document lprm, lpq, and
- -remove, -showqueue options)
-
- files unix-tcp.c,vms-win-tcp.c,vms-ucx-tcp.c:
-
- (gethostbynameoraddr)
- * added new function.
- if hostname argument begins with a digit, it is assumed to be
- an IP address, and gethostbynameoraddr() will simply fill in the
- correct fields in the hostent structure without doing an address
- lookup. Otherwise it returns the result of gethostbyname()
-
- * in open_lpd(), call gethostbynameoraddr() to get IP address
-
-
- Thu May 9 19:26:30 1991 Keith Moore (moore at chili)
-
- * lpr.c: make a more informative error message when remote
- server refuses to accept a print job.
-
- * vms-ucx-tcp.c, vms-win-tcp.c, unix-tcp.c (get_priv_tcp_socket):
- don't exit, just give warning if EACCES error occurs trying to
- bind to privileged port -- some lpd's don't require this anyway.
-
- Fri Apr 12 16:57:13 1991 Keith Moore (moore at chili)
-
- * README: added some additional instructions for compiling
- on VMS.
-
- * Makefile: fixed rule for port-lpr.vms that was always
- appending the new archive onto an existing port-lpr.vms
- file.
-
- Tue Apr 9 21:16:31 1991 Keith Moore (moore at chili)
-
- * released as version 1.1
-
- * lpr.man: picked up some nits.
-
- Tue Apr 9 20:37:40 1991 Keith Moore (moore at chili)
-
- * Makefile (clean): do "rm -f" instead of "rm"
-
- * dnet-lpd-gw.c (accept_decnet_connection):
- added support for DECnet-Ultrix. Fixed typo that was setting
- DECnet_remoteNode to the name of the remote user.
-
- * README: add notes about DECnet-Ultrix support for gateway.
-
- * BLURB: new file - capsule description of package.
-
- Sat Mar 30 02:04:45 1991 Keith Moore (moore at chili)
-
- * lpr.man, README, MANIFEST - updated
-
- * descrip.mms: makefile for vms - created
-
- * Makefile: updated to reflect new changes, and also to
- create a simple shar file for VMS
-
- * dnet-lpd-gw.c - new program - gateway lpr over DECnet to
- a TCP-based lpr daemon.
-
- * vms-decnet.c - new module - send lpr protocol over DECnet
- instead of TCP.
-
- * vms-*.c - translate_logical_name(), get_decnet_node_name()
- new functions. Use translate_logical_name() instead of getenv()
- to prevent spoofing of important logical names.
-
- * vms-*.c, unix-tcp.c - add support for MAKE_EMAIL_ADDRESS macro to
- override default way of sending mail to whomever submitted the job.
-
- * TO DO:
- add ultrix support for dnet-lpd-gw.c
- add authentication to dnet-lpd-gw.c
- The email address hacks don't work -- even if the client tells
- the server that the user's email address is terre.dnet.utk.edu,
- the server still sends mail to simply "user@terre" on job
- completion. Fix this somehow.
-
- Fri Mar 29 14:54:51 1991 Keith Moore (moore at chili)
-
- * unix-tcp.c, vms-ucx-tcp.c, vms-win-tcp.c (open_lpd):
- changed to accept an argument to open_lpd specifying
- what host to use as a printer server.
-
- * lpr.c: changed called to open_lpd to pass host name of
- printer server as an argument, rather than implicitly
- through the variable lpd_server.
-
- * makefile.vms: new makefile for VMS make, or some reasonable
- facsimile thereof
-
- * config.h: We don't really need this anymore to specify which
- kind of tcp/decnet we are using, but we do need it to specify
- things like how to generate the user's email address back to
- a VMS machine...definitely a site-specific option.
-
- * extracted network- and system-specific code into separate
- modules: unix-tcp.c, vms-ucx-tcp.c, and vms-decnet.c
-
- * lpr.c (main) Was redeclaring the printer environment
- variable, thus any -P printer option was not working.
-
- * lpr.c (option) Fixed bug in option parsing. I was using
- strchr (opt, "P#CJTi1234w") to see if the opt character
- was in that set of characters. The arguments should have been
- reversed -- now they are. Also, "opt" should have been "opt[1]"
- Also added 'q' to that set, so -q printer will work. (This is
- for VMS, which lower-cases all command-line arguments unless you
- put them in quotes.)
-
- * TO DO:
- On vms, expand wildcard filenames (yuk!)
- Build alternate argument parser for VMS.
- Make sure we print out any error messages returned from server.
-
-
- Thu Mar 28 16:30:09 1991 Keith Moore (moore at chili)
-
- * if a host has multiple IP addresses, attempt to connect to
- each of them before giving up. If debug is set, print out
- each IP address as we try it.
-
- * converted to "Classic" (non-ANSI) C (Yuk!). GNU cc doesn't let
- us pass a struct in_addr to inet_ntoa() because of differences
- between argument passing conventions between gcc and the system-
- supplied cc (with which the inet_ntoa() routine was compiled).
- (At least this is true on a SPARC running SunOS 4.1.1)
-
- * added code to let lpr run on VMS with UCX TCP.
-
- Tue Mar 26 21:53:52 1991 Keith Moore (moore at chili)
-
- * lpr.c (sysdep): call endpwent() after calling getpwuid() just
- to make sure the file descriptor for /etc/passwd is closed.
- (This is just paranoia-for-security - we don't exec anything
- anyway, so there's no way for some program to inherit that file
- descriptor.)
-
- * lpr.c (real_option): add newline after version info when -debug
- is set
-
- * README: add note about compiling, and that this works on an
- IBM RS/6000 running AIX.
-
- Thu Mar 21 19:50:34 1991 Keith Moore (moore at chili)
-
- * packaged this up and sent it out as version 1.0
-
- * if "printer" is not defined in /etc/services, just assume that
- we want to use port 515.
-
- * wrote a man page and README.
-
- * added a note referencing the GNU General Public License.
-
-