NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/43148: /bin/ksh vs. rxvt terminal
>Number: 43148
>Category: bin
>Synopsis: /bin/ksh vs. rxvt terminal
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 11 09:05:00 +0000 2010
>Originator: Aleksey Cheusov
>Release: NetBSD 5.0_STABLE
>Organization:
>Environment:
System: NetBSD asrock.chizhovka.net 5.0_STABLE NetBSD 5.0_STABLE (GENERIC) #0:
Sat Feb 20 12:33:43 EET 2010
cheusov%asrock.chizhovka.net@localhost:/srv/obj/sys/arch/amd64/compile/GENERIC
amd64
Architecture: x86_64
Machine: amd64
>Description:
/bin/ksh doesn't work properly with x11/mrxvt terminal application (TERM=rxvt).
Home and End keys doesn't work.
Assignments for Home and End keys were made in the following way
asrock# bind '^[[7~=beginning-of-line'
asrock# bind '^[[8~=end-of-line'
asrock# bind | grep beginning-of-line
^A = beginning-of-line
^X7 = beginning-of-line
^XH = beginning-of-line
asrock# bind | grep end-of-line
^E = end-of-line
^X8 = end-of-line
^XF = end-of-line
asrock#
but when they pressed, cursor is moved to the beginning/end of line
and unexpected symbol ~ (tilde) is shown like this
asrock# ~qqq # Home was pressed here
or
asrock# qqq~ # End was pressed here
C-a and C-e keys works just fine.
asrock# set -o
Current option settings
allexport off keyword off notify off vi
off
braceexpand on login on nounset off viraw
off
bgnice off markdirs off physical off vi-show8
off
emacs on monitor on posix on
vi-tabcomplete on
emacs-usemeta off noclobber off privileged off
vi-esccomplete off
errexit off noexec off restricted off xtrace
off
gmacs off noglob off stdin on
ignoreeof on nohup on trackall off
interactive on nolog off verbose off
asrock#
shells/mksh, shells/bash and shells/zsh work just perfectly.
/bin/ksh in xterm (XTERM=xterm) also works fine.
Further details are here
http://mail-index.netbsd.org/netbsd-users/2010/03/29/msg005926.html
>How-To-Repeat:
$ mrxvt -ls
$ /bin/ksh -li # in mrxvt window
$ bind '^[[7~=beginning-of-line'
$ bind '^[[8~=end-of-line'
$
>Fix:
Unknown
Home |
Main Index |
Thread Index |
Old Index