Re: Avoid system(3) in ikectl

2019-03-16 Thread Matthew Martin
ping On Fri, Mar 8, 2019 at 8:52 PM Matthew Martin wrote: > > On Fri, Mar 8, 2019 at 3:39 AM Reyk Floeter wrote: > > > > On Wed, Mar 06, 2019 at 10:42:15PM -0600, Matthew Martin wrote: > > > I had sent a similar patch a while back. There seemed to me some > > > interest, but it was never

Re: vmd/vmctl: improve VM name checks/error handling

2019-03-16 Thread Klemens Nanni
On Sat, Mar 16, 2019 at 11:41:02PM +, Jason McIntyre wrote: > i don;t understand why you special case "id" in a separate paragraph. Specifying an ID is valid only if you want to start an existing VM. You cannot create new VMs using a numerical name, that is an ID. This limitation is the point

Re: vmd/vmctl: improve VM name checks/error handling

2019-03-16 Thread Jason McIntyre
On Sun, Mar 17, 2019 at 12:21:32AM +0100, Klemens Nanni wrote: > On Sat, Mar 16, 2019 at 10:22:14PM +, Jason McIntyre wrote: > > i think more properly we should show > > > > -t id | name > It's about referencing the VM to be started itself, not templates. > `-t id' is not possible. >

Re: vmd/vmctl: improve VM name checks/error handling

2019-03-16 Thread Klemens Nanni
On Sat, Mar 16, 2019 at 10:22:14PM +, Jason McIntyre wrote: > i think more properly we should show > > -t id | name It's about referencing the VM to be started itself, not templates. `-t id' is not possible. But you pointed out how my addition would errornously imply that, so change

Re: vmd/vmctl: improve VM name checks/error handling

2019-03-16 Thread Jason McIntyre
On Sat, Mar 16, 2019 at 09:31:39PM +0100, Klemens Nanni wrote: > On Thu, Mar 07, 2019 at 10:21:50PM +0100, Klemens Nanni wrote: > > # vmctl start 1 > > vmctl: started vm 1 successfully, tty /dev/ttypo > > # vmctl stop 1 -f > > stopping vm: forced to terminate vm 1 > > # vmctl

Re: vmd/vmctl: improve VM name checks/error handling

2019-03-16 Thread Klemens Nanni
On Thu, Mar 07, 2019 at 10:21:50PM +0100, Klemens Nanni wrote: > # vmctl start 1 > vmctl: started vm 1 successfully, tty /dev/ttypo > # vmctl stop 1 -f > stopping vm: forced to terminate vm 1 > # vmctl start a > vmctl: started vm 2 successfully, tty /dev/ttypo >

rasops(9): remove filtering in rasops_list_font_cb()

2019-03-16 Thread Frederic Cambus
Hi tech@, Here is a diff to modify rasops_list_font_cb() to not filter out fonts with different sizes than the currently used one. This allows getting a list of all loaded fonts when using the WSDISPLAYIO_LSFONT ioctl. Currently, the output of wsfontload -l on my machine is: # Name

ihidev: always register interrupt

2019-03-16 Thread joshua stein
I still haven't figured out why ihidev doesn't receive interrupts for I2C devices on Intel 100 series and newer. But on an Intel 300 series laptop, I noticed that the Elan touchscreen (ims at ihidev) does actually generate interrupts while the Elan touchpad (imt at ihidev) doesn't. In this

Re: wscons: precision scrolling

2019-03-16 Thread joshua stein
On Thu, 14 Mar 2019 at 00:48:33 +0100, Ulf Brosziewski wrote: > Much too fast? I'm a bit surprised. In my tests, the new method was > generally somewhat slower than the old one (and I haven't changed the > "scroll units"). How did you test it? Which hardware and which applications > did you

Re: Option for alternative escape character with cu(1)

2019-03-16 Thread Artturi Alm
On Fri, Mar 15, 2019 at 09:51:12PM +, Nicholas Marriott wrote: > On Fri, Mar 15, 2019 at 09:43:56AM -0600, Todd C. Miller wrote: > > Wouldn't it be less error-prone to make escape_char u_char instead > > of int? > > Maybe, I don't mind either way. > > However this in stream_read would still