Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: help with command completion



>
> I am a little unsure what format the /etc/printcap file is supposed to
> be in - printcap(5) suggests that | separates alternate names for the
> queues but the only printcap file I have access to has entries like
> lp|Generic dot-matrix printer entry:\
>
> What are the possible queue names in this case - just lp, lp and Generic
> or lp and Generic\ dot-matrix\ printer\ entry? My tests imply that it is
> just lp.

I do not use systems with printcap myself, but termcap (and terminfo, BTW)
description states, that terminal aliases are separated by | with the last one
being the "long, user friendly, name". I believe, printcap behaves the same way.

So, the last entry should probably be ignored. Better yet, it is the one that
should be presented in verbose mode :-)

/andrej



Messages sorted by: Reverse Date, Date, Thread, Author