Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!ames!pasteur!aldebaran!carlton From: carlton@aldebaran (Mike Carlton) Newsgroups: comp.sys.next Subject: Re: NeXT keyboards Message-ID: <10811@pasteur.Berkeley.EDU> Date: 5 Feb 91 20:50:08 GMT References: <5111@media-lab.MEDIA.MIT.EDU> <_u8G$b1f@cs.psu.edu> <1991Feb5.032803.23922@ni.umd.edu> <11946@darkstar.ucsc.edu> Sender: news@pasteur.Berkeley.EDU Reply-To: carlton@aldebaran.berkeley.edu (Mike Carlton) Organization: University of California at Berkeley Lines: 31 In article <11946@darkstar.ucsc.edu> kjell@saturn.ucsc.edu (Kjell Post) writes: >In article <1991Feb5.032803.23922@ni.umd.edu> louie@sayshell.umd.edu (Louis A. Mamakos) writes: >>Just because the European market demands an >>unusable keyboard is no reason we should be stuck with one. (This is >>the explanation/excuse that I've been told.) >> >>louie > >We don't want it either! I type a lot of Swedish text and the '|' is >used as a replacement for the o-with-umlaut character. Not to mention >plumbing-work in UNIX... . > >I'd be interested to hear if anyone has figured out a good place for >putting that "lost" key back on the keyboard. I put the pipe on shift-delete. Normally shift-delete produces backspace, but I don't use it (besides there is always cntl-h). After a little searching, I found the right bytes to munge in the keymapping to produce the pipe. You want to replace the sequence 'stx nul del nul bs' with 'stx nul del nul |'. It is at offset 0312 in USA.keymapping, i.e. 'od -a /NextLibrary/Keyboards/USA.keymapping | grep 0000300' produces: 0000300 soh - nul nul 2 nul nul 5 del del stx nul del nul bs nl I copied the USA.keymapping to ~/Library/Keyboards/pipe.keymapping and munged it, restarted Preferences and selected the new mapping and it works like a charm. Cheers, --mike Mike Carlton carlton@cs.berkeley.edu