The bs key thing is probably something like it assumes backspace will be ^H but on OpenBSD it is \177. Dunno why it works for dcoppa unless he is using a terminal which sends something else for backspace.
Delete is typically \033[3~ but I would guess it just gets that from ncurses and pretends it is backspace. On Tue, Jul 26, 2011 at 01:29:34AM +0100, Nicholas Marriott wrote: > Run ncmppc in script(1) and see what it is sending with TERM=wsvt25. > > Probably it is bypassing terminfo or doing something silly like trying > to set the xterm window title which tends to make wscons unhappy. > > > On Mon, Jul 25, 2011 at 05:19:31PM -0700, Bryan Linton wrote: > > On 2011-07-25 10:49:47, David Coppa <dco...@gmail.com> wrote: > > >On Sun, Jul 24, 2011 at 10:06 PM, Bryan Linton <b...@shoshoni.info> wrote: > > >> On 2011-07-24 18:38:55, David Coppa <dco...@gmail.com> wrote: > > >>> No one wants to comment/ok this? > > >>> > > >> > > >> (Mostly) works for me on i386. ?The tag editor/search page doesn't > > >> respond to a backspace key at all. ?Delete functions as a > > >> backspace key instead (deleting to the left of the cursor). > > > > > > Works for me. > > > > > > Please, can you retry with: > > > > > > $ env LC_CTYPE=en_US.UTF-8 ncmpcpp > > > > > > > No change. However, unchecking "Backarrow Key (BS/DEL)" in the > > xterm main options menu causes ncmpcpp to behave the same as ncmpc > > WRT backspace. > > > > Leaving it unchecked causes the xterm window to treat both > > backspace and delete as delete so I can't disable it permanently > > but it's a simple workaround to disable it just for ncmpcpp. > > > > I tried running it on the console. The system bell beeped once > > and then everything on the screen disappeared except a flashing > > underscore character two lines above the bottom of the screen. > > ncmpc and mutt work fine with TERM=wsvt25. I tried setting TERM > > to vt100 and vt220. Mutt and ncmpc work fine with them, albeit > > without color, but ncmpcpp still causes the screen to blank as > > above. > > > > If I press ^C I hear the system bell beep again. When followed by > > a ^D and <enter> I get the login prompt back. I get no coredump > > afterwards. Packages were updated with the snapshot I'm running. > > Two potentially relevant files follow. I can't think of anything > > else that could be causing this. > > > > Can you reproduce this at all? If not I'll do some more digging > > on my own. I don't think I have anything weird going on with my > > system or configuration but if I do I'd like to fix it. > > > > > > ### wsconsctl.conf > > > > # $OpenBSD: wsconsctl.conf,v 1.2 2007/05/14 05:06:03 tedu Exp $ > > # > > # wscons configurable parameters > > # > > keyboard.repeat.del1=300 # change keyboard repeat/delay > > keyboard.repeat.deln=30 > > #keyboard.encoding=ru # use different keyboard encoding > > #keyboard.bell.volume=0 # mute keyboard beep > > #display.vblank=on # enable vertical sync blank for screen burner > > #display.screen_off=60000 # set screen burner timeout to 60 seconds > > #display.msact=off # disable screen unburn w/ mouse > > keyboard.map+="keysym Caps_Lock = Escape" # set caps-lock to escape > > keyboard.bell.pitch=440 > > > > > > ### dmesg > > > > OpenBSD 4.9-current (GENERIC) #8: Wed Jul 13 09:47:42 MDT 2011 > > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC > > cpu0: AMD Athlon(tm) Processor ("AuthenticAMD" 686-class, 256KB L2 cache) > > 1.01 GHz > > cpu0: > > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR > > real mem = 804753408 (767MB) > > avail mem = 781537280 (745MB) > > mainbus0 at root > > bios0 at mainbus0: AT/286+ BIOS, date 04/23/02, BIOS32 rev. 0 @ 0xf0f80, > > SMBIOS rev. 2.3 @ 0xf2940 (49 entries) > > bios0: vendor Award Software, Inc. version "ASUS A7V ACPI BIOS Revision > > 1011" date 04/23/2002 > > bios0: ASUSTeK Computer INC. <A7V> > > apm0 at bios0: Power Management spec V1.2 > > acpi at bios0 function 0x0 not configured > > pcibios0 at bios0: rev 2.1 @ 0xf0000/0x1802 > > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf1750/176 (9 entries) > > pcibios0: PCI Interrupt Router at 000:04:0 ("VIA VT82C686 ISA" rev 0x00) > > pcibios0: PCI bus #1 is the last bus > > bios0: ROM list: 0xc0000/0xf400 0xd0000/0x4000! > > cpu0 at mainbus0: (uniprocessor) > > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > > pchb0 at pci0 dev 0 function 0 "VIA VT8363 Host" rev 0x02 > > viaagp0 at pchb0: v2 > > agp0 at viaagp0: aperture at 0xe0000000, size 0x10000000 > > ppb0 at pci0 dev 1 function 0 "VIA VT8363 AGP" rev 0x00 > > pci1 at ppb0 bus 1 > > vga1 at pci1 dev 0 function 0 "ATI Radeon X1300/X1550" rev 0x00 > > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > > radeondrm0 at vga1: irq 11 > > drm0 at radeondrm0 > > "ATI Radeon X1300/X1550 Sec" rev 0x00 at pci1 dev 0 function 1 not > > configured > > pcib0 at pci0 dev 4 function 0 "VIA VT82C686 ISA" rev 0x22 > > pciide0 at pci0 dev 4 function 1 "VIA VT82C571 IDE" rev 0x10: ATA66, > > channel 0 configured to compatibility, channel 1 configured to compatibility > > wd0 at pciide0 channel 0 drive 0: <TRANSCEND> > > wd0: 1-sector PIO, LBA, 3823MB, 7831152 sectors > > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 > > atapiscsi0 at pciide0 channel 1 drive 0 > > scsibus0 at atapiscsi0: 2 targets > > cd0 at scsibus0 targ 0 lun 0: <ASUS, DVD-ROM E608, l.40> ATAPI 5/cdrom > > removable > > atapiscsi1 at pciide0 channel 1 drive 1 > > scsibus1 at atapiscsi1: 2 targets > > cd1 at scsibus1 targ 0 lun 0: <PLEXTOR, CD-R PX-W1610A, 1.05> ATAPI 5/cdrom > > removable > > cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 > > cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 > > uhci0 at pci0 dev 4 function 2 "VIA VT83C572 USB" rev 0x10: irq 5 > > uhci1 at pci0 dev 4 function 3 "VIA VT83C572 USB" rev 0x10: irq 5 > > viapm0 at pci0 dev 4 function 4 "VIA VT82C686 SMBus" rev 0x30: SMI > > iic0 at viapm0 > > lm1 at iic0 addr 0x2d: AS99127F > > viapm0: 24-bit timer at 3579545Hz > > viapm0: HWM disabled > > cmpci0 at pci0 dev 9 function 0 "C-Media Electronics CMI8738/C3DX Audio" > > rev 0x10: irq 5 > > audio0 at cmpci0 > > opl at cmpci0 not configured > > mpu at cmpci0 not configured > > re0 at pci0 dev 11 function 0 "Realtek 8169" rev 0x10: RTL8110S (0x0400), > > irq 10, address 00:e0:4c:77:5a:88 > > rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 0 > > sili0 at pci0 dev 12 function 0 "CMD Technology SiI3124 SATA" rev 0x02: irq > > 11 > > scsibus2 at sili0: 4 targets > > sd0 at scsibus2 targ 2 lun 0: <ATA, ST31000528AS, CC38> SCSI3 0/direct > > fixed naa.5000c5001a7566dd > > sd0: 953869MB, 512 bytes/sector, 1953525168 sectors > > uhci2 at pci0 dev 13 function 0 "VIA VT83C572 USB" rev 0x61: irq 5 > > uhci3 at pci0 dev 13 function 1 "VIA VT83C572 USB" rev 0x61: irq 11 > > ehci0 at pci0 dev 13 function 2 "VIA VT6202 USB" rev 0x63: irq 10 > > usb0 at ehci0: USB revision 2.0 > > uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1 > > pciide1 at pci0 dev 17 function 0 "Promise PDC20265" rev 0x02: DMA, channel > > 0 configured to native-PCI, channel 1 configured to native-PCI > > pciide1: using irq 10 for native-PCI interrupt > > pciide1: channel 0 disabled (no drives) > > atapiscsi2 at pciide1 channel 1 drive 0 > > scsibus3 at atapiscsi2: 2 targets > > cd2 at scsibus3 targ 0 lun 0: <PLEXTOR, DVDR PX-708A, 1.03> ATAPI 5/cdrom > > removable > > cd2(pciide1:1:0): using PIO mode 4 > > isa0 at pcib0 > > isadma0 at isa0 > > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > > com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo > > pckbc0 at isa0 port 0x60/5 > > pckbd0 at pckbc0 (kbd slot) > > pckbc0: using irq 1 for kbd slot > > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > > pcppi0 at isa0 port 0x61 > > spkr0 at pcppi0 > > lpt0 at isa0 port 0x378/4 irq 7 > > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > > usb1 at uhci0: USB revision 1.0 > > uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1 > > usb2 at uhci1: USB revision 1.0 > > uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1 > > usb3 at uhci2: USB revision 1.0 > > uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1 > > usb4 at uhci3: USB revision 1.0 > > uhub4 at usb4 "VIA UHCI root hub" rev 1.00/1.00 addr 1 > > mtrr: Pentium Pro MTRR support > > umass0 at uhub0 port 1 configuration 1 interface 0 "Jabil Circuit Seagate > > External Drive" rev 2.00/2.40 addr 2 > > umass0: using SCSI over Bulk-Only > > scsibus4 at umass0: 1 targets > > sd1 at scsibus4 targ 0 lun 0: <Seagate, External Drive, > SCSI0 0/direct > > fixed serial.0bc20503_SG061100566 > > sd1: 238475MB, 512 bytes/sector, 488397168 sectors > > ugen0 at uhub1 port 1 "American Power Conversion Back-UPS BR 800 FW:9.o2 > > .D USB FW:o2" rev 1.10/1.06 addr 2 > > uhidev0 at uhub1 port 2 configuration 1 interface 0 "Logitech USB-PS/2 > > Optical Mouse" rev 2.00/30.00 addr 3 > > uhidev0: iclass 3/1 > > ums0 at uhidev0: 8 buttons, Z dir > > wsmouse0 at ums0 mux 0 > > uhub5 at uhub2 port 2 "ALCOR Generic USB Hub" rev 1.10/1.00 addr 2 > > vscsi0 at root > > scsibus5 at vscsi0: 256 targets > > softraid0 at root > > scsibus6 at softraid0: 256 targets > > root on wd0a (3c88d4fa37f4527b.a) swap on wd0b dump on wd0b > > > > > > -- > > Bryan > > >