Re: gitignore: got + cvs coexistence

2023-07-07 Thread Alexander Hall
On July 7, 2023 12:50:55 PM GMT+02:00, Stefan Sperling wrote: >On Fri, Jul 07, 2023 at 12:26:16PM +0200, Tobias Heider wrote: >> For bigger changesets I have started experimenting with using got. >> I don't like to have the whole tree on disk twice so I keep my got and CVS >> checkouts in the same

Re: ZZZ and extra mountpoints

2022-10-21 Thread Alexander Hall
I think this adds nothing. It already states your system will be restored to its previous state, and so it will, as far as possible. Actually, specifically external (USB) disks, are probably *not* properly restored though... /Alexander On October 21, 2022 9:05:25 AM GMT+02:00, "Solène Rapenne"

Re: install.sub: Get rid of useless/confusing subshell

2022-10-09 Thread Alexander Hall
On October 10, 2022 12:45:09 AM GMT+02:00, Klemens Nanni wrote: >On Wed, Oct 05, 2022 at 04:56:57PM +0200, Alexander Hall wrote: >> While I dislike the ">/dev/null 2>&1" sledgehammer, this is in the right >> direction. > >Agreed. > >We should

Re: install.sub: Get rid of useless/confusing subshell

2022-10-05 Thread Alexander Hall
On October 4, 2022 10:11:46 PM GMT+02:00, Klemens Nanni wrote: >This function's style is a bit off: it wraps the body in a subshell to >discard all stdout/err at once, but a still uses return inside it. > >1. A command list (using {}) would be enough here as it groups like a > subshell but

Re: rc: do not clear mfs /tmp

2022-10-05 Thread Alexander Hall
On October 5, 2022 12:57:44 AM GMT+02:00, Klemens Nanni wrote: >There is no problem to fix, but every boot I read "/clearing /tmp" and >know it is a useless step since my /tmp live on volatile RAM anyway. > >Other steps in rc(8) also check and print/log conditionally, so this >can do as well,

Re: include cpuid 0 string in dmesg for fw_update

2022-07-27 Thread Alexander Hall
On July 27, 2022 3:47:56 PM GMT+02:00, Andrew Hewus Fresh wrote: >On Wed, Jul 27, 2022 at 11:06:39AM +0200, Alexander Hall wrote: >> I think replacing '*' with '*([![:cntrl:]])' can be the droid your looking >> for. > >As I was falling asleep last ni

Re: include cpuid 0 string in dmesg for fw_update

2022-07-27 Thread Alexander Hall
On July 27, 2022 11:06:39 AM GMT+02:00, Alexander Hall wrote: >On July 27, 2022 12:48:29 AM GMT+02:00, Andrew Hewus Fresh > wrote: >>On Sun, Jul 24, 2022 at 10:34:04AM -0700, Andrew Hewus Fresh wrote: >>> On Sun, Jul 24, 2022 at 09:14:30AM -0700, Andrew Hewus Fresh wro

Re: include cpuid 0 string in dmesg for fw_update

2022-07-27 Thread Alexander Hall
On July 27, 2022 12:48:29 AM GMT+02:00, Andrew Hewus Fresh wrote: >On Sun, Jul 24, 2022 at 10:34:04AM -0700, Andrew Hewus Fresh wrote: >> On Sun, Jul 24, 2022 at 09:14:30AM -0700, Andrew Hewus Fresh wrote: >> > On Sun, Jul 24, 2022 at 10:01:26AM -0600, Theo de Raadt wrote: >> > > Jonathan Gray

tcpdump: Explicitly set the default value for Bflag

2022-07-08 Thread Alexander Hall
We currently do not explicitly set the value for Bflag. Since it's a static variable it is initialized to 0, which just so conveniently happen to match the default constant. So, this is technically a no-op since the value of the initial constant is 0 anyway, but I do not think we should not rely o

Re: netstart: create virtual interfaces upfront when passing specific ones

2022-07-03 Thread Alexander Hall
On Sun, Jul 03, 2022 at 09:59:21AM +, Klemens Nanni wrote: > ... > _ifs seems like idiomatic way in our shell code, i.e. assign function > arguments to local variables, but $@ is a bit special. > > In fact, "$@" is `set -u' clean whereas "${_ifs[@]}" is not. > netstart does not use `set -u', b

Re: netstart: create virtual interfaces upfront when passing specific ones

2022-07-03 Thread Alexander Hall
On Sat, Jul 02, 2022 at 08:12:29PM +, Klemens Nanni wrote: > On Sat, Jul 02, 2022 at 03:00:00PM +0200, Alexander Hall wrote: > > On Thu, Jun 30, 2022 at 03:35:05PM +, Klemens Nanni wrote: > > > On Tue, Dec 07, 2021 at 08:15:41PM +, Klemens Nanni wrote: > > >

Re: netstart: create virtual interfaces upfront when passing specific ones

2022-07-02 Thread Alexander Hall
On Thu, Jun 30, 2022 at 03:35:05PM +, Klemens Nanni wrote: > On Tue, Dec 07, 2021 at 08:15:41PM +, Klemens Nanni wrote: > > On Tue, Nov 23, 2021 at 01:17:14AM +, Klemens Nanni wrote: > > > On Tue, Nov 16, 2021 at 11:09:40PM +, Klemens Nanni wrote: > > > > Run on boot without argumen

Handle ^C in ssh-askpass

2022-01-22 Thread Alexander Hall
This diff makes ssh-askpass abort on ^C, like on ESC. At times when ssh-askpass pops up behind the active window, or for some reason is not visible, while at the same time stealing all input, ^C is one of the "safe" key combinations that comes to my mind trying to unlock whatever is locking up my

Re: btrace: print probes sorted by name not internal id

2022-01-17 Thread Alexander Hall
On Mon, Jan 17, 2022 at 02:23:52PM +, Klemens Nanni wrote: > I keep doing `btrace -l | sort' to help myself searching for traces. > > Would it be worh making btrace sort the list of probes > lexicographically in the first place or is there any value in seeing > them sorted by id? I believe yo

Re: head(1): fully support the legacy -count syntax

2021-10-14 Thread Alexander Hall
On Mon, Oct 11, 2021 at 09:13:16AM -0500, Scott Cheloha wrote: > On Sun, Oct 10, 2021 at 08:26:04PM -0400, gwes wrote: > > On 10/10/21 5:03 PM, Scott Cheloha wrote: > > > [...] > > > > > > If we want to have the unportable legacy syntax then it should work > > > like other option arguments. Optio

Re: ksh(1) search-history fix

2021-09-21 Thread Alexander Hall
On Tue, Sep 21, 2021 at 10:24:47PM +0200, Alexander Hall wrote: > OK? Unless someone finds a clever and horrible way of abusing this, I won't be committing it pre-release. Comments and/or OK's still appreciated though. :-) /Alexander

ksh(1) search-history fix

2021-09-21 Thread Alexander Hall
Hi, In ksh(1) emacs editing mode, the search-history editing command (normally bound to ^R), is used for interactive searching through the history of previously given commands. While performing such a search, emitting a NUL character (i.e. '\0', or ^@) adds said character to the search pattern

Re: ksh emacs search-history misbehaviour

2021-09-21 Thread Alexander Hall
, for sharing your view. I did start writing the message as a commit message, and probably elaborated way too little. I'll start over with a new thread with more elaborative wording. /Alexander > > On 18/09/2021, Alexander Hall wrote: > > Ping. Please don't be discouraged or sca

Re: ksh emacs search-history misbehaviour

2021-09-18 Thread Alexander Hall
Ping. Please don't be discouraged or scared just because it's a diff to ksh(1). It really is rather simple. Noone else ever ran into this ksh command line history search bug? /Alexander On September 14, 2021 12:17:22 AM GMT+02:00, Alexander Hall wrote: >in emacs search-history m

ksh emacs search-history misbehaviour

2021-09-13 Thread Alexander Hall
in emacs search-history mode, abort if ^@ is encountered This has been bugging me for ages, and I finally realized it was me accidentally pressing Ctrl+, rendering ^@ (a.k.a '\0' or NUL) Easily tested with: Ctrl+R Ctrl+ ... Minimal investigation, for reference: bash: misbehaves in a slightly d

diff(1)ing hardlinks

2021-08-31 Thread Alexander Hall
If two files to be compared share the same inode, it should be reasonable to consider them identical. This gives a substantial speedup when comparing directory structures with many hardlinked files, e.g. when using rsnapshot for incremental backup. Comments? OK? /Alexander Index: diffreg.c

Re: ksh: require expression in while loop

2021-07-05 Thread Alexander Hall
On July 5, 2021 3:12:07 PM GMT+02:00, "Reuben ua Bríġ" wrote: >> Date: Mon, 5 Jul 2021 14:41:46 +0200 >> From: Alexander Hall > >> I don't really see what you win either. > >the point of todds diff is to fix the issue i raised: > > Subje

Re: ksh: require expression in while loop

2021-07-05 Thread Alexander Hall
On July 5, 2021 3:08:27 PM GMT+02:00, Jeremie Courreges-Anglas wrote: >On Sun, Jul 04 2021, Todd C. Miller wrote: >> On Sun, 04 Jul 2021 23:25:25 +0200, Alexander Hall wrote: >> >>> The "... do done" variant has been frequently used by me, and seems to &g

Re: ksh: require expression in while loop

2021-07-05 Thread Alexander Hall
On July 5, 2021 12:25:39 AM GMT+02:00, "Todd C. Miller" wrote: >On Sun, 04 Jul 2021 23:25:25 +0200, Alexander Hall wrote: > >> The "... do done" variant has been frequently used by me, and seems to appear >> at least three times in install.sub, so if thi

Re: ksh: require expression in while loop

2021-07-05 Thread Alexander Hall
On July 5, 2021 8:31:49 AM GMT+02:00, "Reuben ua Bríġ" wrote: >> Date: Sun, 4 Jul 2021 16:25:39 -0600 >> From: Todd C. Miller > >> let's just require a non-empty expression but still allow an empty >> loop body. > >if i might suggest a slight variation, how about only requiring that >at leas

Re: ksh: require expression in while loop

2021-07-04 Thread Alexander Hall
The "... do done" variant has been frequently used by me, and seems to appear at least three times in install.sub, so if this goes in, please scan the scripts in our tree first, at least for trivial cases. /Alexander On July 2, 2021 8:20:44 PM GMT+02:00, "Todd C. Miller" wrote: >Currently, ou

Re: syspatch exit state

2020-12-06 Thread Alexander Hall
On December 6, 2020 8:13:26 PM GMT+01:00, Antoine Jacoutot wrote: >On Sun, Dec 06, 2020 at 05:20:31PM +, Stuart Henderson wrote: >> On 2020/12/06 16:39, Otto Moerbeek wrote: >> > On Sun, Dec 06, 2020 at 03:31:19PM +, SW wrote: >> > >> > > On 06/12/2020 14:32, Otto Moerbeek wrote: >> >

Re: find -exec util {} arg + confusion

2020-11-21 Thread Alexander Hall
On Tue, Nov 17, 2020 at 01:11:42PM +0100, Paul de Weerd wrote: > On Tue, Nov 17, 2020 at 01:06:05AM +0100, Alexander Hall wrote: ... > | The more I read and think about it, I feel the original error message is > | actually correct in that there is no terminating ";"

Re: find -exec util {} arg + confusion

2020-11-19 Thread Alexander Hall
On November 17, 2020 1:11:42 PM GMT+01:00, Paul de Weerd wrote: >On Tue, Nov 17, 2020 at 01:06:05AM +0100, Alexander Hall wrote: >| On Mon, Nov 16, 2020 at 09:04:53AM +0100, Paul de Weerd wrote: >| > Hi Alexander, >| > >| > On Sun, Nov 15, 2020 at 10:22:32PM +01

Re: find -exec util {} arg + confusion

2020-11-16 Thread Alexander Hall
On Mon, Nov 16, 2020 at 09:04:53AM +0100, Paul de Weerd wrote: > Hi Alexander, > > On Sun, Nov 15, 2020 at 10:22:32PM +0100, Alexander Hall wrote: > | I googled for "POSIX find", and hit this: > | > | https://pubs.opengroup.org/onlinepubs/009695399/utilities/find.h

Re: find -exec util {} arg + confusion

2020-11-15 Thread Alexander Hall
On Sun, Nov 15, 2020 at 07:19:07PM +0100, Paul de Weerd wrote: > Hi all, > > It was pointed out to me off-list that I introduced a regression for > the case that has '+' as one of its arguments, e.g.: > > [weerd@pom] $ find /var/empty -exec echo + {} + > find: -exec: "+" should follow

Re: Qcow2: External snapshots

2018-10-01 Thread Alexander Hall
Uh-oh... Don't mention hackers@ on tech@... (FWIW) :-) /Alexander On October 1, 2018 12:55:12 PM GMT+02:00, Reyk Floeter wrote: >Hi Ori, > >On Sun, Sep 30, 2018 at 12:27:00PM -0700, Ori Bernstein wrote: >> I've added support to vmd for external snapshots. That is, >> snapshots that are derived

Re: install.sub - disklabel template modification

2018-08-30 Thread Alexander Hall
On August 30, 2018 3:27:07 PM GMT+02:00, "Jiri B." wrote: >Hi, > >if somebody would put into install.conf following line: > > URL to autopartitioning template for disklabel = /disklabel.template > >ftp would end in its prompt. > ># ftp -Vo - /disklabel.template

Re: nologin(8): write -> dprintf

2018-08-15 Thread Alexander Hall
On August 15, 2018 4:27:24 PM GMT+02:00, Scott Cheloha wrote: >Use dprintf for the DEFAULT_MESG string instead of the more awkward >write+strlen combo. > >ok? > >-- >Scott Cheloha > >Index: sbin/nologin/nologin.c >=== >RCS file: /

Re: ksh "clear-screen" editing command

2018-06-18 Thread Alexander Hall
On June 18, 2018 11:00:00 PM GMT+02:00, Richard Procter wrote: > >On 6/06/2018, at 10:20 AM, Alexander Hall wrote: > >> This adds a "clear-screen" editing command to the emacs editing mode. >> This is the same name as bash and zsh uses, and then I stoppe

Re: ksh "clear-screen" editing command

2018-06-17 Thread Alexander Hall
I'm currently on vacation with very limited ability to test, but I do approve of this way. /Alexander On June 17, 2018 5:00:17 PM GMT+02:00, "Todd C. Miller" wrote: >On Sat, 16 Jun 2018 16:16:57 -0600, "Todd C. Miller" wrote: > >> On Sat, 16 Jun 2018 14:50:40 +0200, Mark Kettenis wrote: >> >>

Re: ksh "clear-screen" editing command

2018-06-16 Thread Alexander Hall
Uclear'^J^Y' > > >Todd C. Miller(todd.mil...@sudo.ws) on 2018.06.16 06:37:03 -0600: >> On Tue, 12 Jun 2018 02:35:57 +0200, Alexander Hall wrote: >> >> > The diff below uses system(3) to call /usr/bin/clear, fiddling with > >> > *env() to make sure th

Re: ksh "clear-screen" editing command

2018-06-11 Thread Alexander Hall
On 06/06/18 13:50, Todd C. Miller wrote: > On Tue, 05 Jun 2018 16:29:33 -0600, "Theo de Raadt" wrote: > >>> + clearstr = "\033[H\033[J"; >> >> I abhor increasing assumptions that the terminal honours that particular >> ANSI standard. >> >> Sorry, but at that point you have to

ksh "clear-screen" editing command

2018-06-05 Thread Alexander Hall
This adds a "clear-screen" editing command to the emacs editing mode. This is the same name as bash and zsh uses, and then I stopped looking. The default binding of 'redraw' remains for ^L, for now anyway, so you'll need to run $ bind ^L=clear-screen" when testing. $CLEARSTR can be set to an ar

Re: ksh.kshrc: Fix quoting in {add,pre,del}_path() to work with spaces

2018-02-18 Thread Alexander Hall
On February 18, 2018 6:37:52 PM GMT+01:00, Robert Peichaer wrote: >On Sun, Feb 18, 2018 at 12:36:43PM +0100, Klemens Nanni wrote: >> On Tue, Nov 21, 2017 at 08:30:25PM +0100, Klemens Nanni wrote: >> > On Sun, Nov 12, 2017 at 10:43:46PM +0100, Klemens Nanni wrote: >> > > On Sun, Nov 12, 2017 at

Re: jot: small cleanup for conversion switch

2018-01-11 Thread Alexander Hall
On January 12, 2018 7:26:58 AM GMT+01:00, Theo Buehler wrote: >> >+ case 'd': >> >+ case 'i': >> >intdata = true; >> >break; >> >+ case 'o': >> >+ case 'u': >> >+ case 'x': >> >+ case 'X': >> >>

Re: jot: small cleanup for conversion switch

2018-01-11 Thread Alexander Hall
Didn't test, but reads ok to me, with minor nit below. On January 11, 2018 9:25:10 PM GMT+01:00, Theo Buehler wrote: >This aligns all cases vertically which makes them easier to find. > >Normalize all cases: if the long form is illegal or unsupported, >'goto fmt_broken;', then set the flags for

Re: less(1): `!' command

2017-12-23 Thread Alexander Hall
On December 22, 2017 11:21:12 PM GMT+01:00, Stuart Henderson wrote: >On 2017/12/22 19:47, Nicholas Marriott wrote: >> I don't think we should bring ! back. >> >> I wanted to remove v and | (and some other stuff) shortly afterwards, >but >> several people objected. >> >> I did suggest having a

Re: /etc/netstart diff

2017-11-09 Thread Alexander Hall
On November 9, 2017 7:02:54 PM GMT+01:00, Robert Peichaer wrote: >On Wed, Nov 08, 2017 at 10:47:43PM +0100, Holger Mikolon wrote: >> The veriable $HN_DIR is set in /etc/netstart on line 166 but used >only >> once (line 78). The diff below makes use of $HN_DIR in the other >cases >> where netsta

Re: [PATCH] etc/ksh.kshrc - unify command substitution

2017-10-23 Thread Alexander Hall
I'm OK with this. /Alexander On October 23, 2017 3:29:57 PM GMT+02:00, Raf Czlonka wrote: >What say you? > >On Tue, Aug 29, 2017 at 08:44:43PM BST, Raf Czlonka wrote: >> Ping. >> >> Anyone? >> >> On Sun, Jul 16, 2017 at 01:43:32PM BST, Raf Czlonka wrote: >> > Hi all, >> > >> > Further simpl

Re: ksh: remove special handling of export PS1 as root

2017-08-12 Thread Alexander Hall
On August 11, 2017 5:23:38 PM GMT+02:00, Philip Guenther wrote: > >Currently, if ksh starts as root and PS1 was exported but doesn't >contain >'#' or '\$' (which will be expanded to '#') then it'll override it with > >the root default of '# '. This is kind of a corner case, because PS1 >is >

Re: [PATCH] cp(1): add -v option for verbosity

2017-06-25 Thread Alexander Hall
On June 25, 2017 2:06:20 PM GMT+02:00, Job Snijders wrote: >Dear team, > >This patch adds a -v option to cp(1) for more verbose output. > > $ touch a b; mkdir c > $ cp -v a b c > 'a' -> 'c/a' > 'b' -> 'c/b' > $ cp -rv c d > 'c' -> 'd/' > 'c/a' -> 'd/a' >

Re: [patch] rebound.c

2017-05-31 Thread Alexander Hall
Yeah, I use the nowrap or so plugin. When enabled, however, you will need to manually line break your textual lines. /Alexander On May 31, 2017 11:20:52 PM GMT+02:00, Edgar Pettijohn wrote: >Will do. Seems like Thunderbird messes then up sometimes. > >⁣Sent from BlueMail ​ > >On May 31, 2017

Re: rmt

2017-02-17 Thread Alexander Hall
On February 17, 2017 11:53:44 PM GMT+01:00, Andrew Grillet wrote: >How do I actually use rmt? > >I want to backup a guest domain on a T2000 using a tape drive on the >primary domain. >Both domains run OpenBSD 6.0. > >The way I read the mt manual page, I should be able to do (from the >guest, >a

Re: Installer error

2017-01-11 Thread Alexander Hall
On January 11, 2017 7:36:00 PM GMT+01:00, Theo Buehler wrote: >> OK halex@, who would also accept a stricter regular expression in the >sed command. >> > >Alright, here's a stricter regular expression. Should I add " >ftp.openbsd.org$" >to it or is this good enough? I think this is way better

Re: Installer error

2017-01-11 Thread Alexander Hall
On January 11, 2017 1:21:30 PM GMT+01:00, Theo Buehler wrote: >On Wed, Jan 11, 2017 at 01:10:12PM +0100, Theo Buehler wrote: >> On Wed, Jan 11, 2017 at 11:52:02AM +, Pedro Caetano wrote: >> > Hi tech@ >> > >> > I was running an headless installation via serial using today's >snapshot >> >

Re: Allow install from https server w/ self signed cert

2017-01-05 Thread Alexander Hall
On January 5, 2017 11:10:06 PM GMT+01:00, Alexander Hall wrote: >What's the point of installing over https if you don't care about >validating the cert? Oh, I read too fast. Please disregard. /Alexander > >On January 5, 2017 12:24:11 PM GMT+01:00, RD Thrush > wrot

Re: Allow install from https server w/ self signed cert

2017-01-05 Thread Alexander Hall
What's the point of installing over https if you don't care about validating the cert? On January 5, 2017 12:24:11 PM GMT+01:00, RD Thrush wrote: >Rather than add load to the OpenBSD snapshot servers, for years I >download a snapshot to a local netgear nas server. With the recent >https chang

Re: bin/chmod: set owner of symlinks

2016-09-11 Thread Alexander Hall
On Sat, Sep 10, 2016 at 01:46:05PM -0700, Philip Guenther wrote: > On Sat, 10 Sep 2016, Martin Natano wrote: > > When building with noperm the symlinks end up with the build user as > > owner instead of root. Ok? > ... > > --- bin/chmod/Makefile 6 Sep 2001 18:52:55 - 1.7 > > +++ bin/

Re: Make rc scripts use [[ instead of [

2016-09-05 Thread Alexander Hall
Ok, so I'll throw in my view too. On September 5, 2016 1:24:17 PM GMT+02:00, Anthony Coulter wrote: >Some of the system scripts make inconsistent use of ksh-specific >features, specifically "print" and "[[" as efficient replacements for >"echo" and "[". This change makes the /etc/ksh.kshrc and a

Re: installer: do proper checks for MBR/GPT and OpenBSD area

2016-09-02 Thread Alexander Hall
On Fri, Sep 02, 2016 at 01:57:21PM +0300, Paul Irofti wrote: > Hi, > > While reinstalling OpenBSD on the x260 I saw a weird message when > selecting the disk (that had a valid MBR) > > 'No valid MBR or GPT' > > which lead to the following installer diff. > > The idea is to do two checks (si

Re: ksh cd two args

2016-08-31 Thread Alexander Hall
On Wed, Aug 31, 2016 at 01:53:30PM +0100, Theo Buehler wrote: > On Wed, Aug 31, 2016 at 08:39:51AM -0400, Ted Unangst wrote: > > About ten times a day I do something like this: > > $ cd cd tedu > > ksh: cd: bad substitution > > > > What does that even mean? According to the source, but not the man

Re: ksh, ctrl-r followed by arrow key leaves "[D" or "[C" artifacts

2016-08-09 Thread Alexander Hall
On Tue, Aug 09, 2016 at 11:30:34AM +0200, Martin Natano wrote: > On Mon, Aug 08, 2016 at 07:12:34PM +0200, Ingo Schwarze wrote: > > > > According to the documentation, typing the escape key alone is not > > a supported method of exiting the search prompt. The ksh(1) manual > > says: > > > >

Re: ksh, ctrl-r followed by arrow key leaves "[D" or "[C" artifacts

2016-08-08 Thread Alexander Hall
On Mon, Aug 08, 2016 at 08:21:50AM +0200, Martin Natano wrote: > On Mon, Aug 08, 2016 at 03:33:23AM +0200, Ingo Schwarze wrote: > > Hi Dave, > > > > redirecting from misc@ to tech@ because i'm appending a patch > > at the very end, lightly tested. > > > > This has indeed been annoying me for year

nc getaddrinfo cleanup

2016-07-29 Thread Alexander Hall
Use the style from the man page examples for getaddrinfo, which makes a bit more sense. No functional change intended, and prior to the do/while => for transition, no .o files were harmed. OK? /Alexander Index: netcat.c === RCS fi

Re: Unmounting with MNT_DOOMED flag can lead to a kernel panic

2016-07-12 Thread Alexander Hall
On July 12, 2016 8:55:50 PM GMT+02:00, "Todd C. Miller" wrote: >On Tue, 12 Jul 2016 07:22:57 -1000, Tim Newsham wrote: > >> Here's another root-only (unless kern.usermount is set) panic issue. >We >> exercise it through tmpfs but it might be more general than that. >We're >> not sure what the

Re: xdm halt & reboot buttons

2016-07-04 Thread Alexander Hall
On July 4, 2016 11:06:28 PM GMT+02:00, Alexander Hall wrote: > > >On July 4, 2016 5:51:06 PM GMT+02:00, Bob Beck >wrote: >>> >>> Thinking of it again, you could possibly just use the action >>arguments for >>> a more generic "execute-progra

Re: xdm halt & reboot buttons

2016-07-04 Thread Alexander Hall
On July 4, 2016 5:51:06 PM GMT+02:00, Bob Beck wrote: >> >> Thinking of it again, you could possibly just use the action >arguments for >> a more generic "execute-program" action. >> > >Ahhh.. are you insane? The way you get a generic "execute program" >action is to LOG IN TO THE DAMN MACHINE!

Re: xdm halt & reboot buttons

2016-07-02 Thread Alexander Hall
On Sat, Jul 02, 2016 at 01:02:57AM +0200, Alexander Hall wrote: > On Fri, Jul 01, 2016 at 03:38:26PM +0200, Matthieu Herrb wrote: > > On Fri, Jul 01, 2016 at 02:22:57PM +0100, Craig Skinner wrote: > > > Hi Alexander, > > > > > > On 2016-06-30

Re: xdm halt & reboot buttons

2016-07-01 Thread Alexander Hall
On Fri, Jul 01, 2016 at 03:38:26PM +0200, Matthieu Herrb wrote: > On Fri, Jul 01, 2016 at 02:22:57PM +0100, Craig Skinner wrote: > > Hi Alexander, > > > > On 2016-06-30 Thu 20:58 PM |, Alexander Hall wrote: > > > > > > 1. xmessage has an sometimes

Re: xdm halt & reboot buttons

2016-06-30 Thread Alexander Hall
On Thu, Jun 30, 2016 at 04:43:12PM +0100, Craig Skinner wrote: > Hiya, > > On 2016-06-29 Wed 14:46 PM |, Craig Skinner wrote: > > On 2016-06-28 Tue 15:27 PM |, Craig Skinner wrote: > > > This diff presents 'Halt' and 'Reboot' buttons on the xdm screen. > > > > > > > Now it closes the message box

Re: dhclient: use /dev/bpf

2016-05-06 Thread Alexander Hall
On May 6, 2016 8:17:50 PM GMT+02:00, Stuart Henderson wrote: >On 2016/05/06 19:35, Martin Natano wrote: >> On Thu, May 05, 2016 at 09:30:43PM +0100, Stuart Henderson wrote: >> > On 2016/05/02 09:34, Martin Natano wrote: >> > > Diff below simplifies the device open path and removes an >explanati

Re: www.openbsd.org/cgi-bin/man.cgi

2016-03-25 Thread Alexander Hall
Am I the only one that didn't take the proposal seriously? /Alexander On March 25, 2016 5:13:52 PM GMT+01:00, Theo de Raadt wrote: >> > $ ssh gu...@man.openbsd.org >> > >> > Welcome guest user to OpenBSD's online manual library. >> > >> > The only command available is 'man'. >> > >> > (For

Re: tedu empty tcsh files in /etc

2016-03-19 Thread Alexander Hall
On Sun, Mar 20, 2016 at 01:33:06AM +0100, Alexander Hall wrote: > Hi, > > As far as I can tell, there is no point in having these files lying > around in /etc as they are not needed by tcsh. They're all comments > and don't even hold an example. > > Thus, remove

tedu empty tcsh files in /etc

2016-03-19 Thread Alexander Hall
Hi, As far as I can tell, there is no point in having these files lying around in /etc as they are not needed by tcsh. They're all comments and don't even hold an example. Thus, remove them and make them optional in /etc/mtree/special. Objections from tcsh users? OK? /Alexander Index: Makef

Re: opendev(3) tweak

2016-03-15 Thread Alexander Hall
I'm aware I'm kicking an old horse here, but... On Thu, Mar 10, 2016 at 12:52:35PM +0100, Marc Espie wrote: > @@ -106,5 +108,17 @@ opendev(const char *path, int oflags, in > if (realpath) > *realpath = namebuf; If anything like this goes in (or did it already?) the *realpath

Re: rdist.c patch

2016-03-06 Thread Alexander Hall
On March 6, 2016 5:57:23 PM GMT+01:00, Edgar Pettijohn wrote: > > >On 03/06/16 00:12, Philip Guenther wrote: >> On Sun, Feb 28, 2016 at 1:35 PM, Edgar Pettijohn >> wrote: >>> --- rdist.c.origSun Feb 28 15:29:27 2016 >>> +++ rdist.cSun Feb 28 15:32:06 2016 >>> @@ -57,8 +57,7 @@ >>> ch

Re: Fix size hints for x11-ssh-askpass

2015-12-28 Thread Alexander Hall
On Mon, Dec 28, 2015 at 11:42:00AM +0100, Alexander Hall wrote: > On Mon, Dec 28, 2015 at 08:10:49AM +0100, Matthieu Herrb wrote: > > On Sun, Dec 27, 2015 at 08:28:36PM +0100, Alexander Hall wrote: > > > Hi, > > > > > > Recently, my window manager (i3) st

Re: Fix size hints for x11-ssh-askpass

2015-12-28 Thread Alexander Hall
On Mon, Dec 28, 2015 at 08:10:49AM +0100, Matthieu Herrb wrote: > On Sun, Dec 27, 2015 at 08:28:36PM +0100, Alexander Hall wrote: > > Hi, > > > > Recently, my window manager (i3) started making the ssh-askpass windows > > too small to be really usable. The proble

Re: Fix size hints for x11-ssh-askpass

2015-12-27 Thread Alexander Hall
On Sun, Dec 27, 2015 at 08:44:35PM +0100, Theo Buehler wrote: > On Sun, Dec 27, 2015 at 08:28:36PM +0100, Alexander Hall wrote: > > Hi, > > > > Recently, my window manager (i3) started making the ssh-askpass windows > > too small to be really usable. The proble

Fix size hints for x11-ssh-askpass

2015-12-27 Thread Alexander Hall
Hi, Recently, my window manager (i3) started making the ssh-askpass windows too small to be really usable. The problem seems to be that the size hints indicate that it provides a width and height, while those fields are set to 0. While looking at this, the same seems to be the case for positio

Re: ksh.1: Remove $ERRNO reference

2015-12-25 Thread Alexander Hall
On Fri, Dec 25, 2015 at 01:36:31PM -0500, Michael Reed wrote: > It's had the ``Not implemented'' notice since ksh.1's initial import > 19 years ago [1], so it's probably not going to be implemented. > > [1]: > http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin/ksh/ksh.1?rev=1.1&content-type=text/x-

Re: sunfire v120 gem interfaces

2015-11-08 Thread Alexander Hall
I had problems with my dual AC200 carp setup, in that the interfaces would periodically stop receiving packets. Transmission still worked though, so the carp wouldn't fail over... Machines are retired now, but I believe details exist in the archives somewhere. I also believe henning@ had simil

Re: Call for testers of restricted rmt(8)

2015-09-15 Thread Alexander Hall
her userland tools gains it). Sure, later. > Else, just some comments inline. > > On Thu, Sep 10, 2015 at 12:58:52AM +0200, Alexander Hall wrote: >> >> Index: rmt.c >> === >> RCS file: /cvs/src/usr.sbin

Re: Call for testers of restricted rmt(8)

2015-09-12 Thread Alexander Hall
On 09/11/15 19:33, Sebastien Marie wrote: On Fri, Sep 11, 2015 at 05:03:54PM +0200, Alexander Hall wrote: Is *anyone* but me using rdump(8) + rmt(8)? I use dump(8) for doing remote backup, but I don't use rmt(8), due to plaintext storage on remote side. I don't understa

Re: Call for testers of restricted rmt(8)

2015-09-11 Thread Alexander Hall
On September 11, 2015 6:27:26 AM GMT+02:00, Sebastien Marie wrote: >On Thu, Sep 10, 2015 at 12:58:52AM +0200, Alexander Hall wrote: >> I'm going wide with this diff I've been pushing for quite some time >now. >> >> Is *anyone* but me using rdump(8) + rmt(8)?

Call for testers of restricted rmt(8)

2015-09-09 Thread Alexander Hall
I'm going wide with this diff I've been pushing for quite some time now. Is *anyone* but me using rdump(8) + rmt(8)? *If you are currently using rdump/rrestore + rmt, I urge you to test this diff to make sure it causes no regression. It shouldn't, but you've been warned. So, anyway, this diff al

Re: [PATCH] doas authentication type

2015-08-27 Thread Alexander Hall
On August 27, 2015 6:32:31 PM GMT+02:00, Ted Unangst wrote: >Renaud Allard wrote: >> On 08/26/2015 06:39 PM, Michael Reed wrote: >> > Hi Renauld, >> > >> > On 08/26/15 09:38, Renaud Allard wrote: >> >> I rewrote a little bit the patch to remove a small kind-of typo in >the manpage and remove to

Re: doas authentication type

2015-08-26 Thread Alexander Hall
gt;>> >>> and the new option should appear in doas(1). >>> >> >> True, I will change and add that >> >> >Here is the new patch with the man correct and an additional auth-doas >as suggested by Alexander Hall > >diff -ur doas.orig/do

doas auth

2015-08-24 Thread Alexander Hall
I was inspired by a related mail to send out this doas auth diff again. Hopefully my phone won't ruin the formatting. . . . . . Add a type to auth_userokay() to allow for giving a specific authentication method for doas in login.conf, e.g. staff:\ ... :auth-doas=yubikey:\

Re: kern_tame.c: fix strncmp call

2015-08-23 Thread Alexander Hall
On 08/24/15 00:29, patrick keshishian wrote: On 8/23/15, Caspar Schutijser wrote: Patch below. Thanks, Caspar Schutijser Index: sys/kern/kern_tame.c === RCS file: /cvs/src/sys/kern/kern_tame.c,v retrieving revision 1.25 diff -u

Re: autoinstall(8): using multiple set sources?

2015-08-07 Thread Alexander Hall
On August 7, 2015 9:10:06 PM GMT+02:00, Philipp wrote: >While heavy playing with autoinstall(8), I came across that I cannot >make it happen to >install the usual sets from CD/ISO and additional ones like site58.tgz >from a webserver. > >install.conf snips: >root disk = wd0 >Use (W)hole disk

Re: [patch] Remove archaic manual sizing from dump(8)

2015-07-24 Thread Alexander Hall
On 07/25/15 01:46, trondd wrote: On 2015-07-24 19:15, Michael McConville wrote: I removed it because I wasn't sure whether the project liked placebo legacy flags. Should I replace it? For reference: When -U was removed it was removed. Compared to -a, which we've had since -97, -U was a glitc

Re: Fix for connect race in relayd

2015-05-31 Thread Alexander Hall
On May 31, 2015 3:15:33 PM GMT+02:00, Gleydson Soares wrote: >> (The pastebin expire) > >patches on tech@ are preferably as inline(text/plain) in the body of >the email. >and make sure that your mail client doesn't corrupt it. > >most openbsd developers uses mutt, > >but there are a lot of MUAs

Re: [patch]apmd ? sign

2015-05-20 Thread Alexander Hall
On May 20, 2015 5:08:21 PM GMT+02:00, Fritjof Bornebusch wrote: >Hi, > >for what is the ? sign for? fallthrough to usage() # apmd -? /Alexander > >Regards, >--F. > > >Index: apmd.c >=== >RCS file: /cvs/src/usr.sbin/apmd/apmd.c

Re: UPD regression with

2015-05-15 Thread Alexander Hall
On May 13, 2015 3:37:39 AM GMT+02:00, David Higgs wrote: >On May 11, 2015, at 9:02 PM, David Higgs wrote: >> >>> On May 11, 2015, at 8:21 PM, David Higgs <mailto:hig...@gmail.com>> wrote: >>> >>> On Mon, May 11, 2015 at 8:07 PM, Alexander Hall <

Re: UPD regression with

2015-05-13 Thread Alexander Hall
On 05/13/15 03:37, David Higgs wrote: On May 11, 2015, at 9:02 PM, David Higgs wrote: On May 11, 2015, at 8:21 PM, David Higgs mailto:hig...@gmail.com>> wrote: On Mon, May 11, 2015 at 8:07 PM, Alexander Hall mailto:alexan...@beard.se>>wrote: Upgrading to the latest snapshot,

UPD regression with

2015-05-11 Thread Alexander Hall
Upgrading to the latest snapshot, I noticed my upd sensors had been disturbingly crippled. uhidev0 at uhub4 port 1 configuration 1 interface 0 "EATON Eaton 3S" rev 2.00/1.00 addr 2 uhidev0: iclass 3/0, 32 report ids upd0 at uhidev0 Diff below is what happens from upd.c r1.13 to r1.14. -hw.se

Re: grep -R without directory argument

2015-04-30 Thread Alexander Hall
On April 30, 2015 2:02:23 PM GMT+02:00, "Todd C. Miller" wrote: >On Thu, 30 Apr 2015 05:58:57 -0600, "Todd C. Miller" wrote: > >> GNU grep warns in this case before reading from stdin which seems >reasonable. >> % grep -R foo >> grep: warning: recursive search of stdin >> ... >> >> I'd rather

Re: grep -R without directory argument

2015-04-30 Thread Alexander Hall
On April 30, 2015 9:19:18 AM GMT+02:00, Alexander Hall wrote: >While the situation you describe is admittedly horribly annoying >(BTDT), we do allow 'grep -I "123"', which would also seem >"pointless". Bah. That's lowercase -i, obviously. Stupid phone. /Alexander

Re: grep -R without directory argument

2015-04-30 Thread Alexander Hall
On April 30, 2015 7:51:55 AM GMT+02:00, Martin Natano wrote: >grep reads from standard input when no files are specified. It also >does >so when -R is used, which doesn't really make sense. I think using the >current working directory as a fallback when no directories are >specified would make s

Re: autoinstall(8) tweaks

2015-04-09 Thread Alexander Hall
On April 9, 2015 9:33:57 AM GMT+02:00, Stuart Henderson wrote: >On 2015/04/09 09:13, Alexander Hall wrote: >> >> I don't think tweaking an existing auto label is unnecessary and >overly . Hardcoding mount points and their sizes should be enough, and >leave the rest

Re: autoinstall(8) tweaks

2015-04-09 Thread Alexander Hall
On April 9, 2015 2:44:28 AM GMT+02:00, Stuart Henderson wrote: >On 2015/04/09 01:53, Alexander Hall wrote: >> On April 8, 2015 9:13:27 AM GMT+02:00, Stuart Henderson >> wrote: >> >On 2015/04/07 20:02, Alex Wilson wrote: >> >> On the topic of local tweaks

Re: autoinstall(8) tweaks

2015-04-08 Thread Alexander Hall
On April 8, 2015 9:13:27 AM GMT+02:00, Stuart Henderson wrote: >On 2015/04/07 20:02, Alex Wilson wrote: >> On the topic of local tweaks to autoinstall, I was trying to use it >for a >> bunch of blades with very limited disk the other day, and I really >wanted to >> make them just create a single

Re: Do you need/prefer the non-DUID option in the installer?

2015-03-15 Thread Alexander Hall
On March 15, 2015 8:18:59 PM GMT+01:00, Vadim Zhukov wrote: >15 марта 2015 г. 21:26 пользователь "Robert Peichaer" > >написал: >> >> On Sun, Mar 15, 2015 at 09:03:45PM +0300, Vadim Zhukov wrote: >> > 15 ?? 2015 ??. 20:50 "Theo de >Raadt" < >dera...@cvs.openbsd.or

  1   2   3   >