home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d7xx
/
d770
/
uedit.lha
/
Uedit
/
Piotr.LZH
/
FunnyChars.doc
< prev
next >
Wrap
Text File
|
1991-04-28
|
6KB
|
134 lines
FunnyChars V1.12
SPECIAL CHARS & DEAD KEYS
for UEdit
-----------
This 'piece of software' tries to emulate the standard Amiga way of producing
the various chars like ¬ñ ± ð × Ð ¶, as well as 'foreign' accents and umlauts
like ö Ö ñ À æ û. Typing these is possible nowadays in Uedit in many ways -
first method would be by creating a 'foreign' keyboard, second using the
(relatively) new third alternated keybord in the 'Primitive Mode', but non of
these suits my needs. I need typing a lot of words in quite a couple of
languages, while consistently using the American keymap; and point two is
that I HATE learning weird key-combinations which would be needed to type Ê ñ
Å (that is most accents and upper-case letters) in the Primitive Mode. I have
written this to have the standard Amiga method with 'Dead Keys' and the rest
of it instead.
Works with Uedit V2.6, American keyboard and a more or less standard
configuration (which probably does not need to be VERY standard, though).
IMPORTANT PRELIMINARY ACTION TO BE TAKEN:
Here is the version of the third printable key table - which YOU MUST paste
into your Config!, or what's it name in your case, as it won't compile here!
It should be THE THIRD keymap there, the one provided is only a dummy (as
much as I remember it only doubles the first one).
.. K KKKKKK KKK KKKK
<`¹²³¢¼½¾·«»-=\ å°©®þ¤µ¡ø¶ æßð £;' ±×窺¸,./ >
.. 'K' means 'KeyPad keys'. They are passed through, as are also their
.. (shifted, altered and other still 'higher') combinations.
Many of the key-slots here are not mapped, it was all supposed to be a
'clean' program - NO HACKING; if you are, for instance, planning to simply
useKeys you can paste there some extra ALTERNATED CHARS, and rarely, if ever,
feel any need for large functions like this one.
=================================================
HOW IT WORKS:
The heart of this whole stuff is a 'preKey' which traps (or intercepts)
interesting key-combinations and lets some of them serve as DEAD KEYS or type
the extra chars like ²³¢þ¸.,ºð. When this preKey is ON only the 'typerwiter'
keys: like 1 2 3 4 ... q w e r ... [ ] ... , . /
LOWER-AND UPPER-CASE WITH alt and shftAnd qualifiers are trapped, EVERY OTHER
COMBINATION IS PASSED THRU! After a "DEAD KEY" (qualifier 'ALT' plus: f g h j
k), some of the next-coming keyboard-inputs will be changed to accented form.
MENU FUNCTIONS USING THESE KEYS INTERNALLY ARE TRAPPED TOO!
The preKey (and the whole stuff) is TOGGLED ON/OFF with:
*** CONTROL-a ***
When the preKey is ON -
*** HELP ***
TOGGLES ON/OFF a special help screen devoted to just the extra characters and
dead keys. The real normal-HELP key is not changed - to get normal help it is
enough to toggle the preKey OFF (or use ShiftControl-a - see below). I may
not be quite as proud of the display as I was the first time I created it
(the text() function was so fresh...), but it is kind of helpful.
It takes only a half of a second to toggle this OFF and ON again if you need
a function like e.g. 'alt-8' (though instead of 'alt-i' and 'alt-h' I myself
ALWAYS use Kp1 and Kp3, or double click with the rodent ("double-click-with-
no-drag", so to say) - "closer to the hardware it is called", I believe);
however it is possible to PASS THRU THE NEXT FUNCTION our preKey being ON, by
pressing
*** ShiftControl-a ***
Incidentally ShiftControl-a itself won't be passed (you might have something
mapped to the 'real' ShiftControl-a) - it would be no problem to implement,
but just too sophisticated from the user's viewpoint - wouldn't you agree?
You might want to place this SUBmenu for example under "Find key" item in
"Buffers" menu. It would be nice to have it checked, but not this time (and
it's not my fault):
SUBmenu("Toggle FChars C-a",3,ctl-a)
BUGS and IDIOSYNCRASIES:
1. This pre-Key is HUUUGE! The help display is two times as big... Don't
compile it and comment out all the references to 'normal-HELP' and (the
macroNum) '28' if you don't need it!.
2. This 'software' nows nothing about the CAPSLOCK - there simply seems to be
no decent method of implementing it here. Maybe some NEW FLAG in the
future?
3. If you can GET A CHAR by pressing a combination of a printable with SHIFT-
or ALT-keys, the char can't be typed by pressing it together with them
both, like e.g. in the CLI. You get a nice SCREEN FLASH instead.
4. The messages are in my personal brand of East-European English, and I
really have had big problem trying to explain everything in 50 chars. Just
change (and then you can send me your, native, or otherwise, version;
please).
5. It's no my fault that in Topaz 8 so many umlauted chars look the same,
whether they are UPPER-CASE or not.
6. ONE _R_E_A_L_L_Y _B_I_G_ _B_U_G_ is that when a requestor appears and you
don't answer with clicking the mouse, but press a key like 'n' for 'NO'
etc., that char later GETS TYPED!
V1.12 finished 14-Apr-1991
written by Piotr Obminski
Flogstavägen 43C:323 .. how, do you think, have I got this splendid 'ä' ??
752 63 UPPSALA .. and here is another!!
SWEDEN