Re: wsdisplay: disable keyboard backlight with screen burner

2023-10-06 Thread jon
Hello everyone I've been using this diff for a few weeks and it works just fine, just wanted to share my experience with it and thank Tobias.

ncurses 6.4 in openbsd

2023-03-13 Thread jon
Hello, following [1], I have been able to upgrade to the latest snapshot of ncurses in a -current openbsd system. All seems to be working well. Here is a rough script I'm using at the moment # Fetch openbsd tree's ncurses through cvs MIRROR="anon...@mirror.osn.de:/cvs" cd /usr cvs -qd $MIRROR

ttycreate from FreeBSD equivalent

2023-02-25 Thread jon
Hello, I'm in the process of adapting a driver from freebsd to openbsd. I was wondering what I should use in place of a call like ttycreate(tmptty, TS_CALLOUT, "N%r", i); any hints appreciated, tmptty is a struct tty from /sys/kern/tty.c (openbsd)

Re: ttycreate from FreeBSD equivalent

2023-02-25 Thread jon
Thanks for your reply. Yes, I'm using ttymalloc but I'm having a hard time telling where the terminal has attached to. For context, I'm working on adding support for a certain cardbus 3g modem. For a while I considered using puc at cardbus but it seems both the interrupt handling and the non

Re: ttycreate from FreeBSD equivalent

2023-02-27 Thread jon
Ok well I have been using puc_cardbus as a starting point and in fact in the beginning I was hoping to just the interrupt handler and so on to it, but I belive com(4) cannot be used for the serial ports this card presents. I'm confused as to how things interact with the device tree: I see for

[Diff] Keyboard backlight support for late powerbooks, plus keybindings

2023-02-27 Thread jon
Hello. Following up on my previous post https://marc.info/?l=openbsd-ppc=166150553627054=2 I actually implemented support for fn-keys controls of the keyboard backlight as outlined there, seems to work fairly ok, would appreciate any feedback Index: arch/macppc/dev/adb.c

[Diff] Keyboard backlight support for late powerbooks, plus keybindings

2023-07-14 Thread jon
Hello everyone. After a tobhe@'s recent patch [1] to add suspend keysyms for other mac laptops, and a brief consultation with him, I am reposting an updated version of my keyboard backlight patch [2], which you can find below: [1] https://marc.info/?l=openbsd-tech=168884670208963=2 [2]

Re: [Diff] Keyboard backlight support for late powerbooks, plus keybindings

2023-07-14 Thread jon
Thank you very much for testing. > the diff looks good to me except for maybe the numlock bit in > hidkbd I agree, that was part of my incipient attempt to fix numlock on these laptops as well, please drop it from this diff, it is unrelated. > One thing I am never quite sure about is the

wscons shift+arrow keys terminal sequence support

2023-07-12 Thread jon
Hello. I have been missing the ability to have my Shift + {up,down,left,right} arrows picked up and represented by the usual character sequence in e.g. xterm's terminfo. Here is a diff I have been using to that end, hoping that it will be of interest and usefulness for others in this list. P.S. I

Re: ncurses 6.4 in openbsd

2023-05-27 Thread jon
Hello, was just wondering if it might be a better time to take a look at this, I understand when I first mentioned it was pretty close to a release. Been using it steadily so far for what is worth, I think it'd be nice to make the jump to a more recent version.

Re: [Diff] Keyboard backlight support for late powerbooks, plus keybindings

2023-07-23 Thread jon
Hello all. Thank you very much for your input. I have taken heed of your suggestions in the diff below On Sat, 22 Jul 2023 20:59:04 -0400 George Koehler wrote: > We should check if (wskbd_get_backlight != NULL), like we do for > WSKBDIO_GETBACKLIGHT. Same for wskbd_set_backlight. Fixed. I am

Re: [Diff] Keyboard backlight support for late powerbooks, plus keybindings

2023-07-23 Thread jon
If I'm not mistaken, all wskbd_{get,set}_backlight uses are in the following drivers: acpicbkbd, acpithinkpad, asmc, pwmleds, and now my implementation in adb. It is my impression that they are roughly the same code, I have collected them below to ease their inspection. I would also like to

Re: previous errata

2014-05-01 Thread Jon Tibble
check the web site for details. Refer to http://www.openbsd.org/errata55.html and errata54.html. The 009 link on the 54 page is broken referring to a missing .patch.sig instead of the .patch which is there. Regards, Jon

vmctl: show tap interface in status output

2017-03-16 Thread Jon Bernard
are assigned to a single guest without making a mess of the status output. -- Jon Index: usr.sbin/vmctl/vmctl.c === RCS file: /var/cvs/openbsd/src/usr.sbin/vmctl/vmctl.c,v retrieving revision 1.26 diff -u -p -r1.26 vmctl.c --- usr.sbin/vmctl

Re: vmctl: show tap interface in status output

2017-03-16 Thread Jon Bernard
* Reyk Floeter <r...@openbsd.org> wrote: > On Thu, Mar 16, 2017 at 11:27:24AM -0400, Jon Bernard wrote: > > Hi, > > > > I made a quick change to show the assigned tap interface in vmctl's > > status listing. mlarkin@ pointed out that ifconfig shows this

Suggested change to ports.7 man page

2023-01-02 Thread Jon Fineman
I was trying to make clean a port I was updating and it wasn't clear to me that I should be adding the FLAVOR variable to the make line to clean the correct build. My suggested change below might help other people. Jon Index: ports.7