Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Steve Thompson Newsgroups: comp.lang.c Subject: Re: unicode is a fail Date: Sun, 06 Dec 2015 06:28:21 +0000 Organization: Friends of the Galactic Collective Lines: 57 Message-ID: <3Nz2vb.7Mm.SIGAI@gmail.com> References: <2qyvC0.96Q.SQT8q@gmail.com> <9391fc54-b5f8-42b7-93ab-f170fb2d51eb@googlegroups.com> <87twnx3bax.fsf@bsb.me.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: mx02.eternal-september.org; posting-host="db6a325a180952510645519e280bd6db"; logging-data="24482"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX193lTLZIw6ZW94wpg0FHSZ/" User-Agent: NN 6.4.3 Cancel-Lock: sha1:l118JOTITzgvV780YMf4Bw52GLc= Xref: csiph.com comp.lang.c:77941 On Sat, Dec 05, 2015 at 01:59:34AM +0000, Ben Bacarisse wrote: > Steve Thompson writes: > > > On Fri, Dec 04, 2015 at 11:49:00AM -0800, supercat@casperkitty.com wrote: > >> On Friday, December 4, 2015 at 1:32:22 PM UTC-6, Steve Thompson wrote: > >> > I don't know about most people, but I am often annoyed that my > >> > >> On my own machine I've fixed the problem using a free keyboard-layout > >> utility published by MS. For some weird bizarre reason, though, it's not > >> possible to simply tell Windows "Here's a text file holding my keyboard > >> layout", nor can one simply use the utility to take the text file and > >> install it into the system. Instead, one must use the utility to generate > >> an application which will in turn install the new layout into the system. > >> I have no idea why things are so complicated. Still, programming in C is > >> a lot nicer when things like quote marks work than when they don't. > > > > On Linux there is the loadkeys(1) utility which will install a key map > > from a file, and I have previously (long ago) used it to set up > > function-key macros, but it is a pain in the ass and admittedly not > > terribly prominent on my sysadmin to-do list. I have a hard enough > > time remembering all of my customized editor keystrokes. > > > > OTOH, I am currently using gnome-terminal and it happily accepts > > unicode numbers (similar to the DOS feature, some CTRL-SHIFT-ALT > > numberpad arrangement which escapes me at the moment) > > It's Shift+Ctrl+u and then hex digits. It works in almost all programs > on my system (including Emacs, though Emacs has it's own, often simpler > methods). That's the one. I use a much, much smaller clone of Emacs called jove which lacks a built-in programming language and does not support unicode directly. > > and I might be > > moderately content with a crib sheet for those occasions where I need > > those extra symbols. > > The only key map I modify is to make Insert into Compose so I can get é, > ç, ¾ and so on with memorable keys (Compose ' e, Compose , c, Compose 3 > 4 and so on). My laptop has a "Windows" key which I might repurpose but it is not much of a priority at the moment. Regards, Steve Thompson -- "If I had a nickel for every time some idiot called me about a computer problem that turned out to be user error, I would be able to retire and spend the rest of my days cultivating clues in my backyard hillside garden." -- MysteryDog in 24hoursupport.helpdesk.