🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #10118

Opposite of Deadkeyconvert() ?

#10118
From: John Russell
Date: Mon, 24 Oct 1988 06:01
18 lines
1275 bytes
One of the things I find myself doing more and more lately is feeding
fake input events to the keyboard, eg in TSnip (used to be Snip) and
CVI (adds mouse control to vi in a term program). I'm not sure exactly
how upward compatible the method I'm using is, and I have no illusions
about its working with different keymaps.

Is there a CBM-blessed method for taking an ASCII character and determining
the rawkey scancode(s) that are necessary to generate it? Note this is
the _opposite_ of deadkeyconvert(). Ideally it should handle the entire
printable ASCII set, including those requiring a deadkey first, and
allowed combinations of qualifiers.

John
-- 
"The 68000 processor can't possibly handle a colour display. You must have a
 68020 system and not know it."
		-- Amiga and Atari ST owners shared a chuckle over this view
		   from sales *and* technical people at the local Apple dealer
Technical Details
Message-ID: <4955@garfield.MUN.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!garfield!john13

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!garfield!john13
From: john13@garfield.MUN.EDU (John Russell)
Newsgroups: comp.sys.amiga.tech
Subject: Opposite of Deadkeyconvert() ?
Keywords: keymaps input events
Message-ID: <4955@garfield.MUN.EDU>
Date: 24 Oct 88 06:01:48 GMT
Distribution: na
Organization: CS Dept., Memorial U. of Newfoundland, St. John's
Lines: 18