Re: AMDGPU in current issue

2019-09-06 Thread Charlie Burnett
Hey, apologies to continually bother you with this, but I've gotten a driver that compiles and detects the card... however it seems to be having powerplay table issues, I was wondering if this was ever an issue when initially porting, and if so how'd you go about fixing it? Leaving the powerplay un

Who has an ancient -current snapshot

2019-09-06 Thread Luke Small
I need an old kernel image older than maybe a couple weeks old. I have the x8dth-6f motherboard and newer snapshots broke it. I made the mistake of trying to downgrade to 6.5 and now I can boot my machine! I made a not-bright decision. -- -Luke

Re: Why regex doesn't work in while loop's condition?

2019-09-06 Thread Theo de Raadt
Andreas Kusalananda Kähäri wrote: > On Fri, Sep 06, 2019 at 02:38:18PM -0600, Theo de Raadt wrote: > > Christian Weisgerber wrote: > > > > > On 2019-09-06, Andreas Kusalananda Kähäri wrote: > > > > > > >> read x; while [ "$x" != [abc] ]; do echo "Not a, b or c"; break; done > > > > > > > > Th

Re: Why regex doesn't work in while loop's condition?

2019-09-06 Thread Andreas Kusalananda Kähäri
On Fri, Sep 06, 2019 at 02:38:18PM -0600, Theo de Raadt wrote: > Christian Weisgerber wrote: > > > On 2019-09-06, Andreas Kusalananda Kähäri wrote: > > > > >> read x; while [ "$x" != [abc] ]; do echo "Not a, b or c"; break; done > > > > > > The shells in the OpenBSD base system do not support m

Re: Why regex doesn't work in while loop's condition?

2019-09-06 Thread Raul Miller
On Fri, Sep 6, 2019 at 2:40 PM JohnS wrote: > Why next construction doesn't work? > > read x; while [ "$x" != [abc] ]; do echo "Not a, b or c"; break; done People have been focusing on the syntax of arguments for test (the left bracket operation), but there's no 'next' here. You are reading x ju

Re: Why regex doesn't work in while loop's condition?

2019-09-06 Thread Theo de Raadt
Christian Weisgerber wrote: > On 2019-09-06, Andreas Kusalananda Kähäri wrote: > > >> read x; while [ "$x" != [abc] ]; do echo "Not a, b or c"; break; done > > > > The shells in the OpenBSD base system do not support matching regular > > expressions with that syntax. You may have been thinking

Re: Why regex doesn't work in while loop's condition?

2019-09-06 Thread Christian Weisgerber
On 2019-09-06, Andreas Kusalananda Kähäri wrote: >> read x; while [ "$x" != [abc] ]; do echo "Not a, b or c"; break; done > > The shells in the OpenBSD base system do not support matching regular > expressions with that syntax. You may have been thinking of bash, Just to head off crazy rumors:

Re: Why regex doesn't work in while loop's condition?

2019-09-06 Thread Andreas Kusalananda Kähäri
On Fri, Sep 06, 2019 at 08:55:10PM +0200, Andreas Kusalananda Kähäri wrote: > On Fri, Sep 06, 2019 at 11:39:06PM +0500, JohnS wrote: > > Hi, all! > > > > Why next construction doesn't work? > > > > read x; while [ "$x" != [abc] ]; do echo "Not a, b or c"; break; done > > > > I tried many variant

Re: Xerox Phaser printing with CUPS

2019-09-06 Thread Jonathan Drews
On Fri, Sep 06, 2019 at 12:57:07PM +0100, Raf Czlonka wrote: > Hi Jonathan, > > Doesn't the printer work with base lpd? Is CUPS necessary? > > Cheers, > > Raf I tried CUPS first and it discovered my printers IP address automatically. Plus LibreOffice printed documents with CUPS without needing

Re: Why regex doesn't work in while loop's condition?

2019-09-06 Thread Andreas Kusalananda Kähäri
On Fri, Sep 06, 2019 at 11:39:06PM +0500, JohnS wrote: > Hi, all! > > Why next construction doesn't work? > > read x; while [ "$x" != [abc] ]; do echo "Not a, b or c"; break; done > > I tried many variants but can't make it work. Moreover I don't understand WHY > it > doesn't work?! > > Thanks

Why regex doesn't work in while loop's condition?

2019-09-06 Thread JohnS
Hi, all! Why next construction doesn't work? read x; while [ "$x" != [abc] ]; do echo "Not a, b or c"; break; done I tried many variants but can't make it work. Moreover I don't understand WHY it doesn't work?! Thanks!

Re: Xerox Phaser printing with CUPS

2019-09-06 Thread Jonathan Drews
On Thu, Sep 05, 2019 at 09:51:47PM -0400, Ian Darwin wrote: > Nice post but: > > On 9/5/19 20:41, Jonathan Drews wrote: > > 2) Add the following line to your /etc/rc.conf.local file: > > pkg_scripts=cupsd. > > No need to manually edit that. Just do > > ?? doas rcctl enable cupsd > > > Reboo

Re: Impossible to remove a broken package on 6.5.

2019-09-06 Thread me
On Fri, Sep 06, 2019 at 07:13:21AM -0700, Chris Cappuccio wrote: > Angelo Rossi [angelo.rossi.home...@gmail.com] wrote: > > > > # pkg_delete -v kicad > > Can't locate object method "updateset_with_new" via package > > "OpenBSD::PkgDelete::State" at /usr/libdata/perl5/OpenBSD/Dependencies.pm > > li

Re: athn in 6.5: no link. Works in 6.4

2019-09-06 Thread Pedro Fortuny Ayuso
Hi! Sorry for the delay. I have looked into the archives you provided and, unfortunatley, already the version from April 21 does not work. I gather from the referenced conversation that we may need to look into February. Would it be possible to get those binaries? Thanks a lot, Pedro. Stefan S

Re: Impossible to remove a broken package on 6.5.

2019-09-06 Thread Chris Cappuccio
Angelo Rossi [angelo.rossi.home...@gmail.com] wrote: > > # pkg_delete -v kicad > Can't locate object method "updateset_with_new" via package > "OpenBSD::PkgDelete::State" at /usr/libdata/perl5/OpenBSD/Dependencies.pm > line 309. > Your /usr/libdata/perl5/OpenBSD directory is corrupted, this shou

Re: wskbd without wsdisplay

2019-09-06 Thread allan
lol, how bout dat? only needin dem digits anyways. fd = fopen("/dev/wskbd0", "r"); if (fd != NULL) { c = 0; while (c < 9) { fread(buf, 48, 1, fd); if (buf[0] == 2 && buf[1] == 0 && buf[2] == 0 && buf[3] == 0) { z = buf[4] - 29;

Re: athn bugs: usbd_free_xfer and fail HT-MCS

2019-09-06 Thread Stefan Sperling
Thanks. These bugs are up for anyone to tackle. I'm already overloaded. On Fri, Sep 06, 2019 at 06:46:52AM -0300, fogkt...@airmail.cc wrote: > Hi! Wanted to report some bugs with athn firmware. I know there has been > some updates > recently (thanks mostly to stsp@ and kevlo@), so I'm not sure wha

athn bugs: usbd_free_xfer and fail HT-MCS

2019-09-06 Thread fogktstv
Hi! Wanted to report some bugs with athn firmware. I know there has been some updates recently (thanks mostly to stsp@ and kevlo@), so I'm not sure what I'm reporting is already known or not. I'm using OpenBSD 6.5, not -current (let me know if full dmesg is needed - the hardware is a AMD Ryzen 5

Re: Xerox Phaser printing with CUPS

2019-09-06 Thread Stuart Henderson
On 2019-09-06, Jonathan Drews wrote: > You have to use the absolute path name > /usr/local/bin/lpr, /usr/local/bin/lprm, /usr/local/bin/lpq and > /usr/local/bin/lp to print with CUPS. I don't like the extra typing so I have this in .kshrc : for i in dig lpq lpr lprm; do

Re: What is you motivational to use OpenBSD

2019-09-06 Thread Péter Bertalan Zoltán
Mohamed salah [2019-08-28 16:32:29 +0200]: > I wanna put something in discussion, what's your motivational to use > OPENBSD what not other bsd's what not gnu/Linux, if something doesn't > work fine on openbsd and you love this os so much what will do? My journey was Windows ---> ‘friendly Linux’

Impossible to remove a broken package on 6.5.

2019-09-06 Thread Angelo Rossi
Hi, Please help, I've got kicad-20100505p11 installed on 6.4 for some reason, then I forgot it and upgraded to 6.5. During a pkg_add -v -u I've got an error said that it cannot upgrade kicad, so I tried to remove it with pkg_delete: # pkg_delete -v kicad Can't locate object method "updateset_with

Re: Kerberos SSH routing tables problem

2019-09-06 Thread Stuart Henderson
The __automatic table is created by pfctl's ruleset optimiser, probably from $broken. I suspect this ilauncher program is tripping either sshguard or your max-src-conn-rate or max-src-conn rules. -- Sent from a phone, apologies for poor formatting. On 6 September 2019 03:57:04 Predrag Punos

Re: Postscript printer recommendations

2019-09-06 Thread Jonathan Drews
On Tue, Jul 16, 2019 at 11:18:16AM -0700, BSD user wrote: > > > On 7/16/19 11:03 AM, Jonathan Drews wrote: > > > > *** WARNING *** > > ulpt(4) needs to be disabled in the kernel (see config(8)) or the printer > > will not be available to libusb. > > > > > > I read the manpage for config (8) an