RE: getrandom and getentropy

2020-05-12 Thread Terry Moore
Andress Gustaffson wrote > But I do very much care that if I > accidentally try to generate an ssh key on a system that has no > entropy at all, it must not succeed. This above example is a question about ssh, not about the APIs getrandom() or getentropy(). A kernel API cannot solve requirements

RE: [patch] usbdevs(8) use strtol(3) instead of atoi(3) for more predictable result

2019-11-24 Thread Terry Moore
> Yes, but usbdevs(8) everywhere counts devices from zero, so probably this should be updated, > if it is ok I will take a look there and fix this if need in a separate patch. As you wish. At the very least the man page could be updated to indicate that -a specifies a device *index*, not a *USB bu

RE: [patch] usbdevs(8) use strtol(3) instead of atoi(3) for more predictable result

2019-11-24 Thread Terry Moore
> usbdevs(8) uses atoi(3) to convert a device address given from a > command line argument. > But atoi(3) will return - zero in a case of non-integer value and such > device will be used. > This is kind of unpredictable behaviour to use a device by 0 addr in a > case when wrong > address was given

RE: Suggestion: add a "no-stemming" option to apropos(1)?

2017-06-08 Thread Terry Moore
On Thu, 8 Jun 017, Paul Goyette wrote: >Getting closer. When the original match was in the context info, the output is fine. > >But if the original match was in the title line, the output from > > grep -B2 > >includes context info from some previous match whether or not it contains the actua

RE: Suggestion: add a "no-stemming" option to apropos(1)?

2017-06-08 Thread Terry Moore
On Thu, 8 Jun 017, Paul Goyette wrote: > PG> Don't get me wrong, I love apropos(1). But... > PG> I'm continually bitten by the "stemming" that occurs. [...] > > > So am I. I completely switched over from "man -k" to an alias > > effecting "apropos -l" ("legacy"-mode): > >legacy mode is close

RE: Tracing lost USB bytes

2017-05-08 Thread Terry Moore
> I'm talking to a Masterguard UPS via USB. From a dump of an official MS-Win utility talking to it I know that > I have to send commands to vendor specific endpoint 0D and replies are arriving in chunks of three to four bytes. > > Once every few tries, communication fails because the first (three

RE: NetBSD GUI practice and experience

2016-04-28 Thread Terry Moore
> From: tech-userlevel-ow...@netbsd.org > [mailto:tech-userlevel-ow...@netbsd.org] On Behalf Of J. Lewis Muir > > Running amd64 NetBSD 6 stable in a VMware Fusion VM on OS X, I needed > 512 MB of RAM (with 512 MB of swap) in order to build the netbsd-6 > stable branch kernel and userland. I init

RE: NetBSD GUI practice and experience

2016-04-27 Thread Terry Moore
(Changed subject to match content) > On Apr 27, 6:11pm, charles.cui1...@gmail.com (Charles Cui) wrote: > -- Subject: Re: honor to join NetBSD community > > | 2. How do you work in netbsd, do you use GUI (like xwindow, or gnome)? > | If so, which > | do you recommend? I installed Xwindows several