Re: Browser access to file system on new install OpenBSD missing.

2022-07-11 Thread Björn Gohla
Brian Durant writes: > I have a problem with both Firefox and Chromium being unable to access > the file system using the "open" dialog. The dialog appears, but no > files or directories appear regardless of path. Things function [...] This sounds like an unveil(2) issue. Only white-listed

using mdnsd as resolver

2021-08-14 Thread Björn Gohla
hi all, i'm trying to use openmdns to find my network printer. it shows up (sporadically) when i run $ mdnsctl browse -r and i can obtain the address using $ mdnsctl lookup EPSON892A3E.local but how do i integrate the mdns daemon into resolv.conf? the man pages certainly don't mention how to

Re: kitty termcap entry

2021-07-03 Thread Björn Gohla
Stuart Henderson writes: > On 2021-06-20, Björn Gohla wrote: >> >> hi all, >> >> i have the following problem with the kitty terminal emulator: >> >> >> 15:43:39 bgohla@titanic ~ $ doas pkg_add hello >> doas (bgo...@titanic.my.domain)

Re: kitty termcap entry

2021-06-20 Thread Björn Gohla
Karl Pettersson writes: > Hi > > Have you tried this (specifically the last part about generating a termcap > description and appending to the termcap database)? > >

kitty termcap entry

2021-06-20 Thread Björn Gohla
hi all, i have the following problem with the kitty terminal emulator: 15:43:39 bgohla@titanic ~ $ doas pkg_add hello doas (bgo...@titanic.my.domain) password: failed termcap lookup on xterm-kitty at /usr/libdata/perl5/OpenBSD/ProgressMeter/Term.pm line 113. 15:44:02 bgohla@titanic ~ $

libedit history size required

2021-04-15 Thread Björn Gohla
hi all, i came across this little problem when using the edit library (https://github.com/openbsd/src/tree/master/lib/libedit): when using the history facility one needs to explicitly set a size, e.g., history(hist, , H_SETSIZE, 100); otherwise history will not work. the man page history(3)

pkg_add fails: 6.9 no such directory

2021-04-15 Thread Björn Gohla
hi all, i'm on 6.9 current. installing any package (example below) fails since there is apparently no 6.9 release directory. what am i doin wrong? thanks for any hints. --- titanic# pkg_add gbc https://cdn.openbsd.org/pub/OpenBSD/6.9/packages/amd64/: no such dir Can't find gbc titanic# uname

Re: plugging head phones does not mute speaker

2021-01-27 Thread Björn Gohla
Maurice McCarthy writes: > Sndiod is to be the default method of controliing audio. > Run sndiod and see what sndioctl says. > > doas rcctl enable sndiod > doas rcctl start sndiod > doas sndioctl [...] thanks. this does not solve the problem unfortunately. -- cheers, björn

plugging head phones does not mute speaker

2021-01-19 Thread Björn Gohla
hi all, i have this embarrassing little problem: when i play music and plug in head phones, the built in speakers are not muted, even though mixerctl says so. the headphones do work correctly. i get this output whith the head phones plugged: inputs.dac-2:3=80,80 inputs.dac-0:1=80,80

Re: Getting wifi bitrate

2021-01-04 Thread Björn Gohla
Tilo Stritzky writes: > On 31/12/20 16:13 Björn Gohla wrote: >> Stefan Sperling writes: >> > What problem are you trying to solve? >> >> I just want to show the network activity in my desktop status line. > > You might want to take a look a netstat

Re: Getting wifi bitrate

2021-01-01 Thread Björn Gohla
[...] >> I just want to show the network activity in my desktop status line. > > Understood, fair enough. > The chosen Tx rate is not a very reliable indicator of actual throughput > but it can serve as a wifi link quality indicator to some extent. >From ifconfig.c I gather that

Re: Getting wifi bitrate

2020-12-31 Thread Björn Gohla
Stefan Sperling writes: > On Thu, Dec 31, 2020 at 02:28:35PM +0000, Björn Gohla wrote: >> Hi all, [...] >> So how do I get the it? Am I looking in the wrong place, or does the >> driver just not expose this information? > > Rate/MCS + channel width + some other par

Getting wifi bitrate

2020-12-31 Thread Björn Gohla
Hi all, I have a small question: I want to get the current rate of actually transmitted (and received) bits for my wifi adaptor. I thought this fragment from ifconfig does what I want (https://github.com/openbsd/src/blob/3a44e88910781e836bd51a8b6b068379abc67a1b/sbin/ifconfig/ifconfig.c#L2783):

xterm dies

2020-12-27 Thread Björn Gohla
Hi All, Since updating to snapshot a few days ago I've been having problems with xterm randomly dying. I was able to capture this on another terminal: 16:51:12 bgohla@titanic[1] ~ $ xterm: Error 50, errno 35: Resource temporarily unavailable Reason: in_put: select() failed 16:51:12

development best practices

2020-11-28 Thread björn gohla
hi all, i'm fairly new to openbsd. and i've run into the following problem, where i want to hack a project (most recently trying to fix a possible issue with i3status), but building the from the git source tree fails. now, in the specific case, i'm trying to build a version that, also exists in