This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Running texconfig breaks backspace in Bash/MinTTY

Here's an interesting bug: normally in a Bash session in MinTTY,
backspace and Ctrl+H both delete the previous character, as expected.
However, after running texconfig and returning to the shell, both the
backspace key and Ctrl+H appear to just print "^H" to the terminal.

It looks like this is genuinely the terminal trying to render a
backspace character, rather than just backspacing, given the following:

    $ printf ^H | xxd
    00000000: 08                                       .

(To get that, I typed "printf {backspace} | xxd".)

It's not clear to me whether this is Bash, MinTTY or texconfig that's
misbehaving.  Ctrl+W to delete a word, Ctrl+R to get (for me) fzf's
history search, and using the up and down arrows to navigate history all
work.  Running Vim, opening a new Bash shell from within the duff one,
or SSHing to another box has Ctrl+H working just fine within that
process, but the bugged behaviour resumes when I return to the original
Bash shell.

Attempting the same thing but using Windows' cmd shell window, by
running cmd, running c:\cygwin64\bin\bash there, configuring PATH to
include /bin, then running texconfig, has Ctrl+H and backspace both
working fine to delete the previous character after texconfig exits.

Redacted cygcheck.out attached.

Attachment: cygcheck.out
Description: Text document

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]