Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!princeton!allegra!ulysses!mhuxt!ihnp4!inuxc!pur-ee!uiucdcs!kkim From: kkim@uiucdcs.UUCP Newsgroups: comp.sys.mac Subject: Re: help wanted (writing Desk Accessory Message-ID: <186700005@uiucdcs> Date: Mon, 2-Feb-87 17:09:00 EST Article-I.D.: uiucdcs.186700005 Posted: Mon Feb 2 17:09:00 1987 Date-Received: Sat, 7-Feb-87 07:10:43 EST References: <186700003@uiucdcs> Lines: 50 Nf-ID: #R:uiucdcs:186700003:uiucdcs:186700005:000:1876 Nf-From: uiucdcs.cs.uiuc.edu!kkim Feb 2 16:09:00 1987 I would like to clarify the base note a little bit. The key mapping is dependent on whether cap shift is locked, option key is pressed, and sometimes the last character typed. And sometimes I must backspace (i.e., delete the last character) and output another character which results in two characters being transformed into one char. It seems that the Desk Accessory must remember the last character typed, and that DA must have the ability to check whether cap shift is locked and option key is pressed. for example, suppose that ABB is typed. I will show how it is transformed when we have a rule that: 0) A is transformed into X unconditionally. 1) if B is typed following A, AB will be transformed into T. 2) if B does not follow A, it will be transformed into Y. typed displayed when A is typed, it is transformed into X and displayed. A X when B is typed, according to the above rule, X is AB T deleted (i.e., backspace is output) and T is displayed. when B is typed, it is transformed Y. ABC TY The actual rule will become more complex since cap shift/option key affects the transformation rule. Somebody suggested changing KDEF and is there anybody out there who will explain it in a little detail for the POOR guy (me) who is a novice to Macintosh? At this point, it would be great if KDEF works. Thanks in advance. Kyongsok KIM my addresses are as follows: network address ------- ------- arpanet kkim@a.cs.uiuc.edu (domain format) OR kkim@uiuc.arpa (alias) csnet kkim@uiuc.csnet, kkim%uiuc@csnet-relay.arpa (obsolete), OR kkim%uiuc.csnet@csnet-relay.arpa (obsolete) usenet/uucp {seismo, pur-ee, ihnp4, convex}!uiucdcs!kkim