Mail Archives: djgpp/2000/07/06/04:00:36
Hi Eli,
[emacs]
d>If you want to add that support, please generate a struct
d>dos_keyboard_map variable as appropriate for your keyboard (look
d>around line 1500 in the file src/msdos.c in the Emacs sources for the
d>details) and send it to me.
Actually I don't know how to choose such a dos_keyboard_map within emacs.
Or is it activated by an environment-varianle (LANG=de_DE is set on my
system)? I'll send you an appropiate map soon.
d>You don't say what version of Emacs do you use. If that's Emacs
d>20.5, there are additional considerations for typing non-ASCII
d>characters. For example, you can type Latin-1 characters without your
d>keyboard supporting them, by using a special Input Method.
Using djgpp 2.03 I'd installed the binary distribution em2005b.zip,
em2005li.zip, lei2005.zip, ifnt12cn.zip, ifnt12jk.zip, ifonts12.zip as
well as the sources.
Simply unzipping (-d option, LFN=y) them shows:
Quail package "german-postfix" can't be activated
because library "quail/latin-po" is not in `load-path'.
after selecting the language-environment 'german' and then toggling the
input-method.
BTW, it is *not* possible to use the C-\ keystroke on a german keyboard,
maybe because one have to press <AltGr>+ß to get a backslash. ß is the key
immediate right to <0> on a german keyboard.
BTW2: no probs with this on a linux-box (press <Ctrl+AltGr+ß>).
BTW3: the language support would not help to bring the paragraph-sign on
the screen.
config msdos
make install
as suggested in gnu/emacs/install, section MSDOG, results in
[...]
make.exe[1]: Leaving directory `c:/djgpp/gnu/emacs/lib-src'
cd ..
cd src
c:/djgpp/bin/make.exe top_srcdir=c:/djgpp/gnu/emacs
make.exe[1]: Entering directory `c:/djgpp/gnu/emacs/src'
stubedit temacs.exe minstack=100k
./temacs -batch -l loadup dump
Loading loadup (source)...
Exiting due to signal SIGSEGV
General Protection Fault at eip=000149bd
eax=201b7d00 ebx=101bec34 ecx=101bec34 edx=00000000 esi=0000000
edi=00000019
ebp=001b29b8 esp=001b2990 program=C:\DJGPP\GNU\EMACS\SRC\TEMACS.EXE
[...]
Now I'm a bit confused about how to set up emacs properly ... ;-)
[bash / readline]
d>As for Bash, didn't you say a few months ago that with the same
d>~/.inputrc settings as you cite in your present message you get to
d>see all the 8-bit Latin-1 characters? What's changed since then?
With the mentioned inputrc-settings all umlauts ("a, "o etc) appear on the
screen as they should. There's only one key left and as it's not used
often I didn't recognized it. Given the snippet
#include <stdio.h>
#include <readline/readline.h>
#include <readline/history.h>
main()
{
char *sp = NULL;
char me[] = "bash";
/* Using the '$if bash' entry of ~/.inputrc */
rl_readline_name = me;
printf("Readline Library Version: %s\n", rl_library_version);
do {
if (sp) {
printf("%s\n", sp);
free(sp);
}
sp = readline("->");
} while (sp && *sp && strcmp(sp, "quit"));
free(sp);
}
compiled with -lreadline (rdln22b.zip) I got the readline version 2.2, the
umlauts appear as they should but the (german?) paragraph-sign won't
appear when pressing <shift-3>. Instead it kills the hole line backwards.
As bash 2.03 uses readline version 4.0 it seems not to be fixed in this
newer version...
BTW: no problem with this at a linux-terminal, bash 2.03, readline version
4.0.
--
Regards,
Sönke.
- Raw text -