From owner-freebsd-hackers Fri Jan 24 23:55:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA23293 for hackers-outgoing; Fri, 24 Jan 1997 23:55:36 -0800 (PST) Received: from rf900.physics.usyd.edu.au (rf900.physics.usyd.edu.au [129.78.129.109]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA23288 for ; Fri, 24 Jan 1997 23:55:32 -0800 (PST) Received: (from dawes@localhost) by rf900.physics.usyd.edu.au (8.8.2/8.8.2) id SAA06028; Sat, 25 Jan 1997 18:55:04 +1100 (EST) From: David Dawes Message-Id: <199701250755.SAA06028@rf900.physics.usyd.edu.au> Subject: Re: How to type French characters into Netscape? In-Reply-To: from Jake Hamby at "Jan 23, 97 04:23:57 pm" To: hamby@aris.jpl.nasa.gov Date: Sat, 25 Jan 1997 18:55:03 +1100 (EST) Cc: hackers@freebsd.org, XFree86@xfree86.org X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >(I'm CC'ing this question to FreeBSD-hackers as well as XFree86 because it >seems to be more of a FreeBSD/Netscape related question now that I've >figured out the XFree86 angle) > >Thanks to those who responded to my initial query, now I am able to type >the French accented characters in XFree86 (instructions are given below). >But now I have a different problem: FreeBSD Netscape doesn't support >the accented characters! I'm using the Netscape-3.01 port under >FreeBSD-current and XFree86 3.2. When I paste, for example, an é into >Netscape, I get nothing, when I try to type it ( + ' + e), I >get 'e, which isn't right either. > >Is there something I can figure to make Netscape's text-entry boxes 8-bit >clean? Is it because it's an X11R5 binary? Would using the Linux version >of Netscape help? If I can't figure this out, I'm just going to use my >BeBox web browser because this X configuration nonsense has wasted too >much of my time already! It is because it is an X11R5 binary. The Linux Netscape binary seems to be linked against R6 libraries, but when I try it on FreeBSD 2.2 it crashes early with SIGEMT (am I doing something wrong here, or is it known to not work?). One way that does work with the BSDI Netscape binary is to make use of Mode_switch, and map accented characters to the 3rd and 4th keysym slots. For example, if I do: xmodmap -e 'keysym a = a A aacute Aacute' then Mode_switch + A -> aacute and Mode_switch + Shift + A -> Aacute. If you have the "standard" XFree86 3.2 XKB settings: XkbRules "xfree86" XkbModel "pc101" XkbLayout "us" You can enable various ways of switching between the first and second pair of mappings by adding a line: XkbOption "OPTION" where "OPTION" is one if "+group(switch)", "+group(toggle)", "+group(shift_toggle)", "+group(ctrl_shift_toggle)", "+group(ctrl_alt_toggle)". See the file /usr/X11R6/lib/X11/xkb/symbols/group for a description of these. David