Re: OpenBSD 5.0-beta non-free firmware

2011-07-19 Thread Ingo Schwarze
Hi Patrick, patrick keshishian wrote on Tue, Jul 19, 2011 at 11:32:42AM -0700: > On Tue, Jul 19, 2011 at 6:15 AM, Kenneth R Westerback wrote: >> This option will download and install firmware files for things > download from? $ less `which fw_update` # and type /PKG_ $ man fw_update Yours,

Re: may be bug

2011-08-08 Thread Ingo Schwarze
Hi Igor, igor denisov wrote on Mon, Aug 08, 2011 at 02:39:23PM +0400: > I am not sure if it a bug, It looks like a copy-and-paste bugs in your script. > read_line: ./num.sh[23]: $: not found Run hexdump -C on your script. I see this, for example: 23 21 2f 62 69 6e 2f 6b 73 68 0a 49

Re: question about documentation

2011-09-17 Thread Ingo Schwarze
Hi, Daniel Villarreal wrote on Sat, Sep 17, 2011 at 10:54:52AM -0400: > OpenBSD is indeed about correctness, that's computer code, so that's > pretty much cut-and-dried. Human language, on the other hand, is not > so cut-and-dried. The language in OpenBSD is correct when jmc@ and nick@ like it,

Re: nginx

2011-09-22 Thread Ingo Schwarze
Hi Amit, Amit Kulkarni wrote on Thu, Sep 22, 2011 at 06:47:29PM -0500: > Wow.bye bye apache. Not yet. This is the start of a project, not the completion. Now, nginx has to prove itself. > Does it seem like changes are occurring at a blinding pace in last year? Maybe, though certain

Re: rc_scripts

2011-09-24 Thread Ingo Schwarze
Hi, Tomas Bodzar wrote on Sat, Sep 24, 2011 at 06:53:00PM +0200: > On Sat, Sep 24, 2011 at 5:41 PM, Alessandro Baggi wrote: >> There some place where I can find some logs error? >> In /var/log I don't see nothing. > There was in man rc.d this: > > RC_DEBUG Setting this variable will print the

Re: rc_scripts

2011-09-25 Thread Ingo Schwarze
Hi, Remco wrote on Sun, Sep 25, 2011 at 08:28:10AM +0200: > To avoid release/architecture mixups you could use something > like "/pub/OpenBSD/`uname -r`/packages/`uname -m`/". That sounds like terrible advice: $ sysctl kern.version kern.version=OpenBSD 5.0-current (GENERIC) #7: Wed Sep 21

Re: no packages for amd64 snapshot

2011-09-25 Thread Ingo Schwarze
Hi, ropers wrote on Sun, Sep 25, 2011 at 03:25:58AM +0200: >> On 2011-09-23, ropers wrote: >>>$ mandoc -Tascii /usr/ports/infrastructure/build/dpb3.1 | less > mandoc -Tascii /usr/ports/infrastructure/man/man1/dpb.1 | less As you keep citing that line from the outdated undeadly article, here

Re: xenocara missing xshare50.tgz

2011-10-06 Thread Ingo Schwarze
Hi Darrel, Darrel wrote on Thu, Oct 06, 2011 at 02:02:06PM -0400: > Yesterday I installed -current, Welcome. > got source and built the system. ... and promptly caused yourself issues: http://www.openbsd.org/faq/faq5.html#WhySrc Use snapshots. > I have not built xenocara in the past. > >

Re: Couple of issues with man pages.

2011-10-12 Thread Ingo Schwarze
Hi David, David Walker wrote on Thu, Oct 13, 2011 at 04:01:22AM +1030: > I'm looking at cvs and man pages and stuff. > > I notice that two cvs pages - cvs(1) and cvs(5) - don't have SEE ALSO > hyperlinks appearing in cgi ... > > http://www.openbsd.org/cgi-bin/ \ > man.cgi?query=cvs&sektion=1&

Re: Couple of issues with man pages.

2011-10-12 Thread Ingo Schwarze
Hi Kristaps, Kristaps Dzonsons wrote on Wed, Oct 12, 2011 at 09:26:11PM +0200: > Tip: you can usually tell straightaway whether a manual is in > mdoc(7) or man(7) by looking at the header. If it has the nice > volume name as the centre of three columns (e.g., "OpenBSD Reference > Manuals"), then

Re: Couple of issues with man pages.

2011-10-12 Thread Ingo Schwarze
Hi David, David Walker wrote on Thu, Oct 13, 2011 at 09:54:27AM +1030: > Kristaps Dzonsons wrote: >> Tip: you can usually tell straightaway whether a manual is in mdoc(7) or >> man(7) by looking at the header. If it has the nice volume name as the >> centre of three columns (e.g., "OpenBSD Refe

Re: query bug reports?

2011-10-14 Thread Ingo Schwarze
Hi, Alexander Polakov wrote on Sat, Oct 15, 2011 at 01:13:00AM +0400: > What I dislike is when I get no comments at all. There are two typical reasons for that: - The people in charge missed it / forgot about it. You can try to figure out (using CVS history) who is in charge in that part

Re: man page sources?

2011-10-23 Thread Ingo Schwarze
n/cat* if you no longer want to have the preformatted versions around. Yours, Ingo #!/usr/bin/perl # # Copyright (c) 2011 Ingo Schwarze # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright noti

Re: man page sources?

2011-10-23 Thread Ingo Schwarze
Hi Douglas, Christian Weisgerber wrote on Sun, Oct 23, 2011 at 05:27:06PM +: > Douglas Ray wrote: >> If I get anywhere useful, might there be any interest in >> posting a "manman49.tgz" on ftp.openbsd.org? ... a small >> addendum, for those of us bitten by OpenBSD 4.9's little >> excursion f

Re: man page sources?

2011-10-23 Thread Ingo Schwarze
Theo de Raadt wrote on Sun, Oct 23, 2011 at 12:01:18PM -0600: > Ingo Schwarze wrote: >> Regarding the brute force approach, good luck backporting the >> build system changes 28 times (from 5.0 to 2.2), demonstrating >> that the backport is correct and not missing any manu

Re: how to use the new rc.d system to start the daemon with systrace?

2011-10-23 Thread Ingo Schwarze
Stuart Henderson wrote on Fri, Oct 21, 2011 at 10:17:11AM +: > On 2011-10-21, johnw wrote: >> after upgrade to current, now /etc/rc use the new rc.d system. >> my question is how to start the daemon(ntpd, named etc ..) with systrace? >> before upgrade to new rc.d system, i can edit /etc/rc li

Re: man page sources?

2011-10-24 Thread Ingo Schwarze
Hi Michal, Michal Mazurek wrote on Mon, Oct 24, 2011 at 11:02:05AM +0200: > On Sun, Oct 23, 2011 at 02:14:02PM +0200, Ingo Schwarze wrote: >> I committed build system changes to install source manuals >> and no longer install formatted manuals from 5.0 onwards. > This is

Re: bootstrap.pl

2011-11-01 Thread Ingo Schwarze
Hi Sime, Sime Ramov wrote on Mon, Oct 31, 2011 at 12:45:29PM +0100: > I've got tired of setting up my system after clean installs of -current > so I wrote this simple script which I pipe to perl immediately after > first boot. You want to look at http://www.openbsd.org/faq/faq4.html#site You

Re: Updating plus.html

2011-11-02 Thread Ingo Schwarze
Hi, Amit Kulkarni wrote on Wed, Nov 02, 2011 at 09:18:55AM -0500: > Yeah, its a lot of work... found out the hard way. It was a huge time > sucker. Wow, that's something. The hard part about it is actually *understanding* what the commits do, to get the one-line summary right. A good commit mes

Re: makewhatis on /usr

2011-11-19 Thread Ingo Schwarze
Hi Thomas, Thomas de Grivel wrote on Sat, Nov 19, 2011 at 03:32:03PM +0100: > From weekly output : >> Rebuilding whatis databases: >> /usr/libexec/makewhatis: Can't create /usr/share/man/whatis.db: >> Read-only file system > Should not whatis.db be in /var/... ? I think you have a point. Spec

Re: makewhatis on /usr

2011-11-19 Thread Ingo Schwarze
Hi Marc, Marc Espie wrote on Sat, Nov 19, 2011 at 05:40:38PM +0100: > On Sat, Nov 19, 2011 at 04:31:57PM +0100, Ingo Schwarze wrote: >> Thomas de Grivel wrote on Sat, Nov 19, 2011 at 03:32:03PM +0100: >>> From weekly output : >>>> Rebuilding whatis databases: >&

Re: test(1)

2011-11-19 Thread Ingo Schwarze
Hi, Barry Grumbine wrote on Fri, Nov 18, 2011 at 11:04:12PM -0700: > "man [" used to give me the test(1) manpage, doesn't anymore. > Is that something that needs fixin'? i have moved this thread to tech@, sending a patch. Look for: Subject: escape man(1) arguments from glob(3) Thanks, Barry,

Re: makewhatis on /usr

2011-11-19 Thread Ingo Schwarze
Hi Pascal, Pascal Stumpf wrote on Sun, Nov 20, 2011 at 01:18:27AM +0100: > On Sat, 19 Nov 2011 18:05:42 +0100, Ingo Schwarze wrote: >> Marc Espie wrote on Sat, Nov 19, 2011 at 05:40:38PM +0100: >>> On Sat, Nov 19, 2011 at 04:31:57PM +0100, Ingo Schwarze wrote: >>>>

Re: include sys/cdefs.h in sys/mmap.h

2010-02-24 Thread Ingo Schwarze
Christopher Zimmermann wrote on Wed, Feb 24, 2010 at 08:53:28PM +0100: > I just got some errors while trying to compile ptlib: > > error: type specifier omitted for parameter `size_t' > [...] > > They resulted from size_t not being defined in sys/mmap.h > I could fix this problem by including sy

Re: Badly formatted output for man -k

2010-02-26 Thread Ingo Schwarze
Hi Tomas, i'm answering off the top of my head, so bear with me in case this is not entirely accurate, i'm lacking the time to check the details right now. > I installed jre-1.7.0 from packages and add directories to > /etc/man.conf, but when using 'man -k' I can see some messed output. What apr

Re: errata46.html update

2010-03-13 Thread Ingo Schwarze
Hi David, David Vasek wrote on Sat, Mar 13, 2010 at 10:38:48AM +0100: > On Fri, 12 Mar 2010, Christopher Ahrens wrote: >> You aren't missing anything, these are 2 different webservers: >> OpenBSD.org [199.185.137.3, IP registered to Theos Software] Yes, and that is cvs.openbsd.org, one

Re: /altroot problem

2010-03-28 Thread Ingo Schwarze
Andreas Gerdd wrote on Sun, Mar 28, 2010 at 06:01:07PM +0300: > On Sun, Mar 28, 2010, Nick Holland wrote: >> Andreas Gerdd wrote: >>> I try to have a root backup with /altroot. >>> I did everything related to the man pages. But i wonder why my >>> /altroot partition is still empty. >>> >>> fstab

Re: /altroot problem

2010-03-28 Thread Ingo Schwarze
>> What does >> $ df /altroot >> tell you, in particular, which mount point is it reporting? >> "Mounted on /" or "Mounted on /altroot"? > df /altroot shows: "Mounted on /" > (df -h doesn't show /altroot.) Thus, /altroot is currently not mounted. > So i cannot browse the content of /altroot, ev

Re: Is this a case of paranoia?

2010-04-24 Thread Ingo Schwarze
> My apologies then. > It is just a screenshot of our IT guys classifying OpenBSD as > a Hacking website. Sure, is there anything wrong with that? By chance, do you mean to imply it's actually rather a slacking website? In that case, i might perhaps consider feeling offended, when i find the tim

Re: How to refresh a map when using ypldap?

2010-04-25 Thread Ingo Schwarze
Hi Vijay, Vijay Sankar wrote on Sun, Apr 25, 2010 at 09:31:14AM -0500: > When using ypldap, if I > > cd /var/yp > make Executing Makefile.yp(8) will generate YP maps from static files. There is no way how that could fetch information from LDAP. So i do not think you want to update your maps in t

Re: Differences between www.openbsd.org and openbsd.org

2010-05-19 Thread Ingo Schwarze
Peter N. M. Hansteen wrote on Wed, May 19, 2010 at 09:26:50PM +0200: > some anonymous coward wrote: >> Look at the differences between: >> http://openbsd.org/faq/pf/rdr.html and >> http://www.openbsd.org/faq/pf/rdr.html > the first for some reason has an old version, The server openbsd.org is ac

Re: Minimally painful mail client for "rich" (spit!) messages

2011-02-09 Thread Ingo Schwarze
h" formatting you are talking about. Yours, Ingo schwarze@iris $ cat /etc/mailcap text/html; /usr/bin/lynx -stdin -force_html -dump ; copiousoutput text/rtf; /usr/local/bin/unrtf --nopict --text %s ; copiousoutput application/pdf; /usr/local/bin/

Re: find(1) manpage caveats section

2011-02-09 Thread Ingo Schwarze
Hi Otto, Otto Moerbeek wrote on Wed, Feb 09, 2011 at 09:43:54AM +0100: > On Wed, Feb 09, 2011 at 12:25:09AM -0700, Clint Pachl wrote: >> In the caveats section it states the following: >> >> >> Passing the output of find to other programs requires some care: >> >>$ find . -na

Re: Minimally painful mail client for "rich" (spit!) messages

2011-02-27 Thread Ingo Schwarze
Sorry for not snipping more, all the old text is really needed to understand the answer. Jan Stary wrote on Fri, Feb 25, 2011 at 02:36:52PM +0100: > On Feb 24 10:57:26, Joachim Schipper wrote: >> On Thu, Feb 24, 2011 at 10:11:22AM +0100, Jan Stary wrote: >>> On Feb 09 17:56

Re: Specs for a firewall.

2011-03-01 Thread Ingo Schwarze
STeve Andre' wrote on Tue, Mar 01, 2011 at 03:05:50AM -0500: > I don't think I have any Compudyne 486's left, but if I find one > I'll try it with that, too. I'd bet it could deal with a 10Mb link > just fine, too. Actually, i ran our main firewall (three-leg intranet/Internet/DMZ) with NAT for

Re: Creating release using site48.tgz

2011-05-10 Thread Ingo Schwarze
Hi Stefanus, Stefan N wrote on Tue, May 10, 2011 at 06:51:53AM -0700: > I was making the site48.tgz for testing > and there is only /etc/rc.firsttime. That's the one file you don't want to put in there. [...] > However, after I log in to the new system, the new users > that I created (using so

Re: Creating release using site48.tgz

2011-05-10 Thread Ingo Schwarze
Hi Stefanus, Stefan N wrote on Tue, May 10, 2011 at 08:11:53AM -0700: > So what you meant is: > I need to create the install.site script with the content of some > commands that I made for rc.firsttime. No, that is not what i meant and not what the FAQ says. However, in your particular case, it

Re: Loggin dmesge

2011-05-28 Thread Ingo Schwarze
Hi Jean-Fran,cois, Jean-Frangois SIMON wrote on Sat, May 28, 2011 at 01:25:17PM +0200: > Please could you help me to log all messages of dmesg to a file - > I've been reading the man pages syslogd & its conf file but I'm not > sure how to properly set it up ... No need to set up anything, rc(8)

Re: Loggin dmesge

2011-05-28 Thread Ingo Schwarze
Hi Jean-Fran,cois, Jean-Frangois SIMON wrote on Sat, May 28, 2011 at 02:36:31PM +0200: > I would like to have a file logging the activity of dmesg after boot > as well. I'm not sure it is the reight way to set it up. As Peter already said, all of that goes to /var/log/messages per default: $

Re: serious security improvement in OpenBSD

2011-06-06 Thread Ingo Schwarze
Hi Patrick, Patrick Lamaiziere wrote on Mon, Jun 06, 2011 at 06:59:48PM +0200: > Le Mon, 06 Jun 2011 15:06:54 +0300, > Kapetanakis Giannis a icrit : >> Who is this 'Charlie' guy anyway??? > That is a good question. I've searched in the past looking old system > passwd to find who decided this n

Re: Would you accept a free guest article or blog post for openbsd-wiki.org?

2011-06-09 Thread Ingo Schwarze
Stuart Henderson wrote on Thu, Jun 09, 2011 at 09:21:38PM +: > Seriously, if whoever "maintains" openbsd-wiki.org is reading, > do us all a favour and take it offline unless you have time to look > after it... Even if you have the time to maintain it, take it offline all the same. Your time i

Re: 64bit (or better) memory reads in i386

2011-06-12 Thread Ingo Schwarze
Hi Mehma, Mehma Sarja wrote on Sun, Jun 12, 2011 at 04:58:11AM -0700: > "From: Giridhari > Sent: Thursday, February 04, 2010 7:28 AM > To:dera...@theos.com > Subject: pico and/or nano in the releases and snapshots > > Hare Krsna Mr. DeRaadt. > > I am trying to write

Re: sed behavior

2011-06-12 Thread Ingo Schwarze
Hi Nils, Nils Anspach wrote on Sun, Jun 12, 2011 at 12:49:42PM +0200: > I have an issue with sed. Why does > > echo 'ab' | sed -E 's/a|$/x/g' > > give 'x' whereas I sense a bug here. Tracing a bit around process(), it looks like the first application of the s command yields dst = "x" con

Re: man cp: -i versus -f

2011-06-15 Thread Ingo Schwarze
Otto Moerbeek wrote on Wed, Jun 15, 2011 at 05:41:08PM +0200: > Posix does not say anything about the interaction of -i and -f. I seem to dimly remember that POSIX says something about the precedence of conflicting options in general (in general as in: when there is no specific ruling for a speci

Re: sed behavior

2011-06-18 Thread Ingo Schwarze
Hi Sven, > but what about this diff, 1) Please use diff -up. 2) It doesn't apply to my tree. If i understand your intention correctly, that is, replacing the "} else {" by just "}" and doing the content of the else clause unconditionally, that's plain wrong. It makes sed miss one out of two re

Re: sed behavior

2011-06-18 Thread Ingo Schwarze
Hi Otto, from careful code inspection, your patch looks correct. Replacing the ">" by ">=" is wrong, it would breaks this test case: echo abc | ./obj/sed -E 's/(b|())/x/g' However, the code is hard to follow, and i suggest the following refactoring such that people doing a review can more eas

Re: -I-

2011-06-21 Thread Ingo Schwarze
Hi Friedrich, Friedrich Locke wrote on Tue, Jun 21, 2011 at 06:42:22PM -0300: > I have just installed OpenBSD 4.9 and when i try to compile an ansi C > source file it complains about using "-I-" and suggest "-iquote". > What is that? What does "-iquote" means ? To get you started, read gcc(1) an

Re: Can command-line options be specified in any place?

2011-06-21 Thread Ingo Schwarze
vadi...@gmail.com wrote on Tue, Jun 21, 2011 at 07:39:31PM -0400: > ls -l foo -h That's ugly, useless and dangerous. > Is there an easy way to get the desired behavior on OpenBSD? No. We don't desire it. If you want Linux, use Linux.

Re: Bug in www manual pages

2010-06-13 Thread Ingo Schwarze
Hi Tomas, > if you will visit http://www.openbsd.org/cgi-bin/man.cgi and want to > read some of intro(x) pages, then all lead to intro(1). But you can > see above, that section was changed correctly. But if you will enter > intro to Man Page or Keyword Search: and choose eg. section 9, then > afte

Re: 1 out of 3 hunks failed--saving rejects to kerberosV/src/lib/krb5/crypto.c.rej

2010-06-21 Thread Ingo Schwarze
Hi Tony, Tony Berth wrote on Mon, Jun 21, 2010 at 08:11:31PM +0200: > but FAQ5 is about 'Building the System from Source' which I don't want! > I just want to patch an existing system! http://www.openbsd.org/faq/faq10.html#Patches Note that this one doesn't talk about cvs checkout at all, but r

Re: Patch for mtree (the "-X" flag)

2010-06-30 Thread Ingo Schwarze
Hi Teemu, Teemu Rinta-aho wrote on Wed, Jun 30, 2010 at 12:51:17PM +0300: > I need the "-X" flag for mtree on OpenBSD to exclude certain paths. > So, I ported the functionality from NetBSD. Seems to work for me. Personally, i'm not holding a strong opinion whether or not we should have that func

Re: Multiple web servers hosting different sites behind single public IP (all listening on port 80)?

2010-07-01 Thread Ingo Schwarze
Hi Scott, Scott Wood wrote on Thu, Jul 01, 2010 at 04:09:25PM -0400: > I've recently switched over to a single static IP and am struggling with a > Problem: How to have multiple web servers hosting different sites behind > single public IP (all listening on port 80)? httpd(8) can do reverse prox

Re: no Chroot in Match Block of sshd?

2010-07-02 Thread Ingo Schwarze
Devin Ceartas wrote on Fri, Jul 02, 2010 at 08:48:39PM -0400: > /etc/ssh/sshd_config: line 119: Bad configuration option: > ChrootDirecotry Typo? s/cot/cto/

Re: UTF-8

2010-08-07 Thread Ingo Schwarze
Alexander Polakov wrote on Sat, Aug 07, 2010 at 06:52:24PM +0400: > I made a patch for ls based on NetBSD (see below), works just fine for me. Ugh. I hate that. Well, i partly see a point in providing such functions in libraries, because libraries are used for compiling all sorts of software, in

Re: OpenBSD Vim Programming FAQ

2010-08-12 Thread Ingo Schwarze
Tomas Vavrys wrote on Thu, Aug 12, 2010 at 09:52:57AM +0200: > I don't want to do it Don't talk about what you want to do, just do it. When it's done, tell people to look at the *result* and decide whether it is useful or useless. Shut up and hack. > 2) STYLE(9) will be our bible The style(9)

Re: GCC manpage glitch

2010-08-18 Thread Ingo Schwarze
Hi Kristaps, not sure misc@ is the ideal list for discussing this (as opposed to, say, discuss at mdocml dot bsd dot lv), but as you started here and the topic will soon be finished: Kristaps Dzonsons wrote on Mon, Aug 16, 2010 at 11:38:09AM +0200: > Good catch. For any roff people, the culprit

Re: Some apps kill/hang X when using scrotwm(1) as wm

2010-08-18 Thread Ingo Schwarze
Nick Holland wrote on Wed, Aug 18, 2010 at 07:07:14PM -0400: > On 08/18/10 14:02, Owain Ainsworth wrote: >> As a note, scotwm really needs it own mailing list, > and a graphic! don't forget a graphi...er..hmmm > Maybe that wouldn't be such a good idea. Why? What's wrong with a graphic for

Re: cp -r different than cp -R ?

2009-11-19 Thread Ingo Schwarze
Rodolfo Gouveia wrote on Thu, Nov 19, 2009 at 05:06:10PM -0500: > It seems the 'r' flag isn't mentioned on the man page. schwa...@gini $ man cp | tail -n 9 Historic versions of the cp utility had a -r option. This implementation supports that option; however, its use is strongly disco

Re: How to redirect output from /etc/rc.shutdown

2009-12-01 Thread Ingo Schwarze
Hi Theodore, > Anyway, I would like to have the system confirm a shutdown or reboot > before actually doing it. Why? And who will be allowed to initiate a shutdown that way? Without knowing that, it's hard to suggest a sane approach. > I could do something like rename the shutdown/reboot/halt c

Re: Free Gorillas

2009-12-08 Thread Ingo Schwarze
Paige Thompson asked on Tue, Dec 08, 2009 at 01:46:44PM -0800: > ftp.openbsd.org got rid of the free gorillas, whats up with that? I guess Bob loves that monkey so much, he now keeps him at home.

Re: vi in /bin

2009-12-18 Thread Ingo Schwarze
Randal L. Schwartz wrote on Fri, Dec 18, 2009 at 03:27:07PM -0800: > Everything I used to know about sed, I've forgotten once learning Perl. That's bad: sed is still needed, see /usr/src/distrib/miniroot/list for a striking example. That said, liking and using Perl a lot, the same happens to me,

Re: vi in /bin

2009-12-19 Thread Ingo Schwarze
Matthew Szudzik wrote on Sat, Dec 19, 2009 at 05:34:23PM +: > But if you're going to learn just one of them, then I vote for sed. Marc, rewrite pkg* in sed. Please... :)

Re: Sed and GNU-like

2010-01-22 Thread Ingo Schwarze
Hi Marcello, Marcello Cruz wrote on Fri, Jan 22, 2010 at 10:31:18PM -0200: > I've read the documentation about sed - sed(8), re_format(7) and > /usr/share/doc/usd/15.sed/ - but I still don't realize how to make > this command work: First decide whether you want to use basic or extended regular e

Re: way to help: laptops and weekly

2010-01-28 Thread Ingo Schwarze
Kevin Kadow wrote on Tue, Jan 26, 2010 at 04:40:13PM -0600: > and also like his suggestion to check 'apm' and not launch housekeeping > tasks when solely on battery power. I fear that's not an option. The apm(8) utility uses the apm(4) device which is limited to i386, AMD64, Zaurus and MacPPC.

Re: way to help: laptops and weekly

2010-01-31 Thread Ingo Schwarze
Lars Nooden wrote on Sun, Jan 31, 2010 at 09:04:19PM +0200: > Ingo Schwarze wrote: >> I'm neither excited about any of the solutions proposed in this >> thread - perhaps except that nick@'s disknice looks attractive, but i >> have no idea whether and how that

Re: way to help: laptops and weekly

2010-01-31 Thread Ingo Schwarze
Kevin Kadow wrote on Thu, Jan 28, 2010 at 06:28:13PM -0600: > So maybe what we really need is just a message at boot? > Its been 824 days since? /etc/weekly was last run On a laptop or on a desktop workstation, i would hardly see this, because these usually boot straight into X. Do you read rc(8

Re: way to help: laptops and weekly

2010-01-31 Thread Ingo Schwarze
Joakim Aronius wrote on Fri, Jan 29, 2010 at 09:32:05AM +0100: > * Ingo Schwarze (schwa...@usta.de) wrote: >> situation, so i consider tedu@'s question unanswered. I'm not even sure >> there is a good solution at all: Jan Stary and Jonathan Thornburg have >> presen

Re: way to help: laptops and weekly

2010-01-31 Thread Ingo Schwarze
Hi Matthew, Matthew Szudzik wrote on Sun, Jan 31, 2010 at 11:46:38PM +: > On Mon, Feb 01, 2010 at 12:24:15AM +0100, Ingo Schwarze wrote: >> It would be bad advice to disable the daily/weekly/monthly jobs >> on all non-server systems. I mean, when the machine is switched off

Re: way to help: laptops and weekly

2010-02-01 Thread Ingo Schwarze
Jacob Meuser wrote on Mon, Feb 01, 2010 at 05:55:28AM +: > how about if cron keeps track of the time it was last able to successfully > run a job. then when cron starts, send an email for all jobs missed since > that time? or maybe just send an email to remind that daily/weekly/ > monthly wa

Re: GNOBSD-Project introduction

2010-02-01 Thread Ingo Schwarze
Scott Beamer wrote on Mon, Feb 01, 2010 at 11:53:51PM +: > It looks like Stefan is an OpenBSD developer now. Neither stefan@ nor stsp@ are called "Rinkes", so you are probably confusing different people.

Re: way to help: laptops and weekly

2010-02-02 Thread Ingo Schwarze
David Coppa wrote on Tue, Feb 02, 2010 at 04:19:07PM +0100: > Maybe this can be an idea: > http://xyne.archlinux.ca/manpages/cronwhip Citing from that page: :: DESCRIPTION :: Cronwhip runs cronjobs that would have been run in the time since the :: last system shutdown. Cronwhip can be run at

Re: Disk architecture during install

2010-02-02 Thread Ingo Schwarze
Jean-Francois wrote on Tue, Feb 02, 2010 at 10:38:59PM +0100: > I am looking for a way to easily identify the various names given by OpenBSD > to the disks before install, in order to be able to correctly make the slides > and mount points during an install on a complicated system with several h

Re: disknice

2010-02-04 Thread Ingo Schwarze
Hi Ted, > pid = fork(); > if (pid == -1) > err(127, "fork"); > if (!pid) { > execvp(nargv[0], nargv); > write(2, "failed to exec\n", 15); > _exit(127); > } > usleep(10); > while (!waitpid(pid, &status, WNOH

Re: ddclient man page ?

2009-07-25 Thread Ingo Schwarze
Hi Jean-Francois, > Is this wise to use ddclient according to one's experience, Well, ddclient is rather low quality Perl code, but it does its job. Actually, regarding a DynDNS client, the quality of the code is less important than the care it takes to avoid unnecessary updates, such that you d

Re: ddclient man page ?

2009-07-25 Thread Ingo Schwarze
Hi Jean-Francois, jean-francois wrote on Sat, Jul 25, 2009 at 10:11:40PM +0200: > Am I allowed to assume that there is no security flaw within such > little peace of software? No, small software can have security flaws, too. But in this particular case, what exactly do you fear? - You do not

Re: adduser vs useradd (rmuser vs userdel)

2009-09-13 Thread Ingo Schwarze
Hi Frantisek, frantisek holop wrote on Mon, Sep 14, 2009 at 12:34:59AM +0200: > this question was always kind of in the back of my mind: > why are there 2 sets of commands for adding and removing > users? Purely historical reasons, AFAIK. > looking at the man pages their functionalities quite o

Re: Relevant article

2009-09-13 Thread Ingo Schwarze
Daniel Bolgheroni wrote on Thu, Sep 10, 2009 at 05:09:09PM +: > since Nick Holland touched on the DESIGN aspect in his e-mail regarding > supporting OpenBSD, I think this article pretty much reflects the > reality here. > > http://www.osnews.com/story/22135/The_Problem_with_Design_and_Imple

Re: batch -f command does not know working directory info at invocation time

2009-10-05 Thread Ingo Schwarze
Hi Austin, Austin Hook wrote on Mon, Oct 05, 2009 at 12:55:11PM -0700: [ citations reordered ] > $ echo echo hello >ee > $ batch -f ee > Cannot open input file: No such file or directory That looks like a bug to me. The function main() in at.c calls set_cron_cwd(), changing to /var/cron, befor

Re: Daily script - wake up disk

2009-10-17 Thread Ingo Schwarze
Hi Jean-Francois, jean-francois wrote on Sat, Oct 17, 2009 at 12:25:31PM +0200: > I could clarify one thing more : the disk with home and var and usr > and / and all system points is a SSD so always running. > > I have mounted two separately drives which are both high capacity > classic rotating

Re: output of daily script and man afterboot

2009-10-22 Thread Ingo Schwarze
Hi Rene, Rene Maroufi wrote on Thu, Oct 22, 2009 at 09:20:43AM +0200: > I don't want the output of the daily script mailed. > In man afterboot (section crontab) is an example to write the output > in /var/log/daily.out, but this example doesn't work in 4.6. > I used this always and it was no prob

Re: Unsetting ForceCommand in openssh

2009-11-07 Thread Ingo Schwarze
Hi Lars, Lars Nooden wrote on Sat, Nov 07, 2009 at 12:59:00PM +0200: > I'm looking at the configuration for OpenSSH_5.3 and wish to force > commands and chroot all users, except one group. sshd_config(5): The arguments to Match are one or more criteria-pattern pairs. The availab

Re: Compiling 4.6 i386 GENERIC - error - don't know how to make vers.o. Stop in ...

2009-11-09 Thread Ingo Schwarze
Hi Lars, Lars Nooden wrote on Mon, Nov 09, 2009 at 02:50:47PM +0200: > I'm under the belief that I have a fresh GENERIC installation of 4.6 > for i386. I unpacked src.tar.gz and sys.tar.gz and then updated > using anoncvs. However, when trying to make 'depend', http://www.openbsd.org/faq/faq5.

Re: aac raid status

2009-11-09 Thread Ingo Schwarze
Hi Michael, > aac0 at pci2 dev 1 function 0 "Adaptec ASR-2200S" rev 0x01: > Dell CERC-SATA apic 3 int 0 (irq 10) Trash your aac(4) hardware and use softraid(4). At least that's what i'm doing right now. For details, see my postings in the misc@ archives a few years back. In a nutshell: insuffici

Re: make release w/o make build?

2009-11-10 Thread Ingo Schwarze
Hi Toni, Toni Mueller wrote on Tue, Nov 10, 2009 at 12:55:03PM +0100: > What I wonder is whether some of these steps can be skipped If you have to ask, the answer is no. If you feel qualified to improve the release process, good, do so and show the result, but remember that it must work reliabl

Re: MPlayer man page

2010-10-12 Thread Ingo Schwarze
Hi Jacob, hi Mikle, Jacob Meuser wrote on Tue, Oct 12, 2010 at 11:28:19PM +: > On Wed, Oct 13, 2010 at 02:18:27AM +, Mikle Krutov wrote: >> While reading the man page of MPlayer, i've noticed lots of headers of >> it. That is kind of wrong. Version of MPlayer package is >> mplayer-200907

Re: MPlayer man page

2010-10-13 Thread Ingo Schwarze
Hi Mikle & Jan, Mikle Krutov wrote on Wed, Oct 13, 2010 at 02:02:55PM +: > Never have seen any manual pages with more than one header. When wire matrix line printers were common, that was quite handy. Modern groff (e.g. version 1.20) does not do that by default any longer. The ancient groff

Re: MPlayer man page

2010-10-13 Thread Ingo Schwarze
Hi Jan, Jan Stary wrote on Wed, Oct 13, 2010 at 03:50:29PM +0200: > The file DOCS/man/en/mplayer.1 from > http://www.mplayerhq.hu/MPlayer/releases/mplayer-export-snapshot.tar.bz2 > translates into a one-header version with 'mandoc mplayer.1' > and produces the repeating headers with 'groff -man -

Re: Auto Logout Idle Users

2010-10-14 Thread Ingo Schwarze
> Much of the compliance efforts may look good on paper, but have > no impact on actual usage or may be trivially circumvented or even worse, will likely end up compromising security in case somebody aiming for "hardening" manipulates the system without fully understanding the consequences.

Re: Short thank you and gratitude note for constant OpenBSD improvements/evolutions!

2010-10-30 Thread Ingo Schwarze
Hi Daniel, Daniel Ouellet wrote on Fri, Oct 29, 2010 at 03:30:47PM -0400: > No one SADLY really thank you Actually, there were quite a few mails recently saying "thank you". > YOU give us We also do it for ourselves. :) But yes, publishing code and getting feedback from people using it is ne

Re: perldoc manpage error or nroff change?

2010-11-02 Thread Ingo Schwarze
Hi Chris, Chris Bennett wrote on Tue, Nov 02, 2010 at 04:17:25PM -0500: > Interested in the new mandoc changes, Nice to hear that. Feedback is always welcome. > I was looking at a perl script I have with pod in it. > > perldoc script.pl produces a good output. > > perldoc manpage says perldoc

Re: groff and xenocara

2010-11-02 Thread Ingo Schwarze
Hi Amit, Amit Kulkarni wrote on Tue, Nov 02, 2010 at 06:58:42PM -0500: > It seems that groff's removal has not been communicated to xenocara. It is true that mandoc(1) still formats some aspects of Xenocara manuals badly, but i *am* working on it, and i have also talked to matthieu@ about it. C

Re: perldoc manpage error or nroff change?

2010-11-03 Thread Ingo Schwarze
Hi Chris, Chris Bennett wrote on Tue, Nov 02, 2010 at 08:26:01PM -0500: > Older system with October 30 snapshot. > Since there was a delay with snapshot packages, > I built some ports while waiting, so I added groff. > $ which nroff > /usr/bin/nroff Aha, you didn't remove base groff. So now you

Re: perldoc manpage error or nroff change?

2010-11-03 Thread Ingo Schwarze
Hi Chris, Chris Bennett wrote on Wed, Nov 03, 2010 at 06:19:49AM -0500: >>SPACE_TO_UNDERSUser(Contributed Perl DocumeSPACEoTO_UNDERSCORE(1) [...] > OK, maybe "very ugly and wrong" is a bit harsh, but perldoc used to make > those ugly titles Right, and even groff-1.20.1 still did that, last t

Re: ldap auth

2010-11-27 Thread Ingo Schwarze
Hi, Kapetanakis Giannis wrote on Sat, Nov 27, 2010 at 02:51:02PM +0200: > Instead of ypldap I would prefer the system to directly contact the > ldap servers to get user info similar the way nss does, and not > using NIS as an extra layer for ldap. The merit of a daemon like ypldap(8) is that is

Re: John the Ripper limited functionality

2010-11-29 Thread Ingo Schwarze
Hi James, James Hozier wrote on Sun, Nov 28, 2010 at 09:19:23PM -0800: > tedu@ wrote: >> speaking of patches, you seem to have >> forgotten to include yours... > What do you mean? I don't have any patches to include AFAIK... See, that's your problem... ;-/ Ted suggests that you read http://

Re: Lenovo

2010-12-02 Thread Ingo Schwarze
roberth wrote on Thu, Dec 02, 2010 at 07:23:18PM +0100: > yes, if you spray perfume on a pile of shit it might smell better. No, perfume is insufficient, actual polishing is required. OpenBSD strives to do things right, you know: http://www.openbsd.org/images/hackathons/c2k10.gif

Re: /etc/rc: clearing /tmp with files having flags

2010-12-04 Thread Ingo Schwarze
Hi Jiri, Jiri B. wrote on Sat, Dec 04, 2010 at 12:37:03PM +0100: > I was playing with file flags in /tmp, after reboot I saw > that /etc/rc cannot `rm' files with flags. When causing an exceptionally ugly mess by hand, i'd say cleaning up that mess by hand is a sane approach. Scripts like rc(8)

Re: the new rc.d subsystem

2010-12-10 Thread Ingo Schwarze
Hi Frantisek, frantisek holop wrote on Fri, Dec 10, 2010 at 06:26:36PM +0100: > hmm, on Fri, Dec 10, 2010 at 05:38:19PM +0200, Antoine Jacoutot said that >> On Fri, 10 Dec 2010 16:25:40 +0100, frantisek holop wrote: >>> why not reuse the /etc/rc.conf style "set these to "NO" to turn >>> them off.

Re: Geomview man page woes

2010-12-11 Thread Ingo Schwarze
Hi Patsy, patsy wrote on Sat, Dec 11, 2010 at 11:26:45PM +: > Attached is my current port of geomview - it's functionally unchanged > from the previous port. > > I'm having a slight problem with the man pages though. Geomview is > adamant that their extension should be .Ngv (N == section). T

Re: [Was: OT - gmail alternatives] PGP web mail anyone?

2010-12-12 Thread Ingo Schwarze
> what do you guys think Personally, ... > web mail ... i consider that a contradiction, and stupid one.

<    4   5   6   7   8   9   10   >