Re: cups-enable

2008-12-14 Thread Thilo Pfennig
One other thing: There is no man cups-enable. Also one cant get help. Personally I like to use it in /etc/rc.local to do this if links are not set, but I could not get any infos about any options - also not via cups-enable -h or cups-enable --help. regards, Thilo

Re: pkg_info message display [Re: cups-enable]

2008-12-14 Thread Marc Espie
On Sat, Dec 13, 2008 at 10:38:10AM -0700, Theo de Raadt wrote: > > .It Fl M > > Show the install-message file (if any) for each package. > > +If any step not documented in the manual must be taken before a package > > +can be used, this file will often mention it. > > That is an attempt to entir

Re: cups-enable

2008-12-14 Thread Antoine Jacoutot
On Sun, 14 Dec 2008, Jacob Meuser wrote: > > I think it would also be nice if README.OpenBSD were in pkg/ dirs > and handled automatically, kinda like MESSAGE is now. adding files/ > dirs seems like a waste. I like this. -- Antoine

Re: cups-enable

2008-12-14 Thread Jacob Meuser
On Sat, Dec 13, 2008 at 09:15:46PM -0500, Steve Shockley wrote: > On 12/12/2008 2:40 PM, Jacob Meuser wrote: >>> Who knows about -M? I'm serious. I've never used that option before, >>> and it's totally nonobvious that I should look through the man page to >>> find it. >> >> uh, you're saying it'

Re: cups-enable

2008-12-13 Thread Steve Shockley
On 12/12/2008 2:40 PM, Jacob Meuser wrote: Who knows about -M? I'm serious. I've never used that option before, and it's totally nonobvious that I should look through the man page to find it. uh, you're saying it's totally nonobvious that people should read the manuals of tools they are using

Re: pkg_info message display [Re: cups-enable]

2008-12-13 Thread Theo de Raadt
> .It Fl M > Show the install-message file (if any) for each package. > +If any step not documented in the manual must be taken before a package > +can be used, this file will often mention it. That is an attempt to entirely push the problem under the table. The default message should be releva

Re: pkg_info message display [Re: cups-enable]

2008-12-13 Thread Ingo Schwarze
Ted Unangst wrote on Fri, Dec 12, 2008 at 05:20:19PM -0500: > Why would I know to use -M? Because I read the man page and want to > see the "install-message file"? I already installed the damn thing, > so obviously I don't want to see that file. The install message is not a "message explaining

Re: pkg_info message display [Re: cups-enable]

2008-12-13 Thread Antoine Jacoutot
On Sat, 13 Dec 2008, Jacob Meuser wrote: > how is "too big" defined? is the above abbreviated CUPS message too > big to add to the default pkg_info output? At one point I was told that too big = >15 lines. > how about a standard directory for README.OpenBSD files? > ${PREFIX}/share/README.OpenBS

Re: pkg_info message display [Re: cups-enable]

2008-12-13 Thread Jacob Meuser
On Sat, Dec 13, 2008 at 10:10:26AM +0100, Landry Breuil wrote: > On Fri, Dec 12, 2008 at 11:27:44PM -0600, Marco Peereboom wrote: > > Ted is right. I do know about -M but I use it so frequently that I > > always have to find it in the man. pkg_info could should be able to > > display this info li

Re: pkg_info message display [Re: cups-enable]

2008-12-13 Thread Marc Balmer
* Landry Breuil wrote: [...] > about. But i think sthen@'s proposal to add a message like 'This package > has additional information, view it with pkg_info -M' is the most > 'user-friendly'. Yes, I'd second that.

Re: pkg_info message display [Re: cups-enable]

2008-12-13 Thread Landry Breuil
On Fri, Dec 12, 2008 at 11:27:44PM -0600, Marco Peereboom wrote: > Ted is right. I do know about -M but I use it so frequently that I > always have to find it in the man. pkg_info could should be able to > display this info like pkg_info cups. That makes intuitive sense to me > and I think other

Re: pkg_info message display [Re: cups-enable]

2008-12-12 Thread Marco Peereboom
Ted is right. I do know about -M but I use it so frequently that I always have to find it in the man. pkg_info could should be able to display this info like pkg_info cups. That makes intuitive sense to me and I think others as well. On Fri, Dec 12, 2008 at 11:00:20PM +0100, Marc Espie wrote: >

Re: pkg_info message display [Re: cups-enable]

2008-12-12 Thread Ted Unangst
On Fri, Dec 12, 2008 at 5:00 PM, Marc Espie wrote: > Like, gcc tells you to use -W -Wall if you forget to mention them ? > Or sh tells you to use set -e whenever it runs a shell script ? Duh, of course not. But why am I running pkg_info? Because I want *info*. That's the whole freaking purpose

Re: pkg_info message display [Re: cups-enable]

2008-12-12 Thread Marc Espie
On Fri, Dec 12, 2008 at 04:40:23PM -0500, Ted Unangst wrote: > On Fri, Dec 12, 2008 at 2:31 PM, Marc Espie wrote: > >> These are too easy to miss at some point after installation. > >> What does anyone think about doing something like this? > > > > Blech > > > > The issue is mostly to have less st

Re: pkg_info message display [Re: cups-enable]

2008-12-12 Thread Jacob Meuser
On Fri, Dec 12, 2008 at 08:31:07PM +0100, Marc Espie wrote: > On Fri, Dec 12, 2008 at 09:50:15AM +, Stuart Henderson wrote: > > On 2008/12/12 08:06, Marc Balmer wrote: > > > > > > > > It's also not mentioned by pkg_info as something of interest. It > > > > should be, right? > > > > > > Your

Re: pkg_info message display [Re: cups-enable]

2008-12-12 Thread Ted Unangst
On Fri, Dec 12, 2008 at 2:31 PM, Marc Espie wrote: >> These are too easy to miss at some point after installation. >> What does anyone think about doing something like this? > > Blech > > The issue is mostly to have less stuff displayed during installation, which > is not yet done, but should be.

Re: cups-enable

2008-12-12 Thread Jacob Meuser
On Fri, Dec 12, 2008 at 09:58:01PM +0100, Antoine Jacoutot wrote: > On Fri, 12 Dec 2008, Jacob Meuser wrote: > > > On Fri, Dec 12, 2008 at 09:48:35PM +0100, Antoine Jacoutot wrote: > > > On Fri, 12 Dec 2008, Jacob Meuser wrote: > > > > one last note: pretty much every driver that can be used with

Re: cups-enable

2008-12-12 Thread Antoine Jacoutot
On Fri, 12 Dec 2008, Jacob Meuser wrote: > On Fri, Dec 12, 2008 at 09:48:35PM +0100, Antoine Jacoutot wrote: > > On Fri, 12 Dec 2008, Jacob Meuser wrote: > > > one last note: pretty much every driver that can be used with cups > > > can be used with base lpd, it's just a little more work ... imo t

Re: cups-enable

2008-12-12 Thread Jacob Meuser
On Fri, Dec 12, 2008 at 09:48:35PM +0100, Antoine Jacoutot wrote: > On Fri, 12 Dec 2008, Jacob Meuser wrote: > > one last note: pretty much every driver that can be used with cups > > can be used with base lpd, it's just a little more work ... imo the > > This is true except it is much more compli

Re: cups-enable

2008-12-12 Thread Antoine Jacoutot
On Fri, 12 Dec 2008, Jacob Meuser wrote: > one last note: pretty much every driver that can be used with cups > can be used with base lpd, it's just a little more work ... imo the This is true except it is much more complicated to pass options to stock lpd than it is for cups if I want e.g. a4 wi

Re: cups-enable

2008-12-12 Thread Jacob Meuser
On Fri, Dec 12, 2008 at 03:08:03PM +0100, Artur Grabowski wrote: > Marc Balmer writes: > > > Your are wrong. When you install CUPS, a message is displayed. > > That message can be redisplayed at any time using 'pkg_info -M cups'. > > Is this like Postfix where postfix is disabled by pkg_add -u

Re: cups-enable

2008-12-12 Thread Jacob Meuser
On Fri, Dec 12, 2008 at 09:46:32AM -0500, Ted Unangst wrote: > On Fri, Dec 12, 2008 at 2:06 AM, Marc Balmer wrote: > >> It's also not mentioned by pkg_info as something of interest. It > >> should be, right? > > > > Your are wrong. When you install CUPS, a message is displayed. > > That message

Re: pkg_info message display [Re: cups-enable]

2008-12-12 Thread Marc Espie
On Fri, Dec 12, 2008 at 09:50:15AM +, Stuart Henderson wrote: > On 2008/12/12 08:06, Marc Balmer wrote: > > > > > > It's also not mentioned by pkg_info as something of interest. It > > > should be, right? > > > > Your are wrong. When you install CUPS, a message is displayed. > > That messag

Re: pkg_info message display [Re: cups-enable]

2008-12-12 Thread Ted Unangst
On Fri, Dec 12, 2008 at 4:50 AM, Stuart Henderson wrote: > On 2008/12/12 08:06, Marc Balmer wrote: >> > >> > It's also not mentioned by pkg_info as something of interest. It >> > should be, right? >> >> Your are wrong. When you install CUPS, a message is displayed. >> That message can be redispl

Re: cups-enable

2008-12-12 Thread Ted Unangst
On Fri, Dec 12, 2008 at 2:06 AM, Marc Balmer wrote: >> It's also not mentioned by pkg_info as something of interest. It >> should be, right? > > Your are wrong. When you install CUPS, a message is displayed. > That message can be redisplayed at any time using 'pkg_info -M cups'. Who knows about

Re: cups-enable

2008-12-12 Thread Artur Grabowski
Marc Balmer writes: > Your are wrong. When you install CUPS, a message is displayed. > That message can be redisplayed at any time using 'pkg_info -M cups'. Is this like Postfix where postfix is disabled by pkg_add -u and the message about enabling it drowns in the bazillion of lines about rebu

Re: pkg_info message display [Re: cups-enable]

2008-12-12 Thread Jacob Meuser
On Fri, Dec 12, 2008 at 09:50:15AM +, Stuart Henderson wrote: > On 2008/12/12 08:06, Marc Balmer wrote: > > > > > > It's also not mentioned by pkg_info as something of interest. It > > > should be, right? > > > > Your are wrong. When you install CUPS, a message is displayed. > > That messag

Re: pkg_info message display [Re: cups-enable]

2008-12-12 Thread Marc Balmer
* Stuart Henderson wrote: > On 2008/12/12 08:06, Marc Balmer wrote: > > > > > > It's also not mentioned by pkg_info as something of interest. It > > > should be, right? > > > > Your are wrong. When you install CUPS, a message is displayed. > > That message can be redisplayed at any time using '

pkg_info message display [Re: cups-enable]

2008-12-12 Thread Stuart Henderson
On 2008/12/12 08:06, Marc Balmer wrote: > > > > It's also not mentioned by pkg_info as something of interest. It > > should be, right? > > Your are wrong. When you install CUPS, a message is displayed. > That message can be redisplayed at any time using 'pkg_info -M cups'. These are too easy t

Re: cups-enable

2008-12-11 Thread Marc Balmer
* Ted Unangst wrote: > wondering why things stopped working after an upgrade, it took me a > little while to remember that lpr was overwritten. but then it took a > while longer to find cups-enable, even after I remembered that I > needed to run it, because it's not cupsenable, which is the only o

Re: cups-enable

2008-12-11 Thread Jacob Meuser
On Fri, Dec 12, 2008 at 05:33:17AM +, Jacob Meuser wrote: > On Fri, Dec 12, 2008 at 12:00:21AM -0500, Ted Unangst wrote: > > While on the subject, the lpd.pre-cups test is a little broken. I had > > my old lpd backed up (pre-upgrade). Now the 4.4 tools are gone, and > > the backups are from

Re: cups-enable

2008-12-11 Thread Jacob Meuser
On Fri, Dec 12, 2008 at 12:00:21AM -0500, Ted Unangst wrote: > wondering why things stopped working after an upgrade, it took me a > little while to remember that lpr was overwritten. but then it took a > while longer to find cups-enable, even after I remembered that I > needed to run it, because