Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!bloom-beacon!eru!kth.se!cyklop.nada.kth.se!news From: d88-jwa@hemul.nada.kth.se (Jon W{tte) Newsgroups: comp.sys.mac.programmer Subject: Re: Pseudo control key for a Plus? Message-ID: Date: 1 Jun 91 09:22:45 GMT References: <1991May29.140048.47146@vaxb.acs.unt.edu> <1991May31.204332.4411@svc.portal.com> Sender: news@nada.kth.se (Mr News) Organization: Royal Institute of Technology, Stockholm, Sweden Lines: 18 In-reply-to: leonardr@sv.portal.com's message of 31 May 91 20:43:32 GMT > leonardr@sv.portal.com (Leonard Rosenthol) writes: You could try and make your lines shorter than 80 chars, so people without X or auto-linefeed can read your posts too. > The correct way to do this is to patch _KeyTrans which is > the trap which handles the 'mapping' of raw keycodes & modifiers into > the events that the program gets via GNE/WNE. In the patch just check What's wrong with a jGNEFilter ? Foolproof, simple and elegant. Just remember to chain-jump, unless the value you saved from the hook was 0, in which case you RTS. Don't know if I've ever seen it as 0, though... -- Jon W{tte h+@nada.kth.se - Speed !