View Issue Details

IDProjectCategoryView StatusLast Update
0000263tcshgeneralpublic2013-08-03 10:59
Assigned To 
Status newResolutionopen 
Platformx64OSFreeBSDOS Version9.1-RELEASE-p4
Product Version6.18.01 
Target VersionFixed in Version 
Summary0000263: binkey not working for Alt-anykey
Descriptionbinkey does not work for Alt key in combination with a letter or backspace. I'd like to use
Alt-b for backward-word
Alt-f for forward-word
Alt-p for history-search-backward
Alt-f for history-search-forward
Alt-Backspace for backward-delete-word

None of these are working in tcsh 6.18.01, neither with the tcsh included in FreeBSD, nor with a self-compiled one. However, all of these worked in FreeBSD 8.2 and they do on 9.1 with a self-compiled 6.17.00.

I checked the tc.bind.c, but it hasn't changed since 6.17.00, so the bug must be somewhere else.
Steps To ReproduceLaunch an xterm with a tcsh, setenv LC_CTYPE de_DE.ISO8859-1 (can reproduce it with C as well, but get different output)
bindkey [press Alt-b] backward-word
[press Alt-b]

Now you get an a with a ^ on top, don't know if this looks correct in the ticket system: รข (for LC_CTYPE C you get \342)

Expected result: Alt-b bound to backward-word and thus no output.
Additional Informationreproduces with
tcsh 6.18.01 (Astron) 2012-02-14 (x86_64-amd-FreeBSD) options wide,nls,dl,al,kan,sm,rh,color,filec
tcsh 6.18.01 (Astron) 2012-02-14 (x86_64-amd-FreeBSD) options wide,nls,dl,al,kan,rh,color,filec

Does not reproduce with
tcsh 6.17.00 (Astron) 2009-07-10 (unknown-unknown-FreeBSD) options wide,nls,dl,al,kan,rh,color,filec
TagsNo tags attached.





2013-08-03 10:59

reporter   ~0000470

Workaround: Set eightBitInput of xterm to false

Issue History

Date Modified Username Field Change
2013-07-02 07:06 bindkey New Issue
2013-08-03 10:59 bindkey Note Added: 0000470