wsmouse, synaptics, xorg.conf, and Touchpad versus Touchscreen

2024-03-02 Thread Philippe Meunier
quot;Generic Integrated Camera" rev 2.01/67.11 addr 2 video0 at uvideo0 ugen2 at uhub2 port 1 configuration 1 "Generic Integrated Camera" rev 2.01/67.11 addr 2 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets sd1 at scsibus3 targ

Re: qwx0 / QCNFA765 Does 802.11g Only

2024-03-02 Thread Philippe Meunier
Stefan Sperling wrote: >qwx works fine on my 11ac AP in 11a mode. This driver does not yet >support 11n/11ac modes, and adding such support will require a big >chunk of further development time, it won't be ready for 7.5. Okay, thanks, good to know. >Does your AP have support for "legacy 11a/b/g"

qwx0 / QCNFA765 Does 802.11g Only

2024-03-01 Thread Philippe Meunier
Hi, I have a Thinkpad T14g3 (dmesg at the end, using the most recent snapshot) with a QCNFA765 Wifi card. The local access point (not under my control) provides two networks, one 802.11g one (Fios-RSXPW) and one 802.11ac (Fios-RSXPW-5G): $ ifconfig qwx0 scan qwx0: flags=808843 mtu 1500 l

Re: Thinkpad T14 AMD Gen 3

2022-11-10 Thread Philippe Meunier
Jonathan Gray wrote: >Glad to hear amdgpu works on Rembrandt/Yellow Carp. On a related note, I noticed I get the following kernel message when shutting down the X server: [drm] *ERROR* Error waiting for DMUB idle: status=3 Otherwise X seems to work fine. >diff below for those, though it is just

Thinkpad T14 AMD Gen 3

2022-11-07 Thread Philippe Meunier
Hi, I have a new Thinkpad T14 AMD Gen 3. I tried OpenBSD 7.2-current and the install went smoothly (from USB thumb drive to USB thumb drive, for now). The machine booted, X11 seems to work fine, and so does the Ethernet interface, but there's a whole bunch of "unknown" and "not configured" stuff

Re: mfs reported full, but empty

2020-08-21 Thread Philippe Meunier
$ fstat -f /tmp $ man fstat [...] INUM The inode number of the file. It will be followed by an asterisk (‘*’) if the inode is unlinked from disk. [...] $ fstat -f /tmp | fgrep '*' meunier chrome 58879 21 / 235858* -rw--- rwp4 meunier chrom

Re: Request for recommendation - encryption and signature for file backup

2020-01-05 Thread Philippe Meunier
Aham Brahmasmi wrote: >If I am not wrong, the verification should fail. If you have a system that uses private / public signing keys then, yes, you're correct. But: 1) In my opinion it's probably overkill for just doing backups. As I said in my previous email, just using symmetric encryption an

Re: Request for recommendation - encryption and signature for file backup

2020-01-04 Thread Philippe Meunier
>Aham Brahmasmi wrote: >> In my limited understanding, to securely backup and restore a file, the >> steps are: >> >> To backup: >> Step 1 - encrypt the file using a tool >> Step 2 - sign the encrypted file using a tool >> Step 3 - backup the signature and the encrypted file >> >> To restore: >>

Re: Unison on 6.6 - compatibility

2019-11-12 Thread Philippe Meunier
Steven Surdock wrote: >I've tried various combinations of Unison on both ends to no avail. Yes, unison has always been very peculiar about which other version of unison it works with. Nowadays unison is also in "bug fixes only" mode it seems, and the developers now apparently only ever test the l

startx on OpenBSD 6.6

2019-11-10 Thread Philippe Meunier
Theo de Raadt wrote: >We are pleased to announce the official release of OpenBSD 6.6. [...] >o Made startx(1) and xinit(1) work again on modern systems using > inteldrm(4), radeondrm(4) and amdgpu(4). So what exactly is a "modern system"? Or, put another way, how does one differenciate b

pkg_info -Q multiple queries?

2019-10-24 Thread meunier
Hello, Is there a way to do multiple queries at once using pkg_info? Something like: pkg_info -Q query1 query2 ... The best I've found so far is to do something like: for q in query1 query2 ...; do pkg_info -Q $q; done which is slow when the list of queries is long (my network bandwidth is not

Re: Keeping clear out of history

2018-07-31 Thread Philippe Meunier
Ken M wrote: ># I wish this worked ># bind -m '^L'=clear'^J';sed -i '$d' $HISTFILE You need to make sure that the sed command is inside the argument of bind. Something like this: bind -m '^L=^Uclear;sed -i \$d "$HISTFILE"^J^Y' The ^Y is just there to paste back the current line content when you

inteldrm(4) regression from 6.1 to 6.2: wrong console resolution

2018-01-17 Thread Philippe Meunier
Hello, I just upgraded a Thinkpad T43 from OpenBSD 6.1 release to 6.2 release and now the console resolution is not computed correctly anymore so only the upper left part of the screen is actually used (very similar to what is described here: https://marc.info/?l=openbsd-misc&m=150825563609653).

Re: Writing "ones" instead of "zeroes" when wiping disk

2018-01-12 Thread Philippe Meunier
Nick Holland wrote: >Another answer to your question might be to change those zeros to ones. >One way to do that: > ># tr "\0" "\377"

Re: xterm(1) changing UTF-8 characters when copy-pasting?

2017-12-01 Thread Philippe Meunier
Anthony J. Bentley wrote: >I was internally debating this earlier. The bug is already exposed by >any combining characters that don't have precomposed forms. It also >doesn't show up with the default (i.e. non TrueType) fonts. Given that >and how unfriendly the precomposition behavior is, I think d

Re: xterm(1) changing UTF-8 characters when copy-pasting?

2017-12-01 Thread Philippe Meunier
Anthony J. Bentley wrote: >Philippe Meunier writes: >> - When the precompose resource is set to false, copy-pasting the result of >> printf "e\xcc\x81\n" never works correctly in xterm, regardless of >> whether I use TrueType fonts or not. xterm copy-pastes the

Re: xterm(1) changing UTF-8 characters when copy-pasting?

2017-12-01 Thread Philippe Meunier
Ingo Schwarze wrote: >Hum, i don't doubt your analysis. But now i don't understand why >uxterm(1) works for Allan and plain xterm(1) doesn't... Re-reading Allan's email, it's not clear to me whether he did his tests with the precompose resource set to true or false. If using the default value of

Re: xterm(1) changing UTF-8 characters when copy-pasting?

2017-11-30 Thread Philippe Meunier
Allan Streib wrote: >Are you using xterm(1) or uxterm(1)? uxterm does not exist anymore on OpenBSD 6.1: https://www.openbsd.org/faq/upgrade61.html Philippe

Re: xterm(1) changing UTF-8 characters when copy-pasting?

2017-11-30 Thread Philippe Meunier
Anthony J. Bentley wrote: >I get the same result, but only when using TrueType fonts (default or no). If I use TrueType fonts: $ printf "e\xcc\x81\n" only shows the letter 'e', and when I try to copy-paste it I get a letter 'e' followed by a question mark inside a circle. If I then redraw the l

Re: xterm(1) changing UTF-8 characters when copy-pasting?

2017-11-29 Thread Philippe Meunier
Anthony J. Bentley wrote: > precompose (class Precompose) Thanks! That makes xterm work (almost) as expected: $ ls Thérèse $ ls | od -c 000T h e 314 201 r e 314 200 s e \n 014 $ cp Thérèse Thérèse cp: Thérèse and Thérèse are identical (not

Re: xterm(1) changing UTF-8 characters when copy-pasting?

2017-11-29 Thread Philippe Meunier
Ingo Schwarze wrote: >Philippe Meunier wrote: >> $ ls >> Thérèse > >That's a bad idea. Do not use non-ASCII bytes in file names. That's a nice thought but in practice I have some files on that machine with names written in French, Thai, Chinese, Korean, and

xterm(1) changing UTF-8 characters when copy-pasting?

2017-11-29 Thread Philippe Meunier
Hello, I've noticed something unexpected when copy-pasting UTF-8 characters in xterm: xterm seems to change some of the characters into something different but visually similar. Here's an example (using ksh): $ uname -a OpenBSD foo.my.domain 6.1 GENERIC#19 i386 $ ls Thérèse $ ls | od -c 00

Re: Android development on OpenBSD

2017-11-02 Thread Philippe Meunier
Jan Stary wrote: >What do people use to develop Android apps on OpenBSD? As far a I know, no one uses OpenBSD to develop Android apps. The only Android related software available on OpenBSD is adb (available as a package). >I would very much rather use my favorite IDE of vim+make >and just write

Re: Tar and bzip2 maximum compression

2017-10-09 Thread Philippe Meunier
leo_...@volny.cz wrote: >% tar cvvf - On a related note, it would be nice if tar(1)'s man page indicated that the -v option can be specified more than once to get extra information. Until seeing this discussion thread I had never realized this was possible. Philippe

Re: Full disk encryption questions

2017-08-19 Thread Philippe Meunier
Ted Unangst wrote: >Philippe Meunier wrote: >> - is the panic intended (well, known to the developers and considered >> normal; I hesitate to call it a feature) or is it an oversight? > >no, nothing bioctl does should kill init like that. Well, it does, and it's reprod

Full disk encryption questions

2017-08-17 Thread Philippe Meunier
Hello, I've been testing full disk encryption using the softraid crypto discipline on an old Thinkpad T61, using OpenBSD amd64 6.1-release (dmesg below). I just followed the FAQ: creating a wd0a RAID partition, then an encrypted sd1 using bioctl (sd0 was the USB thumb drive I booted from), then i

Re: A couple of password pointers to avoid failed login(1) via cu(1)

2017-01-18 Thread Philippe Meunier
minek van wrote: >generating a 63 character long password with random stuff > >tr -dc "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 >\!\"#$%&'()*+,-./:;<=>?@[\\\]^_\`{|}~"

Re: Why not use malloc S by default?

2016-11-23 Thread Philippe Meunier
Otto Moerbeek wrote: >Here the difference is even bigger (about 68%). I think that shows >enough why S isn't the default (apart from buggy third party >software). Fair enough. Cheers, Philippe

Re: Why not use malloc S by default?

2016-11-23 Thread Philippe Meunier
Otto Moerbeek wrote: >It is not a problem of crashing or not, S does incur a performance hit >that we are not willing accept by default. I've seen this claim several times on this mailing list over the past few years but does anyone have actual data about it? How much of a performance hit is it i

Re: Saw-shaped load on idle computer

2016-11-18 Thread Philippe Meunier
Clint Pachl wrote: >But Philippe is noticing this behavior even in single user mode, right? In >single user, init and a shell should be all that is running in userland. Right. Even after cold-booting straight into single user mode I still see those weird-looking load peaks. >If in single user, I

Saw-shaped load on idle computer

2016-11-15 Thread Philippe Meunier
Hello, I'm just curious: what is it in the kernel that wakes up about every minute to do some work even on a completely idle machine? I'm asking because xload shows some curious looking saw shaped load like this: http://www.ccis.northeastern.edu/home/meunier/xload.jpg That's on a

Re: security(8) doesn't know about mailbox locks

2016-10-21 Thread Philippe Meunier
Kamil Cholewiński wrote: >Try using aliases(5) instead Okay, but still, security(8) ought not to generate bogus warnings regardless of the method used to forward emails (and there are also probably other ways that a lock file might end up in /var/mail, using a .forward file just happens to be the

security(8) doesn't know about mailbox locks

2016-10-21 Thread Philippe Meunier
Hello, When cron runs /etc/daily, that script runs df and netstat and the output is sent by email to root. On my system, emails to root are forwarded to local user meunier using /root/.forward. The forwarding itself temporarily creates a lock file in /var/mail: -rw--- 1 root wheel

Re: Check for wxneeded option?

2016-09-07 Thread Philippe Meunier
Stuart Henderson wrote: >Java was not linked with the wxneeded linker option in 6.0. Okay, I tried with another program that I know does require the wxneeded linker option and indeed 'readelf -l' then shows OPENBSD_WXNEED. So my original question had indeed been answered, I was just mistakenly us

Re: Check for wxneeded option?

2016-09-05 Thread Philippe Meunier
Theo de Raadt wrote: >It is probably staring you in the face. Okay, I assume this requires -current then? I'm using 6.0-release on i386 and I don't see it: $ readelf -l /usr/local/jdk-1.8.0/bin/java | egrep -i wx $ (yes, I know that java was linked with wxneeded (I get an "mprotect W^X violatio

Re: Check for wxneeded option?

2016-09-05 Thread Philippe Meunier
David Coppa wrote: >readelf -l /path/to/executable Well, thanks, but... what should I look for in the output, exactly? Philippe

Check for wxneeded option?

2016-09-05 Thread Philippe Meunier
Hello, How does one check whether an existing program has been linked using the wxneeded option or not? I tried to play with objdump -x but I don't know what to look for in the output... Any help? Thank you. Cheers, Philippe

Re: jot(1) changed behavior

2016-07-15 Thread Philippe Meunier
Theo Buehler wrote: >$ jot -r -p 0 10 1 3 | sort -n | uniq -c >33464 1 >33246 2 >33290 3 According to the man page, "in the absence of -p, the precision is the greater of the numbers begin and end". Since both 1 and 3 have a precision of zero, therefore I would expect your command: jot -r -p

jot(1) changed behavior

2016-07-14 Thread Philippe Meunier
Hello, According to jot(1)'s man page: "$ jot -w %d -r 10 1 4 | sort -n | uniq -c 33306 1 33473 2 33221 3 Note that with random sequences, all numbers generated will be smaller than the upper bound. The largest value generated will be a tiny bit smaller than the upper bound. For floating p

Re: how to send email via Mail

2016-02-26 Thread Philippe Meunier
Jaap Bosman wrote: >Hallo, I would like to use mail(1) for email client. [...] >I guess email addresses have to be listed somewhere? where? How? >ISP adresses and POP or whatever should be listed somewhere? POP is obsolete. Instead you want to use IMAP to read emails from your ISP and SMTP to sen

jdk-1.8.0 and Eclipse

2016-02-16 Thread Philippe Meunier
Hello, I'm running OpenBSD 5.8-release generic on i386. Has anyone managed to get Eclipse 3.2 (the one from packages) working with jdk-1.8.0 (from packages too)? When I try, I get the following error message: "An error has occurred. See the log file ..." and Eclipse dies. The log file contains

Re: unbound(8) generating too many log messages

2016-01-15 Thread Philippe Meunier
Raf Czlonka wrote: >How about simply disabling unbound at boot: [...] >and then have something like this in your /etc/hostname.if: Yes, I ended up disabling ntpd and un-enabling unbound in /etc/rc.conf.local and then using: /etc/rc.d/unbound -f start && /etc/rc.d/ntpd -f start at the end of the

unbound(8) generating too many log messages

2016-01-13 Thread Philippe Meunier
Hello, I have a laptop computer configured to use unbound(8) and ntpd(8) but which does not have any network interface configured by default (except lo0, obviously) since which interface needs to be configured and how depends on where I'm using the computer. After booting, unbound(8) and ntpd(8)

doas(1) and $PATH

2016-01-13 Thread Philippe Meunier
Hello, Could someone be kind enough to explain to me the cause of the following? $ cat /home/meunier/bin/foo #!/bin/ksh echo "it works!" $ /usr/bin/which foo /home/meunier/bin/foo $ foo it works! $ doas /usr/bin/which foo Password: /home/meunier/bin/foo $ doas foo Password: doas: fo

Re: ksh background loop behavior

2014-12-23 Thread Philippe Meunier
Ted Unangst wrote: >You tell ksh to exit on error. [...] >You run a command (egrep) that exits with an error. So correct... (head hits keyboard). Thanks! Philippe

ksh background loop behavior

2014-12-23 Thread Philippe Meunier
Hello, I have a small ksh script that uses ps(1) inside a background loop to monitor some process while the script does some other stuff in the foreground. Here is a simplified version of the script that monitors the startx process, as an example: #!/bin/ksh -ex while true; do ps -lww | egrep st

Re: FYA: http://heartbleed.com/

2014-04-09 Thread Philippe Meunier
Theo de Raadt wrote: >Some other debugging toolkits get them too. To a large extent these >come with almost no performance cost. Is there any special reason why there is no /etc/malloc.conf by default (linking to, say, 'S') then? Philippe

Re: DVD ISO and mount_udf: FSD does not lie within the partition!

2014-02-18 Thread Philippe Meunier
Kenneth Westerback wrote: >I'm pretty sure that DVD's don't come with a disk sector size of 512 >bytes. So trying to access it with 512 byte sectors could be one >problem. You can play with the vnconfig '-t' option and add an >appropriate entry to /etc/disktab that specifies the more likely >sector

DVD ISO and mount_udf: FSD does not lie within the partition!

2014-02-18 Thread Philippe Meunier
--- 1 meunier users 2564476928 Feb 16 01:24 X17-59463.iso Then: # vnconfig vnd0 X17-59463.iso # disklabel vnd0 # /dev/rvnd0c: type: vnd disk: GSP1RMCULFRER_EN label: _DVD duid: flags: bytes/sector: 512 sectors/track

Re: dhclient, resolv.conf

2011-10-22 Thread Philippe Meunier
Kenneth R Westerback wrote: >If you are using dhclient, then /etc/resolv.conf is not really a >configuration file. Unless your machine runs its own DNS server. Then you really don't want dhclient-script to mess with your /etc/resolv.conf. But dhclient-script will still blindly mess with /etc/res

Re: dhclient, resolv.conf

2011-10-21 Thread Philippe Meunier
Antoine Jacoutot wrote: >I use this: > >send dhcp-lease-time 3600; >request subnet-mask, broadcast-address, routers; > >And my resolv.conf is not modified. That's because you happen to be using a DHCP server that has good enough manners not to try to shove unrequested options (like name servers) d

Re: Laptop hard drive and emergency unload

2011-09-05 Thread Philippe Meunier
Steve wrote: >6.3.6.1 Emergency unload > [... ]Emergency unload >is intended to be invoked in rare situations. Because this operation >is inherently uncontrolled, it is more mechanically stressful than a >normal unload. Yes. I have a Thinkpad T43 with a Hitachi Travelstar 5K100 (HTS541060G9AT00)

Re: Donations

2010-12-07 Thread Philippe Meunier
Still off-topic but in light of the current Wikileaks brouhaha the following press statement from the US Department of State is quite funny (unintentionally, I assume): http://www.state.gov/r/pa/prs/ps/2010/12/152465.htm "U.S. to Host World Press Freedom Day in 2011 [...] we are concerned about t

Re: November 26 1931?

2010-06-08 Thread Philippe Meunier
Miod Vallat wrote: >The following diff should fix this issue, can you give it a try? (apply >in sys/dev/ic/) It works fine. Before: [...] root on wd0a swap on wd0b dump on wd0b WARNING: clock lost 21025 days -- CHECK AND RESET THE DATE! [...] Thu Nov 26 00:33:29 ICT 1931 After (no ntpd running)

ath(4): signal power percentage gone?

2010-06-07 Thread Philippe Meunier
Hello, I have a Thinkpad T43 with an Atheros wireless chipset (dmesg below). Today I upgraded to the latest snapshot and I noticed that ifconfig(8) does not show any percentage for the signal power anymore: $ ifconfig ath0 ath0: flags=8863 mtu 1500 lladdr 00:14:a4:72:72:c6 priorit

November 26 1931?

2010-05-26 Thread Philippe Meunier
Hello, I have an old Sun Ultra 10 with a dead motherboard battery. After cold-starting the machine the hardware clock now always indicates the date as being January 1 1968. Strange things then happen when I boot OpenBSD (10.10.6.10 and 10.10.6.11 are my local time servers):

Xorg -br option does not work anymore

2009-12-19 Thread Philippe Meunier
Hello, Xorg's -br option does not seem to work anymore. When I try it I get the standard X grey pattern on the root window instead of getting solid black. The option '-nolisten tcp' still works, and I have not tried to test other options. I noticed the change after upgrading a desktop PC from 4

Re: fonts in NetBeans

2009-07-21 Thread Philippe Meunier
James Hartley wrote: >This has been reported before: >http://marc.info/?l=openbsd-misc&w=2&r=1&s=square+netbeans&q=b See also http://www.netbeans.org/issues/show_bug.cgi?id=145696 If there is someone who regularly compiles netbeans on openbsd, has a fast machine and a fast internet connection, an

Re: Sun Ultra 5/10 installation problems

2009-06-16 Thread Philippe Meunier
nction 1 "Symbios Logic 53c875" rev 0x14: ivec 0x7d1, using 4K of on-board RAM scsibus2 at siop1: 16 targets, initiator 7 softraid0 at root bootpath: /p...@1f,0/p...@1,1/i...@3,0/d...@0,0 root on wd0a swap on wd0b dump on wd0b Interestingly "fdthree" is listed as "not conf

Re: Anyone working with netbeans 5.5?

2009-06-12 Thread Philippe Meunier
MANI wrote: >I'm running -current i386 with netbeans 5.5 and jdk 1.7 from packages, >everything works fine except Netbeans output window, it shows some >characters in square when I compile sources in output window, for example: [...] >I found these two unsolved threads in mailing lists with the sam

Re: Sun Ultra 5/10 installation problems

2009-06-12 Thread Philippe Meunier
Philippe Meunier wrote: >Someone wrote to me directly: >>I don't see the HW entry for a CD in the above dmsg are you sure the >>internal cables are connected? > >I don't know why the CD doesn't appear explicitely in the dmesg, I can >only assume th

Re: Sun Ultra 5/10 installation problems

2009-06-12 Thread Philippe Meunier
Huy Nguyen wrote: >why don't you install from the network? Yes, that's the last boot method I have to try before giving up completely... I'll give it a try next week once I have a bit more spare time. Bryan Irvine wrote: >Grab OpenBSD/4.5/sparc64/cd45.iso and see if you fair better. No luck, I

Sun Ultra 5/10 installation problems

2009-06-11 Thread Philippe Meunier
Hello, I recently rescued an unused Sun Ultra 5/10 that was going to end up in the trash and I've been trying for several hours now to install OpenBSD on it with no success whatsoever. It's a headless machine with one internal disk, a CD drive, a floppy drive, and what looks like a PCI card with

touch -h ?

2008-06-19 Thread Philippe Meunier
ay, chown(8) to have a '-h' option. Symlinks also have their own modification time which is obviously not taken from the directory containing the symlink: $ mkdir adir; cd adir; touch afile; ls -la total 8 drwx------ 2 meunier users 512 Jun 20 11:03 ./ drwxr-xr-x 27 meunier users 1

Virtual consoles : device not configured, ultrasparc IIi

2007-04-28 Thread Pierre-Etienne Meunier
1 : Device not configured Is this a bug, or is there a way to get it to work ? Thanks, P.E. Meunier

Thinkpad hibernation

2006-07-10 Thread Philippe Meunier
Hi, I have a Thinkpad laptop (T43) and I'm about to install OpenBSD on it. I have a few questions regarding hibernation though. I've read various documents online so I'm fairly confident with regard to the "how" but out of curiosity I have some questions below regarding the "why", plus a few comm