Re: gnuclient / display special characters in tty
Roland Fehrenbacher <[email protected]> Fri, 4 Aug 2006 15:30:17 +0200
| Newsgroups | gmane.emacs.xemacs.mule |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Aidan" =3D=3D Aidan Kehoe <[email protected]> writes: Aidan> Ar an ceathr=FA l=E1 de m=ED L=FAnasa, scr=EDobh Roland Aidan> Fehrenbacher: >> I have an annoying problem with the display of I18n stuff. I >> usually start my xemacs session on my workstation at work under >> X where everything works fine, i.e. special characters like >> umlaut etc. are displayed correctly. When I want to connect to >> my running xemacs session using gnuclient from a non-X >> connection, i.e. a terminal, however, I cannot input or display >> the special characters. >>=20 >> Any ideas how this problem can be solved? Aidan> Add this to your ~/.xemacs/init.el : Aidan> (add-hook 'create-console-hook '(lambda (con) (when (eq Aidan> (device-type (car (console-device-list con))) 'tty) Aidan> (set-input-mode t nil 1 nil con) Aidan> (set-console-tty-coding-system con 'iso-8859-1)))) Aidan> ;; High-bit set is a character, not the meta Aidan> key. (set-input-mode nil nil 1) Ok, thanks, this brought me a bit further: I can now input =E4 =F6 =FC, b= ut it still doesn't display the characters in the vm Presentation buffer, and =DF or =C4=D6=DC just show control characters when being typed. Aidan> and make sure that your terminal emulator is sending Aidan> ISO-8859-1; in PuTTY, you can configure this from the Aidan> configuration pane with Window -> Translation -> Received Aidan> data assumed to be in which character set. I'm using KDE konsole, and experimented with the encoding settings, but the default or setting ISO-8859-1 explicitly didn't change anything. >> I'm using xemacs-mule version 21.4.18; December 2005 from Ubuntu 6.= 06.