Re: df(1): formatting adjustments and -T support

2021-01-25 Thread Katherine Rohl
On Sat, 2021-01-23 at 20:37 +1100, Jonathan Gray wrote: > On Fri, Jan 22, 2021 at 11:11:27PM -0600, Katherine Rohl wrote: > > I noticed that large disk volumes cause problems with the formatting of > > numerical columns in df(1), particularly when using -i. Here's a patch >

df(1): formatting adjustments and -T support

2021-01-22 Thread Katherine Rohl
I noticed that large disk volumes cause problems with the formatting of numerical columns in df(1), particularly when using -i. Here's a patch that pads out their width a bit and raises the maximum width of numerical columns before fields start running into each other. I also added support for the

Re: vmd(8) i8042 device implementation questions

2019-06-07 Thread Katherine Rohl
/i8042.c b/usr.sbin/vmd/i8042.c new file mode 100644 index 000..927edf6e60a --- /dev/null +++ b/usr.sbin/vmd/i8042.c @@ -0,0 +1,417 @@ +/* $OpenBSD$ */ +/* + * Copyright (c) 2019 Katherine Rohl + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or

Re: vmd(8) i8042 device implementation questions

2019-06-01 Thread Katherine Rohl
Couple questions: > This means no interrupt will be injected. I'm not sure if that's what you > want. > See vm.c: vcpu_exit_inout(..). It looks like you may have manually asserted > the > IRQ in this file, which is a bit different than what we do in other devices. > That > may be okay, though.

Re: vmd(8) i8042 device implementation questions

2019-05-30 Thread Katherine Rohl
+1,423 @@ +/* $OpenBSD$ */ +/* + * Copyright (c) 2019 Katherine Rohl + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies

Re: vmd(8) i8042 device implementation questions

2019-05-30 Thread Katherine Rohl
000..a62386b79ff --- /dev/null +++ b/usr.sbin/vmd/i8042.c @@ -0,0 +1,421 @@ +/* $OpenBSD$ */ +/* + * Copyright (c) 2019 Katherine Rohl + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above

Re: vmd(8) i8042 device implementation questions

2019-05-29 Thread Katherine Rohl
/i8042.c @@ -0,0 +1,439 @@ +/* $OpenBSD: i8042.c,v 1.00 2019/05/25 18:18:00 rohl Exp $ */ +/* + * Copyright (c) 2019 Katherine Rohl + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright

Re: vmd(8) i8042 device implementation questions

2019-05-29 Thread Katherine Rohl
I did a little more looking and the only practical use is $F0 to pulse the reset line rather than setting it directly (and thus locking up the system forever). I’ll treat it as a reset. $F1 would pulse Gate A20 (which is a useless operation in a PC) and $F2 and $F3 pulse reserved bits. > On Ma

vmd(8) i8042 device implementation questions

2019-05-28 Thread Katherine Rohl
I have my i8042 device for vmd(8) mostly implemented. It’s only missing a few commands, but since there are no PS/2 input devices yet, there isn’t very much in the way of testing I can do beyond ensuring that commands act as they should. I have a couple questions about expected behavior, mostl

Re: vmd(8): slight NS8250 fix

2019-05-24 Thread Katherine Rohl
Hi, I was able to install Centos and boot Alpine and Ubuntu without problems using the serial interface, using vmd(8) built with my diff. (Side note, what console email program is the best for submitting these patches anyway?) Katherine > On May 23, 2019, at 12:22 AM, Mike Larkin wrote: > >

vmm Graphics Support

2019-05-24 Thread Katherine Rohl
Hi, I’ve been tinkering with adding an MDA device to vmm. I was wondering if the way that we would add X support to vmm had been discussed so there’s somewhere for the video output to go. I’m not too familiar with OpenBSD development practices, so I’m not sure where to look for this kind of i

vmd(8): slight NS8250 fix

2019-05-22 Thread Katherine Rohl
Hi, Adjusted NS8250 behavior in vmd(8) so it gets detected as an 8250 and not a 16450 by OpenBSD’s boot process. Also generalized some of the COM1-specific I/O address definitions to support adding COM2 (and COM3, and COM4…) in the future. Tested by logging into my VM with the virtual serial co

Minor clarification in ttys(5) man page

2018-09-23 Thread Katherine Rohl
You can reload the ttys file by sending SIGHUP to the init process. init(8) mentions this but ttys(5) does not, which can be confusing for users who don't know that. I've added a note to this effect to ttys(5) referencing init(8). Index: ttys.5 =