Re: Still cant talk to USD ports

2021-07-19 Thread Michael van Elst
tgru...@gmail.com (Todd Gruhn) writes: >Is it possible to tell the system to access port-x as a USB-3 or USB-2 port ? You could probably add a feature to disable USB-3 functionality for a port. On older systems the xhci controller only supports USB-3 and the USB-2 functionality is provided by

Re: backspace in wscons console sends ^H to processes

2021-07-19 Thread RVP
On Mon, 19 Jul 2021, Greg Troxel wrote: "Paul W. Rankin" writes: Out of mere curiosity, how might I retain all this behaviour and also have C-h erase in `cat`, if that is possible? I don't see that as possible, and I have no idea why you would want that. Once you have the key that is

Confused about setting up MATE desktop

2021-07-19 Thread Michael Huff
Hi I'm building MATE from pkgsrc 2021Q2 in a VirtualBox machine (amd64) and so far so good. However, I realize that I'm probably missing a lot of steps and I'm not having great luck finding out what all I need to build, enable or add to rc.conf. Dbus is an obvious one, but after that I have

Re: backspace in wscons console sends ^H to processes

2021-07-19 Thread Johnny Billquist
First of all, as another comment - it wasn't really a DEC vs. anyone else with regards to BS vs DEL. DG for example also used DEL (and there were more). But using DEL pretty much just comes naturally from the teletype, so if anyone wants to argue that BS would be more natural than DEL really

Re: Still cant talk to USD ports

2021-07-19 Thread Todd Gruhn
YES -- on that particular memory-stick, I had not other partitions. But I always told 'mount' to use sd0a. " USB-3.0 and USB-2.0 are logically and physically separate systems that just share the same connector " SOO, how do I differentiate between the two? On the outside of my box, my

Re: ZFS RAIDZ2 and wd uncorrectable data error - why does ZFS not notice the hardware error?

2021-07-19 Thread Mr Roooster
On Sun, 18 Jul 2021 at 00:30, Greg Troxel wrote: > > [snip] > > Ah, interesting point. I find this confusing, because I thought an > uncorrectable read error would, for disks I've dealt with, cause the > sector to be marked as permanently failed and pending reallocation. > It depends where the

Re: Still cant talk to USD ports

2021-07-19 Thread Michael van Elst
tgru...@gmail.com (Todd Gruhn) writes: >HMMM. I stuck a memory stick in a USB-3.0 port connected to the >motherboard. >I did: >mount /dev/sd0 /umass1 >it worked. But why didnt I need to specify partition 'a' ? /dev/sd0 is the same as /dev/sd0d (the raw partition on x86 platform). If

Re: backspace in wscons console sends ^H to processes

2021-07-19 Thread Michael van Elst
b...@update.uu.se (Johnny Billquist) writes: >No idea why they decided on using BS. With teletypes you couldn't "backspace", a DEL would usually print something like a black rectangle or echo the previous character. You can get something similar with 'stty -echoe echoprt' (unless you have a too

Re: backspace in wscons console sends ^H to processes

2021-07-19 Thread Robert Elz
Date:Mon, 19 Jul 2021 08:49:31 -0400 From:Greg Troxel Message-ID: | As additional background, IMHO all of this confusion arose from the | differing setups of DEC computers and the IBM PC. It is older than that. | On a real terminal as | one would have used

Re: cgd + zfs

2021-07-19 Thread Pouya Tafti
On Sun, 18 Jul 2021 at 09:29, Pouya Tafti wrote: > > Thanks! This is an interesting suggestion. I'm > > wondering though, wouldn't having a two-drive mirror create > > an assymmetry in how many failed drives you could tolerate? > > If you lost both mirrors the whole pool would be gone (I > >

Re: backspace in wscons console sends ^H to processes

2021-07-19 Thread Johnny Billquist
Just as an FYI, it was not an IBM thing in general, since IBM didn't usually even use ASCII. (Hello EBCDIC.) No idea why they decided on using BS. But I also always configure things around so that that key sends DEL everywhere I am. Johnny On 2021-07-19 14:49, Greg Troxel wrote: "Paul

Re: backspace in wscons console sends ^H to processes

2021-07-19 Thread Greg Troxel
"Paul W. Rankin" writes: > Based on our chats in #netbsd, I currently have in a wscons.conf > mapfile: > > keycode 57 = Cmd1 Control_L > keycode 42 = Cmd_ResetEmul Delete BackSpace > > And stty -a reveals erase=^? (without intervention on my part). > > This setup allows me to have the

Re: Still cant talk to USD ports

2021-07-19 Thread Todd Gruhn
HMMM. I stuck a memory stick in a USB-3.0 port connected to the motherboard. I did: mount /dev/sd0 /umass1 it worked. But why didnt I need to specify partition 'a' ? If I stuck the stick in tha USB-3,0 port, why did it work? USB-3.0 configured as USB-2? Is it even possible to use USB-3.0.

Re: cgd + zfs

2021-07-19 Thread David Brownlee
On Sun, 18 Jul 2021 at 09:29, Pouya Tafti wrote: > > On Thu, Jul 15, 2021 at 11:43:55AM +0100, David Brownlee wrote: > > Depending on your upgrade plans you may want to consider one 6x1TB > > RAIDZ2 rather than 2 4x1TB RAIDZ2 - you end up with the same amount of > > usable space and you have two

Re: backspace in wscons console sends ^H to processes

2021-07-19 Thread Brett Lymn
On Sat, Jul 17, 2021 at 11:17:55PM -, Michael van Elst wrote: > > Nothing changed recently, and the tty driver never changed. > > Can you check if you run the 'tset' program during login ? > No tset anywhere but I can't reproduce this now, it could be a quirk due to a new kernel and old

Re: backspace in wscons console sends ^H to processes

2021-07-19 Thread Paul W. Rankin
On 2021-07-17 21:29, mlelstv serpens ! de wrote: The keyboard sends character codes. USB keyboards send keycode 42 for the Backspace key and the default ukbd keymap translates this into ASCII code 0x08. PS/2 keyboards send keycode 14 for the Backspace key and the default pckbd keymap