By default zsh is missing /etc/zsh/zshrc, that contains configuration for certain keyboard settings. I'm including /etc/zsh/zshrc from Debian Sarge 3.1 that fixes this issue by simple copying it there. I'm using 8859-15@euro, Finnish layout, and keymaps. This has been reproduced by.. several Finnish people and all confirmed this zshrc fixes it. Home, does not respond. End, does not respond. Page Up, produces tilde ~ Page Down, produces tilde ~ zshrc that fixes it at: http://hdr.unk.fi/~drac/zshrc from Debian. Reproducible: Always Steps to Reproduce: 1. Set keymaps and layouts to Finnish. 2. Run zsh. 3. Try keys home, end, page up and page down. Actual Results: Keys won't work? Expected Results: Keys work. Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12 i686) ================================================================= System uname: 2.6.12 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -mmmx -m3dnow -msse -ffast-math -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -mmmx -m3dnow -msse -ffast-math -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/" LANG="fi_FI@euro" LC_ALL="fi_FI@euro" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X a52 aac aalib alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 bzlib cdparanoia cdr crypt cups curl dvd dvdread emboss encode esd exif fam ffmpeg flac foomaticdb fortran ftp gdbm gif gimpprint glibc gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 jack java javascript jpeg kde kdeenablefinal libcaca libg++ libwww lm_sensors logitech-mouse mad mikmod mmx mmxext motif mozilla mp3 mpeg mplayer msn musepack ncurses nls nptl nptlonly offensive ogg oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline real rtc sdl sndfile speex spell sqlite sse ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb videos visualization vorbis win32codecs xine xinerama xml2 xmms xscreensaver xv xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
I don't know what you want to do with Page Up et Page down, (Shift PageUP and Shift PageDown works). For home,End and del : here it is... perhaps it could be added to the default zshrc General TEM=xterm: bindkey "^[[H" beginning-of-line bindkey "^[[F" end-of-line For RVXT and other(wterm) TERM=lin : bindkey "^[[1~" beginning-of-line bindkey "^[[4~" end-of-line For everything (the del key): bindkey "^[[3~" delete-char
(In reply to comment #1) > I don't know what you want to do with Page Up et Page down, (Shift PageUP and > Shift PageDown works). For home,End and del : here it is... > perhaps it could be added to the default zshrc For example, in Konsole and scrolling with Page Up and Page Down only with those addons you posted they produce tilde ~ and history-scrolling doesn't work. So it's quite clear some bindings are needed, they are in Debian's zshrc but i'm not so familiar with zsh I could point them out for you. It fixed Home and End though. Thanks.
If you want to create your custom bindings : type : bindkeys it will show you available "fonctions" assigned to each key To know all available functions, "info zsh", and select the menu : up-line-or-history type : bindkeys '<Ctrl-V>-<YourKey>' your_function I don't really like the debian way (not easy to know what they try to do)
I don't see point keeping this open, can't be bothered to find out how Debian does that exactly.. and/or lack of skills to read zsh variables.