<<< Date Index >>>     <<< Thread Index >>>

S-Lang, FreeBSD, <home> / <end> key bindings problem



Hi,

Once again since upgrading to the latest mutt-dev FreeBSD port I
find myself having key binding problems.

I notice that teh latest mutt-dev port now uses S-Lang by default so
I have gone along with that, and after a bit of tweaking did get my
colours to work properly again, but I still can't work out what's
gone wrong with my key bindings.

I do ":exec what-key" and press <home> and get this:

Char = ~, Octal = 176, Decimal = 126

<end> is:

Char = 4, Octal = 64, Decimal = 52

but that doesn't seem right because those are the codes for the
literal characters ~ and 4!

Doing a <ctrl-v> <home> shows:

^[[1~

Doing <ctrl-v><end> shows:

^[[4~

which is what they have always shown, yet my old binds (generated by
using what-key with mutt compiled for ncurses) no longer work.

Anyone have any ideas or should I go back to using mutt with
ncurses?

Regards,
Andy

$ mutt -v 
Mutt 1.5.6i (2004-02-01)
Copyright (C) 1996-2002 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: FreeBSD 4.10-STABLE (i386) [using slang 10409] [using libiconv 1.9] 
[using libidn 0.5.4 (compiled with 0.5.4)]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
-USE_FCNTL  +USE_FLOCK
+USE_POP  +USE_IMAP  +IMAP_EDIT_THREADS  -USE_GSS  +USE_SSL  -USE_SASL  
-USE_SASL2  
+HAVE_REGCOMP  -USE_GNU_REGEX  +COMPRESSED  
+HAVE_COLOR  -HAVE_START_COLOR  -HAVE_TYPEAHEAD  -HAVE_BKGDSET  
-HAVE_CURS_SET  -HAVE_META  -HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  -CRYPT_BACKEND_GPGME  
-BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  -HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  
+HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +HAVE_GETADDRINFO  
+USE_HCACHE  
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please use the flea(1) utility.

patch-1.5.6.dw.multiple-crypt-hook.2
patch-1.5.6.dw.confirm-crypt-hook.1
patch-1.5.6.dw.crypt-autoselectkey.1
patch-1.5.6.dw.pgp-menu-traditional.2
patch-1.5.6.dw.maildir-mtime.1
patch-1.5.6.tg.hcache.2
patch-1.5.6.eh.thread_subject.1
patch-1.5.6.cb.thread_pattern.1
vvv.quote
patch-1.5.0.ats.date_conditional.1
dgc.deepif.1
vvv.initials
rr.compressed

Attachment: pgpFiMAyhmAc7.pgp
Description: PGP signature