Subject: Re: more and less are unable to display german umlaute
To: None <current-users@NetBSD.ORG>
From: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
List: current-users
Date: 06/24/1996 07:35:43
> when displaying the word=20
> Farbausz=FCge
> with more i get=20
> Farbausz|ge
> with less i get=20
> Farbausz<FC>ge
> (all tried in an xterm)
> only cat does it well.
> What can i do to make them work?

I use LESSCHARDEF=8bcccbcc18b95.b. in the environment.  (I used to use
LESSCHARSET=latin1, but found that I also wanted the 0x80-0xa0
characters to be considered printable.)  This fixes less, and I never
use more.

> What editor is able to edit these characters?  vi and emacs don't
> display them correct too.

You don't say which emacs you use.  The emacs I use (a very old Gosling
emacs I've ported from system to system over the past many years) works
just fine.  (Of course, my .emacs_pro loads things that ultimately do
set-display-string calls to make all the Latin-1 printables display as
themselves.)  I once looked at making a GNU emacs display high-half
characters sanely; I think I managed it, but I don't remember what if
anything I did with the resulting diffs.

> Is there a way to input german chars with=20 US Keymap?

Not directly, I suspect.  If you're running X, you can xmodmap those
characters directly onto keys, or use compose processing or an
appropriate input method.  If not, you may have to depend on various
programs supporting pseudo-compose, or else hack on the keyboard
interpretation code for the relevant port(s) - you don't say which
port(s) you're interested in, and for keyboard handling it matters.

					der Mouse

			    mouse@collatz.mcrcim.mcgill.edu