jcjordyn140 / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

Change the backspace key default #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Alot of unix-based systems use ^? rather than ^H by default.  I connect
using SSH into alot of systems with both the ssh command from openssh and
putty.  Is there any possibility to change the default for the backspace
key to send ^?.

Original issue reported on code.google.com by shi...@elite-systems.org on 17 Jan 2009 at 2:11

GoogleCodeExporter commented 9 years ago
I assume you found the backspace key code setting on the "Keys" pane. I'd 
almost made
^? the default because it clearly is The Right Way™ but I chickened out 
because ^H is
the default in all the other terminals in Cygwin and I didn't want to risk
incompatibilities with Cygwin programs.

Original comment by andy.koppe on 17 Jan 2009 at 8:23

GoogleCodeExporter commented 9 years ago
The backspace keycode default is being changed to ^? in Cygwin 1.7, so when (or 
if?)
the xterm terminfo entry for backspace is changed, the default it MinTTY can 
change
as well.

In fact I might just remove the backspace keycode option altogether, and instead
implement the DECBKM control sequence in case anyone still wants to change it 
back to ^H.

Original comment by andy.koppe on 7 Jun 2009 at 8:44

GoogleCodeExporter commented 9 years ago
Might as well remove the escape keycode option too and replace it with a private
control sequence, as it's probably just puzzling rather than useful for most 
users.

Original comment by andy.koppe on 19 Jun 2009 at 7:16

GoogleCodeExporter commented 9 years ago
Done in r444 on trunk.

Original comment by andy.koppe on 22 Jul 2009 at 5:41

GoogleCodeExporter commented 9 years ago

Original comment by andy.koppe on 11 Oct 2009 at 8:30

GoogleCodeExporter commented 9 years ago
Could we please, please put the option for ^H back.

I administer have literally thousands of servers that expect ^H to be the 
backspace
key (wrong, of course, but that it is the way it was set up and there is no 
changing
that wrongness now).  Logging on and having to type stty each time I come from 
cygwin
is a poor solution.

Go ahead and set the default to ^?, but put the option to set it back to ^H in. 
There is a reason that putty and everyone else has this setting.

Original comment by R.Kelley...@gmail.com on 16 Oct 2009 at 2:28

GoogleCodeExporter commented 9 years ago
There's the DECBKM sequence as a replacement for the option:

echo $'\e[?67h'

Original comment by andy.koppe on 16 Oct 2009 at 3:08

GoogleCodeExporter commented 9 years ago
Reinstated backspace keycode option for 0.5.2 after all, to try and avoid 
further
grief with this godawful issue.

Original comment by andy.koppe on 18 Oct 2009 at 10:03