kenc@vaxb.acs.unt.edu (03/29/91)
This is Ken's handy keyboard diffs! It addresses 6 things that were deemed handy IMHO...;) 1) The keyboard buffer was expanded from 32 to 64 bytes. 2) The arrow keys have been patched to work with a Mac Plus. I have no way of testing these to find out if they work with any other model, (worst come to worst, it can only make the arrow keys into something else...nothing all that bad). 3) The shift-keypad-0 thru shift-keypad-4 have been implemented to be the function keys. (s-k-0 = proc listing, s-k-1 = memory listing, s-k-2 = flush networking, if installed, s-k-3 = Interrupt, s-k-4 = Kill) Just for the sole reason that I was too lazy to go up and use the mouse find out this Good Stuff... 4) An obscure cursor call was added, so that when you start typing, the mouse cursor goes exactly where it's supposed to...away. Touch the mouse, and it's back, but it goes out of the way when you press a key. 5) The (to me at least) uncomfortable shift-option-` for escape sequence was changed to be just option-`. Not a lot of improvement, but hey, even a little improvement helps. 6) Finally, (they DO say laziness is the mother of invention), I added a shift-keypad-5 sync() function, so if you want to make sure your file buffers are clean, just s-k-5 a few times...doesn't get any cleaner than that! I hope that others will find this set of diffs as handy as I have, but as usual, if you have flames, comments, praise (yeah...right) or whatever, I can be reached at: kenc@vaxb.acs.unt.edu Also, as usual, these diffs are relative to the PH1.5 distribution of the keyboard.c source file, intended strictly for use on MacMinix. For the users of other makes of computers, I doubt seriously if any of these improvements would either work, or make much difference if they did...sorry. Finally, if there are any bugs I didn't catch in THIS one, PLEASE let me know ASAP. I don't care to contribute to the insectile population any more than necessary. table !"#$%&'()*+,-./0123456789:;<=>? @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ begin 644 keyboard.diffs M*BHJ("]U<W(O<W)C+VME<FYE;"]K97EB;V%R9"YC"5-U;B!-87(@,3<@,C,Zz M,S0Z,SD@,3DY,0HM+2T@:V5Y8F]A<F0N8PE4:'4@36%R(#(X(#(R.C0Q.C Sy M(#$Y.3$**BHJ*BHJ*BHJ*BHJ*BHJ"BHJ*B Q-BPR,B J*BHJ"B @(VEN8VQUx M9&4@(G-E='5P+F@B"B @"B @(V1E9FEN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I="!Lg M871E<BX@*B\*(" @(&MB(#T@:V)?861D<BAT='EA8W1I=F4I.PHM+2T@,3(Yf M+#$S-2 M+2TM"B @("!R96=I<W1E<B!S=')U8W0@='1Y7W-T<G5C=" J=' [e M"B @("!C:&%R(&-H.PH@(" @"B$@("!/8G-C=7)E0W5R<V]R*"D["B @(" Od M*B!&971C:"!T:&4@8VAA<F%C=&5R<R!F<F]M('1H92!K97EB;V%R9"!A;F0*c M(" @("\J('-T;W)E('1H96X@:6X@;65M;W)Y('-O('1H92!T87-K(&-A;B!Gb M970@870@:70@;&%T97(N("HO"B @("!K8B ](&MB7V%D9'(H='1Y86-T:79Ea M*3L**BHJ*BHJ*BHJ*BHJ*BHJ"BHJ*B Q.30L,C P("HJ*BH*(" )8R M/2 Gz M82<@+2 G02<["B @"B @("!I9B H;W!T:6]N*0HA(" @("!I9B H8R ]/2 Gy M?B<I"0DO*B!O<'1I;VXM?B ]/2!E<V-A<&4@9F]R(&]L9"!K8B J+PH@(" @x M(" @(&,@/2 P,S,["B @(" @(&5L<V4*(" @(" @("!C("8](# S-SL)"0DOw M*B!E;'-E(&]P=&EO;B ]/2!C;VYT<F]L("HO"BTM+2 Q.34L,C Q("TM+2T*v M(" )8R M/2 G82<@+2 G02<["B @"B @("!I9B H;W!T:6]N*0HA(" @("!Iu M9B H8R ]/2 G8"<I"0DO*B!O<'1I;VXM8" ]/2!E<V-A<&4@9F]R(&]L9"!Kt M8B J+PH@(" @(" @(&,@/2 P,S,["B @(" @(&5L<V4*(" @(" @("!C("8]s M(# S-SL)"0DO*B!E;'-E(&]P=&EO;B ]/2!C;VYT<F]L("HO"BHJ*BHJ*BHJr M*BHJ*BHJ*@HJ*BH@,S W+#,Q,B J*BHJ"BTM+2 S,#@L,S$T("TM+2T*(" Cq M96YD:68@+RH@04U?2T523D5,("HO"B @(" @(&EF("AC:" ]/2 S*2!S:6=Cp M:&%R*"9T='E?<W1R=6-T6T-/3E-/3$5=+"!324=)3E0I.PH@(" @("!I9B Ho M8V@@/3T@-"D@<VEG8VAA<B@F='1Y7W-T<G5C=%M#3TY33TQ%72P@4TE'2TE,n M3"D["BL@(" @(&EF("AC:" ]/2 U*2!S>6YC*"D["B @(" @(')E='5R;B!4m M4E5%.PH@(" @?0H@(" @<F5T=7)N*$9!3%-%*3L)"2\J(&YO="!O=7(@:F]Bl $("HO"@H@k j end -- | Ken Corey aka... kenc@vaxb.acs.unt.edu | | "We MUST succeed, otherwise we run the risk of failure...." | | -Dan Quayle |