FRS Keymappings

From: tpgne!jks@uunet.uu.net (J. Kent Smith)
Subject: Re: FRS 1

> How is it possible to configure Ingres FRS to also make use of function 
> key f1 as any other function-key.  By default, f1 always brings you to 
> the menu-line.  Is there a way to circumvent this ?

Look in the $II_SYSTEM/ingres/files directory. There are a bunch of
.map files there.  Depending on the terminal type you use (I'll guess
vt200), you will want to edit the appropriate .map file, probably
vt220.map.  To find out for sure, resolve the map file from the termcap
file located in the same directory:

/home/ingres/files: echo $TERM_INGRES
vt100f
/home/ingres/files: grep "vt100f|" termcap
dB|vt100f|vt-100f|vt100 with 4.0 function key support:\
/home/ingres/files:o

Then edit termcap and find the vt100f entry.  Look for the mf=
entry (that's mapping file entry).  It will say something like:

dB|vt100f|vt-100f|vt100 with 4.0 function key support:\
        :mf=vt100f.map:\

Now you know the mapping file to look for: vt100f.map

Look at it.  It will look something like:
/home/ingres/files: more vt100f.map
/* UNIX FRS mapping file for VT100 with Function Keys */

/* Menu Key */
        menu = pf1 (PF1)

This is what you have to change.

There.  Now wasn't that obvious?  Good luck,

--Kent


---------------------------------------------------------------------------
J. Kent Smith           President, NEIUA       The next meeting of the 
The Palmer Group        (617) 246-1630 Phone   New England INGRES Users
285 Edgewater Drive     (617) 246-4166 Fax     Association will be held
Wakefield, MA 01880     jks@tpghq.com  E-Mail  on Friday, April 27, 1996
                        www.tpghq.com
Ingres Q & A
To William's Home Page

© William Yuan 2000

Email William