I'm having some trouble with readline-enabled applications running in an
XTerm.  I don't know if this is fink related, but I think it might be, and
I'm not sure where else to ask.

Mac OSX 10.5.8 intel.  All security updates applied, but see below.
XQuartz 2.3.3.2.
Fink 0.29.10, tracking unstable.
I've got readline5-shlibs 5.0-1006 installed.

I generally use uxterm as my primary shell program, and /bin/bash as my
shell.  This shell of course supports readline.

I have X configured to *disable* the X11.app menu keybindings, and uxterm
configured so that command is meta, and I can use, e.g., meta-b and meta-f
to move backword and forward by words at the bash prompt.  This is the
desired behavior.

Whenver I start another program that's linked against fink's readline, like
sqlite3 (version 3.6.13-3) or rlwrap (0.32-1), meta breaks -- not only in
the new program, but also in bash once I quit sqlite3 or whatever.  Now,
meta-b inserts â, and meta-f inserts æ.  I have to restart uxterm in order
to restore the original behavior.

If I fall back on just plain old xterm, things work as expected, so I'm
wondering if fink's readline isn't quite set up to handle
LC_CTYPE=en_US.UTF-8.  Has anyone else seen this?

I'm beginning to suspect Fink's readline because when I run other
readline-enabled programs (like ghci, out of the haskell platform, not out
of fink), everything's fine.

For a bit, I thought it might be due to the recent Apple security upgrade
(after which I reinstalled XQuartz, as normal) -- I experienced something
similar with the uxterm in Snow Leopard's X after an earlier aborted
upgrade attempt.  But I'm still showing this behavior on another computer
whose setup is essentially the same, except that I haven't run Software
Update in about a week and thus haven't pulled down the security update or
reinstalled XQuartz.

I can fall back on xterm if I have to, but I'd prefer not to lose utf-8,
especially for mutt.  Does anyone have any pointers?

I realize I haven't provided a whole lot of information here, but it's a
strange enough problem that I'm not sure what else is useful.  If you'd
like to see my .Xresources file, my .inputrc file, or anything else, please
let me know.

Thanks,

Richard

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to