Re: q to quit grdc

2019-01-05 Thread Ingo Schwarze
Hi Ted, Ted Unangst wrote on Sat, Jan 05, 2019 at 10:23:58PM -0500: > There should be a nicer way to quit than ctrl-c. This lets you press q to > quit. (and also checks for esc, for users who don't read the manual.) Sure, why not. However, i suggest -will skip seconds. +skips seconds. +Pressin

Re: adjust rdate example

2019-01-05 Thread Ingo Schwarze
Hi Theo, Theo de Raadt wrote on Sat, Jan 05, 2019 at 09:23:46PM -0700: > Oh good grief, don't do that. > > Unless you are going to add the same text to every man page in usr.sbin > on the following list. > > ac bgpd dhcpd httpd ldapd mrouted npppctl nsd ntpd radiusd rdate relayd > slaacctl smtp

Re: adjust rdate example

2019-01-05 Thread Theo de Raadt
Ted Unangst wrote: > Ingo Schwarze wrote: > > Congrats, you found a documentation bug. > > > > Apparently, the rdate(8) program supports the TZ environment variable, > > but the manual page does not say so. An ENVIRONMENT section is missing > > and should be added. It is not a good idea to giv

Re: adjust rdate example

2019-01-05 Thread Theo de Raadt
Ingo Schwarze wrote: > >> Demonstrate printing a time modified by TZ instead. > > Congrats, you found a documentation bug. > > Apparently, the rdate(8) program supports the TZ environment variable, > but the manual page does not say so. An ENVIRONMENT section is missing > and should be added.

Re: adjust rdate example

2019-01-05 Thread Ted Unangst
Ingo Schwarze wrote: > Congrats, you found a documentation bug. > > Apparently, the rdate(8) program supports the TZ environment variable, > but the manual page does not say so. An ENVIRONMENT section is missing > and should be added. It is not a good idea to give EXAMPLES for stuff > that is ac

Re: adjust rdate example

2019-01-05 Thread Ted Unangst
Theo de Raadt wrote: > First off, what a weird example you found. > > But more on the matter. Is your change even good advice? pool.ntp.org > is attackable via unauthenticated DNS, and based upon past experience > who can say if their administrators can even keep their infrastructure > secure.

Re: adjust rdate example

2019-01-05 Thread Ingo Schwarze
Hi Ted, Theo de Raadt wrote on Sat, Jan 05, 2019 at 08:31:27PM -0700: > Ted Unangst wrote: >> The sample server doesn't work for me, The sample server does work for me: $ host ptbtime1.ptb.de ptbtime1.ptb.de has address 192.53.103.108 $ env TZ=UTC rdate -p ptbtime1.ptb.de Sun Jan 6

Re: adjust rdate example

2019-01-05 Thread Theo de Raadt
First off, what a weird example you found. But more on the matter. Is your change even good advice? pool.ntp.org is attackable via unauthenticated DNS, and based upon past experience who can say if their administrators can even keep their infrastructure secure. Furthermore, the ntp protocol has

q to quit grdc

2019-01-05 Thread Ted Unangst
There should be a nicer way to quit than ctrl-c. This lets you press q to quit. (and also checks for esc, for users who don't read the manual.) Index: grdc.6 === RCS file: /cvs/src/games/grdc/grdc.6,v retrieving revision 1.10 diff -u

adjust rdate example

2019-01-05 Thread Ted Unangst
The sample server doesn't work for me, and while the example is a fun hint at the alternate universe of "right" and "legal" times, I don't think this is a good place to suggest actually changing the system timezone. Demonstrate printing a time modified by TZ instead. Index: rdate.8 =

Re: Fwd: vmd console freeze and locked (?) qcow2 image

2019-01-05 Thread Mike Larkin
> From: Thomas L. > Date: Fri, Jan 4, 2019 at 8:53 AM > Subject: vmd console freeze and locked (?) qcow2 image > To: > > > Hi, > > I am running -current and installed Arch Linux on vmd. > Unfortunatly, after a while the vmd console freezes. > I tried stoping the vm with vmctl stop, but it keep

Re: pfctl: defuse `-F all -i ...'

2019-01-05 Thread Klemens Nanni
On Sat, Jan 05, 2019 at 08:04:07PM +0100, Klemens Nanni wrote: > Diff below bails out immediately when `-i ...' is passed Just that now. Ignore the option argument if the option was passed since that already fulfills our error condition of passing `-i ...' with `-F all'. `ifaceopt' is global and

pfctl: zap unused function parameter

2019-01-05 Thread Klemens Nanni
Never used, probably just copy/pasta since introduction in 2006. `-i' and other flags are completely ignored with `-K' anyway. OK? Index: pfctl.c === RCS file: /cvs/src/sbin/pfctl/pfctl.c,v retrieving revision 1.362 diff -u -p -r1.3

Re: sbin/wsconsctl: show more data

2019-01-05 Thread lists
Just need a manual page and a tunable at some point, didn't much before. Still needed more text lines on the console and utf8 options previously. Got less chars now, so console is a regression in data thus readability. Also, mention of direction in change log / commit message would be nice. On 27

Re: pfctl: defuse `-F all -i ...', catch empty argument values

2019-01-05 Thread Klemens Nanni
On Sat, Jan 05, 2019 at 12:07:59PM -0700, Theo de Raadt wrote: > + if (!*optarg) > > I despise this idiom. You are checking for a zero-length string. > But you are hiding what is going on. Because the value is used in many places. Some check for nullity, some check for empty

Re: sbin/wsconsctl: show more data

2019-01-05 Thread Theo de Raadt
> I do NOT like this idea of being stuck with that for the next 10 years. when do make statements like that, why do you continue to believe any of us care about any of your opinions?

Re: sbin/wsconsctl: show more data

2019-01-05 Thread lists
Hi Frederic, tech@, This 16x32 font looks both wasteful in screen estate, and difficult to read on both desktop and laptop screens of average 100 PPI (2010-2020) Can we actually (do better and) show more data, for example try using: 1) Default font size that is as close to minimum (and NOT maxim

pfctl: defuse `-F all -i ...', catch empty argument values

2019-01-05 Thread Klemens Nanni
Limiting the "flush all" operation to a specific interface does not make sense, and the intention was clear as well: pfctl.c revision 1.298 date: 2010/06/28 23:21:41; author: mcbride; state: Exp; lines: +27 -11; Clean up iterface stats handling: - 'make -Fi' res

Re: sbin/wsconsctl: show more data

2019-01-05 Thread Theo de Raadt
You are failing to provide a proper bug report that has details, instead, it we got a convoluted diff and an extremely vague description that makes no sense. that makes it very hard to care. > On Sat, Jan 05, 2019 at 01:50:22AM +0200, Artturi Alm wrote: > > Hi, > > > > guessing i'm not the only

Re: sbin/wsconsctl: show more data

2019-01-05 Thread Artturi Alm
On Sat, Jan 05, 2019 at 01:50:22AM +0200, Artturi Alm wrote: > Hi, > > guessing i'm not the only one wondering about these sizes, as w/current > snapshot the font does seem too big for me(on 2560x1440 display, for > which radeondrm(4) has never gotten the size right(giving only 1920x1200)). > > d

[re-send] X patch for wscons w/ many ttys

2019-01-05 Thread leo_tck
zeur here. [sent this about a week ago, but it never seems to have arrived... re-trying.] In case anyone's still interested, here's the X patch. Disclaimer: I'm unfamiliar with either syscons or pcvt, but those cases seemed to contain OpenBSD-related code so I patched them, too. Apologies if I

Re: bgpd accouting error

2019-01-05 Thread Sebastian Benoit
ok benno@ Claudio Jeker(cje...@diehard.n-r-g.com) on 2019.01.05 12:37:05 +0100: > Seen on one of my systems: > 92667 as-set elements in 64963 tables using -22.5M of memory > 339029 prefix-set elements using 14.0M of memory > RIB using 401M of memory > Sets using -8.5M of memory > > Now t

bgpd accouting error

2019-01-05 Thread Claudio Jeker
Seen on one of my systems: 92667 as-set elements in 64963 tables using -22.5M of memory 339029 prefix-set elements using 14.0M of memory RIB using 401M of memory Sets using -8.5M of memory Now there is no such thing as negative memory so there is an accounting error. Looking at the code I

Re: teach arm64 to print unconfigured simplebus devices

2019-01-05 Thread Jonathan Gray
On Thu, Jan 03, 2019 at 10:47:14PM +1100, Jonathan Gray wrote: > On Wed, Jan 02, 2019 at 04:08:53PM +1000, David Gwynne wrote: > > This makes it more obvious what interesting things there are to hack on. > > > > Thoughts? ok? > > > > For example, from an od1000: > > > > dlg@o1000 fdt$ dmesg | gr