[comp.sys.ibm.pc] SPRINT and INT16..help?

lance@helios (Lance Bresee) (07/25/89)

I am working on a keyboard translator so that a friend
can write spanish without memorizing the spanish keyboard
layout on her pstoo.
I intent to use alt keys to get the spanish characters;
ie: alt c will send the c with the little thingy under it.
I need to use
alt a  alt A  alt e  alt E  alt n  alt N  alt i  alt I  alt c  alt C
alt ?  alt !
she will be using this with borlands sprint word processor..

????? Does sprint use int 16 to get keyboard input?
//?????Does sprint redefine any of the alt keys aready?

Thanx in advance for any help...
lance%helios.ucsc.edu

funkstr@ucscb.UCSC.EDU (-=/ Larry Hastings /=-) (07/27/89)

+-In article <8495@saturn.ucsc.edu>, lance@helios.ucsc.edu (Lance Bresee) wrote:-
+----------
|
| 
| I am working on a keyboard translator so that a friend
| can write spanish without memorizing the spanish keyboard
| layout on her pstoo.
| I intent to use alt keys to get the spanish characters;
| ie: alt c will send the c with the little thingy under it.
| I need to use
| alt a  alt A  alt e  alt E  alt n  alt N  alt i  alt I  alt c  alt C
| alt ?  alt !
| she will be using this with borlands sprint word processor..
| 
| ????? Does sprint use int 16 to get keyboard input?
| //?????Does sprint redefine any of the alt keys aready?
| 
| Thanx in advance for any help...
| lance%helios.ucsc.edu
|
+----------

  Why do you care about int 16?  Why not just use SPRINT's flexability
to solve the problem?

  You could approach this from two directions.  One would be to define
glossary entries for each of the different keys, which you could figure out
from the manuals.  Or, you could do the following...

Bring up the Sprint menu, and select the [U]tilities sub-menu.
Select the [M]acros sub-menu.  Select [E]nter (as in "enter macro directly").
Type
'x' insert
(where x is the character you want to assign) OR
y insert
(where y is the number of the character you wanted to insert -- for instance,
 the C with the squiggle underneath is character 128)

Hit RETURN.  It will ask you if you want to "(E)xecute or (A)ssign to a key".
Press "a".  It will ask you "To which key should the macro be assigned:" --
press the key (Alt-Shift-C for the C with the squiggle underneath).

Doing this, you can assign all those keys just as you like.

As for whether or not Sprint uses Alt-keys or not, it does, but anything
on the Alt-keys (as Sprint is shipped) is just a function off the menu --
she won't lose any functionality with redefining those keys to the funny
characters.  You can always find out what your keys are assigned to do
by running Quickcard off the Utilities menu.

Note that there is an excellent Sprint macro that allows easy access to
all the funny keys available from Borland; either on CompuServe or maybe
on local BBSes.  It works by pressing the '/' key followed by two more
specific keys that specify a funny character (for instance, I believe you
would get the funny character that looks like "a" and "e" squished together
by pressing "/ae").  Works well.
--
(      (     (    (   (  ( (larry
                            hastings ) )  )   )    )     )      )
PLAY: UC Santa Cruz		ucbvax!ucscb.ucsc.edu!funkstr
WORK: MetaWare, Incorporated	sun.com!acad!metaware!funkster
"There's lines for the bathroom -- at a BAD PARTY"  Bill Spooner

NU116215@NDSUVM1.BITNET (CLARK COFFMAN) (07/29/89)

  I can't tell you about the INT-16 but Sprint does define some Alt keys,
however, you can and I have redefined all the keys except for PF10.  PF10
is the Menu key and it won't let you redefine it.  I haven't used Sprint
in awhile, so I can't tell you exactly how to do it, it is through the menu
or else it was the setup program, I'm not sure anymore. Hope this helps.