Re: Key-Mapping Problem in Forms 4.5

From: Robert Fernandes <rfernand_at_llnl.gov>
Date: 1998/02/10
Message-ID: <34E08427.2AAA51ED_at_llnl.gov>#1/1


The only thing I could suggest is changing your ORACLE_TERM environment variable to actually reference the resource files that Oracle sent you. Forms 4.5 uses the ORACLE_TERM, TK23_TERMINAL, and FORMS45_TERMINAL to locate and reference the right resource files.

Unlike previous versions of Dev/2000 tools (Forms, Reports, Toolkit, etc.) which uses a single resource file, there are separate resource files per product (one for Forms, one for Reports, one for Toolkit, etc.). The first characters of the resource filename tells which product it belongs to (fmr = Forms, tk2 = Toolkit), the next character tells what mode (c = character), and the following characters tell the terminal type (vt220, sun, etc.).

So the files sent to you by Oracle are:

frmcsun5	- Forms (fmr) char-mode (c) res files using sun5 term type
frmcsun		- Forms (fmr) char-mode (c) res files using sun term type

If they sent you any tk2c????.res files you should set the TK23_TERMINAL environment variable to this path. Otherwise, the only thing left to do is change your ORACLE_TERM variable to be either sun5 or sun so that it actually references the correct resource file. The FORMS45_TERMINAL variable tells where to locate the proper resource file but not which file to use. It knows to look for a fmrc????.res file but gets the terminal type (the ???? part) from the ORACLE_TERM setting.

If however you set your ORACLE_TERM to 'sun' or 'sun5' and a proper toolkit resource file cannot be found (tk2csun.res or tk2csun5.res) you will have to create one using t23desm. You must have a matching terminal type resource file for all products that you run.

Hope this helps...

abbasi_at_executone.com wrote:
>
> Forms 4.5.8 for UNIX.
> Sun Solaris 2.5 for X86 intel.
> Oracle 7.3.2.3
> Hardware HP-Vectra (pentium)
>
> At the console the keyboard mapping seems to be not working. e.g when in
> query mode says Press Alt-F11 to execute the query. Upon pressing Alt-F11
> get the following message:
>
> "This function is not currently available".
>
> When I run the same form from my desktop,( It is Gateway 2000 and I have
> PC-XWARE installed to access the server where the forms are), these keys
> work fine.
>
> Environment variables are set as follows:
>
> TERM=dtterm
> ORACLE_TERM=386s
> FORMS45_TERMINAL=<the directory where my *.res files are>
>
> Explained the same to Oracle support they sent me a bunch of resource
> files (*.res) to try. The names were fmrcsun.res,fmrcsun5.res etc. They
> also asked me to use t23desm in place of oraterm23m utility to edit the
> key-mapping definitions. I tried this all but without success.
>
> Is anyone came across the same? Will share/help?
>
> -------------------==== Posted via Deja News ====-----------------------
> http://www.dejanews.com/ Search, Read, Post to Usenet
 

-- 
 ___ ___ ___ ___ ___ ____   ___ ___ ___ _  _  _   _  _ ___ ___  ___
| _ \   | _ \ __| _ \   _| | __| __| _ \ \| |/ \ | \| |   \ __|/ __/
|  _/ | | _ < _||  _/| |   | _|| _||  _/    | _ \|    | | | _| \__ \
|_|_\___|___/___|_|_\|_|   |_| |___|_|_\_|\_|/ \_\_|\_|___/___|/___/

********************************************************************
        Robert Fernandes - LLNL AIS Dept

        Phone:  (510) 423-1397     Fax:  (510) 423-5882
        Email:  rfernand_at_llnl.gov - or - fernandes6_at_llnl.gov
********************************************************************
Received on Tue Feb 10 1998 - 00:00:00 CET

Original text of this message