> From [EMAIL PROTECTED] Tue Dec 2 02:22:26 2003 > Date: Tue, 2 Dec 2003 02:21:55 -0800 > To: [EMAIL PROTECTED] > Cc: > Subject: suggestion for LPRNG config files > From: <[EMAIL PROTECTED]> > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hey, just a quick question. Are you keeping the termcap format for backwards > compatibility reasons? I know it's probably easy to parse, but it would > be nice if you could read or write those config files without constantly > searching the manpage for the meaning of those little two-letter entries. > Things have changed since the days of termcap, memory and disk space > are much cheaper. If it is to have a stanza-like or nested structure, > you might even consider taking a pointer from python and making it whitespace- > sensitive. A little radical perhaps, but very easy to grok. I suppose > I should mention XML too, but I find it user-unfriendly and mostly a > solution in search of a problem. Because I touch the files so infrequently, > there's very little hope of remembering any abbreviations. If performance > is an issue, perhaps there should be a compilation into something machine- > readable. > > Keep up the good work, > me
The problem is one of backwards compatibility. Also, you could look in /etc/lpd/lpd.conf. This shows the name AND the default value. # lpd.conf # VERSION=3.8.21 # lpd.conf generated from on Tue Aug 12 10:14:17 PDT 2003 # The values in this file are the default values. # If you modify the file, set the value to something other than the default # For example, # # default force_localhost # means the 'force_localhost' option default value is on or 1 # To set it to OFF or 0, change this to read: # force_localhost@ # Purpose: always print banner, ignore lpr -h option # default ab@ (FLAG off) # Purpose: query accounting server when connected # default achk@ (FLAG off) # Purpose: accounting at end (see also af, la, ar, as) # default ae=jobend $H $n $P $k $b $t $'C $'J $'M (STRING) # Purpose: name of accounting file (see also la, ar) # default af=acct (STRING) # Purpose: automatically hold all jobs # default ah@ (FLAG off) # Purpose: Allow use of LPD_CONF environment variable # default allow_getenv@ (FLAG off) # Purpose: allow users to request logging info using lpr -mhost%port # default allow_user_logging@ (FLAG off) # Purpose: allow these users or UIDs to set owner of job. For Samba front ending # default allow_user_setting= (EMPTY STRING) # Purpose: append these -Z options to end of options list on outgoing or filters # default append_z= (EMPTY STRING) Patrick Powell Astart Technologies [EMAIL PROTECTED] 6741 Convoy Court Network and System San Diego, CA 92111 Consulting 858-874-6543 FAX 858-751-2435 LPRng - Print Spooler (http://www.lprng.com) ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
