opnsense-src/usr.sbin/lpr
Garance A Drosehn 46bfa198cf Fix end-of-line issues that can come up when `lpq' reads information
about a queue from a remote host.  That remote host may use \r, \r\n,
or \n\r as the line-ending character.  In some cases the remote host
will write a single line of information without *any* EOL sequence.

Translate all the non-unix EOL's to the standard newline, and make
sure the final line includes a terminating newline.  Logic is also
added to translate all unprintable characters to '?', but that is
#if-ed out for now.

PR:		bin/104731
MFC after:	3 weeks
2009-06-24 16:57:33 +00:00
..
chkprintcap Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
common_source Fix end-of-line issues that can come up when `lpq' reads information 2009-06-24 16:57:33 +00:00
filters Rever the previous changes. It turns out that it perfectly correct 2006-03-09 19:52:44 +00:00
filters.ru Rever the previous changes. It turns out that it perfectly correct 2006-03-09 19:52:44 +00:00
lp Add -m and -t options. 2009-06-14 06:47:21 +00:00
lpc In preparation for raising NGROUPS and NGROUPS_MAX, change base 2009-06-19 15:58:24 +00:00
lpd use bigger local variable to calculate free space 2008-09-01 12:32:40 +00:00
lpq Sort sections. 2005-01-18 20:02:45 +00:00
lpr Sort sections. 2005-01-18 20:02:45 +00:00
lprm Sort sections. 2005-01-18 20:02:45 +00:00
lptest Stop on write error. 2004-09-27 08:24:05 +00:00
pac Sort sections. 2005-01-18 20:02:45 +00:00
SMM.doc For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
Makefile Remove MAINTAINER= lines. That info is now in /usr/src/MAINTAINERS 2003-06-12 03:32:21 +00:00
Makefile.inc Obey MK_INET6_SUPPORT. 2006-07-27 14:52:12 +00:00