Re: termcap issue

2015-08-30 Thread Rhialto
On Sat 29 Aug 2015 at 22:37:22 +0200, Havard Eidnes wrote: For those among us who rather fiercly wish to stick to the idea that the rubout key commonly found in the upper right area of the keyboard sends DEL, and who has many more machines than actively used desktops for logging in to those

Re: termcap issue

2015-08-29 Thread Havard Eidnes
j...@ziaspace.com (John Klos) writes: Sometime between RC1 and RC2, something happened to termcap. I often ssh from a Mac (TERM is xterm-256color) and nothing has changed on that end for ages. However, now on any NetBSD-7.0_RC2 system, the shell shows ^? whenever a backspace is entered and

Re: termcap issue

2015-08-24 Thread Michael van Elst
g...@ir.bbn.com (Greg Troxel) writes: The fact that this tset change is provoking complaints is a testament to how well the propagation of local settings is working. Only DEL was propagated in 4.4BSD. -- -- Michael van Elst Internet: mlel...@serpens.de

Re: termcap issue

2015-08-24 Thread Michael van Elst
g...@ir.bbn.com (Greg Troxel) writes: An alternative would be to remove the kbs attribute from 'remote terminals' in the terminfo database. Sorry, I didn't absorb your second note before replying. Either of those sounds fine, or perhaps both. It's pretty clear that knowing what a remote

Re: termcap issue

2015-08-24 Thread Christos Zoulas
In article b71f1ca5-f252-4aea-b2d1-195afa3b3...@azeotrope.org, Dave Huang k...@azeotrope.org wrote: On Aug 23, 2015, at 2:04, Michael van Elst mlel...@serpens.de wrote: Either sounds OK to me... I've removed the tset from my .login and things are working well for me now. ssh works fine, and

Re: termcap issue

2015-08-24 Thread Dave Huang
On Aug 23, 2015, at 2:04, Michael van Elst mlel...@serpens.de wrote: k...@azeotrope.org (Dave Huang) writes: for network terminals (pretty much just ssh these days, but IIRC this is the case for telnet too. Don't know about rlogin), the client will send the appropriate character to the

Re: termcap issue

2015-08-23 Thread Michael van Elst
k...@azeotrope.org (Dave Huang) writes: On Aug 22, 2015, at 18:02, Michael van Elst mlel...@serpens.de wrote: It depends on what keyboard you use, pckbd sends ^?, ukbd sends ^h. Doesn't that inconsistency cause problems then? E.g., if the terminfo entry for wsvt25 says that erase is ^H and

Re: termcap issue

2015-08-23 Thread Greg Troxel
mlel...@serpens.de (Michael van Elst) writes: FreeBSD removed the tset call from login in 1995, replaced it first with a fixed 'stty erase ^H' and then dropped it altogether. I am not sure if that is the best approach, but it surely avoids the ssh-login problem. An alternative would be to

Re: termcap issue

2015-08-23 Thread Michael van Elst
g...@ir.bbn.com (Greg Troxel) writes: when the erase character has been set via sshd, don't mess with it, because the remote side set it for a reason. That's where you ask for magic. The erase character is always set and tset configures it for the terminal also for a reason. A further

Re: termcap issue

2015-08-22 Thread Pongthep Kulkrisada
* Pongthep Kulkrisada (ptkris...@gmail.com) wrote: * Martin Husemann (mar...@duskware.de) wrote: Please file a PR giving more details (like: what method you use to log in, what terminal emulator you run, what shell you are using, output of stty -a, your TERM environment settings, )

Re: termcap issue

2015-08-22 Thread Pongthep Kulkrisada
* Dave Huang (k...@azeotrope.org) wrote: On Fri, Aug 21, 2015 at 11:51:24PM +0700, Pongthep Kulkrisada wrote: stty erase ^? doesn't work. Hmm, it works for me. What does stty -a show after you do stty erase ^? ? Oops! sorry for my bad. I was doing something else. TGIF stty erase ^? works

Re: termcap issue

2015-08-22 Thread Chris Bannister
On Fri, Aug 21, 2015 at 12:11:08AM +0700, Pongthep Kulkrisada wrote: * Pongthep Kulkrisada (ptkris...@gmail.com) wrote: * John Klos (j...@ziaspace.com) wrote: Sometime between RC1 and RC2, something happened to termcap. I often ssh from a Mac (TERM is xterm-256color) and nothing has

Re: termcap issue

2015-08-22 Thread Dave Huang
On Aug 22, 2015, at 18:02, Michael van Elst mlel...@serpens.de wrote: k...@azeotrope.org (Dave Huang) writes: Also, it seems that wscons on NetBSD/i386 sends ^? for Backspace. It depends on what keyboard you use, pckbd sends ^?, ukbd sends ^h. Doesn't that inconsistency cause problems

Re: termcap issue

2015-08-22 Thread Pongthep Kulkrisada
* Martin Husemann (mar...@duskware.de) wrote: On Sat, Aug 22, 2015 at 08:43:57PM +0700, Pongthep Kulkrisada wrote: If you were more careful and followed this thread, you would find that send-pr was done from me since 7.0_RC2. Which PR is it? I am relatively new to this list. (subscribed

Re: termcap issue

2015-08-22 Thread Martin Husemann
On Sat, Aug 22, 2015 at 10:55:02PM +0700, Pongthep Kulkrisada wrote: I am relatively new to this list. (subscribed last month) Once I did send-pr, after that I have no idea how to find it. But I certainly sent on 3-Aug-2015. You shuold get a reply back from gnats (usually within a few minutes,

Re: termcap issue

2015-08-22 Thread Pongthep Kulkrisada
* Martin Husemann (mar...@duskware.de) wrote: On Sat, Aug 22, 2015 at 10:55:02PM +0700, Pongthep Kulkrisada wrote: I am relatively new to this list. (subscribed last month) Once I did send-pr, after that I have no idea how to find it. But I certainly sent on 3-Aug-2015. You shuold get a

Re: termcap issue

2015-08-22 Thread Martin Husemann
On Sat, Aug 22, 2015 at 08:43:57PM +0700, Pongthep Kulkrisada wrote: If you were more careful and followed this thread, you would find that send-pr was done from me since 7.0_RC2. Which PR is it? Martin

Re: termcap issue

2015-08-21 Thread Johnny Billquist
On 2015-08-20 22:00, Manuel Bouyer wrote: On Thu, Aug 20, 2015 at 09:40:49PM +0200, Johnny Billquist wrote: [...] Yes, stty erase ^? works, but it shouldn't be necessary. I'm actually surprised, since most people nowadays seems to actually want erase to be bound to BS, and I have found

Re: termcap issue

2015-08-21 Thread Pongthep Kulkrisada
* Johnny Billquist (b...@update.uu.se) wrote: Either change your Mac to send a BS character, or configure your NetBSD system to do an erase when receiving a DEL. (stty erase ^?) stty erase ^? doesn't work. The only thing that works is adding these lines to /etc/rc.conf. % grep wsconsctl

Re: termcap issue

2015-08-21 Thread Dave Huang
On Fri, Aug 21, 2015 at 11:51:24PM +0700, Pongthep Kulkrisada wrote: stty erase ^? doesn't work. Hmm, it works for me. What does stty -a show after you do stty erase ^? ? -- Name: Dave Huang | Mammal, mammal / their names are called / INet: k...@azeotrope.org | they raise a paw / the

Re: termcap issue

2015-08-20 Thread Pongthep Kulkrisada
* Pongthep Kulkrisada (ptkris...@gmail.com) wrote: * John Klos (j...@ziaspace.com) wrote: Sometime between RC1 and RC2, something happened to termcap. I often ssh from a Mac (TERM is xterm-256color) and nothing has changed on that end for ages. However, now on any NetBSD-7.0_RC2 system,

Re: termcap issue

2015-08-20 Thread Dave Huang
On Aug 20, 2015, at 14:25, Dave Huang k...@azeotrope.org wrote: The question is what changed between previous versions of NetBSD and 7.0 that caused the erase character to no longer be set to ^? when ssh-ing. IIRC, during the setup of an SSH connection, the client sends the server the

Re: termcap issue

2015-08-20 Thread Johnny Billquist
On 2015-08-20 21:25, Dave Huang wrote: On 8/20/2015 13:15, Johnny Billquist wrote: On 2015-08-20 19:11, Pongthep Kulkrisada wrote: * Pongthep Kulkrisada (ptkris...@gmail.com) wrote: * John Klos (j...@ziaspace.com) wrote: Sometime between RC1 and RC2, something happened to termcap. I often

Re: termcap issue

2015-08-20 Thread Dave Huang
On 8/20/2015 13:15, Johnny Billquist wrote: On 2015-08-20 19:11, Pongthep Kulkrisada wrote: * Pongthep Kulkrisada (ptkris...@gmail.com) wrote: * John Klos (j...@ziaspace.com) wrote: Sometime between RC1 and RC2, something happened to termcap. I often ssh from a Mac (TERM is xterm-256color)

Re: termcap issue

2015-08-20 Thread Dave Huang
On 8/20/2015 13:15, Johnny Billquist wrote: I should probably point out that if the system is echoing ^? when you press they key marked delete, or X], or -, or whatever, then your problem is not in NetBSD, but on your Mac. BTW, I should note that it's not just a Mac issue... the PuTTY ssh

Re: termcap issue

2015-08-03 Thread Pongthep Kulkrisada
* Martin Husemann (mar...@duskware.de) wrote: Please file a PR giving more details (like: what method you use to log in, what terminal emulator you run, what shell you are using, output of stty -a, your TERM environment settings, ) send-pr with details done. -- Pongthep Kulkrisada

Re: termcap issue

2015-08-02 Thread Pongthep Kulkrisada
* John Klos (j...@ziaspace.com) wrote: Hi, Sometime between RC1 and RC2, something happened to termcap. I often ssh from a Mac (TERM is xterm-256color) and nothing has changed on that end for ages. However, now on any NetBSD-7.0_RC2 system, the shell shows ^? whenever a backspace is

Re: termcap issue

2015-08-02 Thread Martin Husemann
On Mon, Aug 03, 2015 at 01:40:35AM +0700, Pongthep Kulkrisada wrote: I also encountered the same problem. I have also tried... stty erase ^H bindkey \177 delete-char Nothing seems to work, this time I have to go back to 6.1_STABLE. Please file a PR giving more details (like: what method

Re: termcap issue

2015-07-30 Thread Martin Husemann
On Thu, Jul 30, 2015 at 08:54:00AM +, John Klos wrote: Hi, Sometime between RC1 and RC2, something happened to termcap. Probably this change: usr.bin/tset/set.c 1.18 Restore logic for setting the VERASE character. - use terminfo _unless_ the

termcap issue

2015-07-30 Thread John Klos
Hi, Sometime between RC1 and RC2, something happened to termcap. I often ssh from a Mac (TERM is xterm-256color) and nothing has changed on that end for ages. However, now on any NetBSD-7.0_RC2 system, the shell shows ^? whenever a backspace is entered and the terminal is not interactive.

Re: termcap issue

2015-07-30 Thread Greg Troxel
John Klos j...@ziaspace.com writes: Sometime between RC1 and RC2, something happened to termcap. I often ssh from a Mac (TERM is xterm-256color) and nothing has changed on that end for ages. However, now on any NetBSD-7.0_RC2 system, the shell shows ^? whenever a backspace is entered and the