OS: SuSE 9.0
Ingres r3.0.1
I have a problem running ingres utilities like ingmenu, isql, etc. from
the console becuase the ingres termcap does not have a linux terminal
type entry. I fudged by copying the linux termcap enties from my OS'
/etc/termcap. Now I either get an error complaining that my terminal
window is too small (-1 rows x -1 columns) or, if it comes up, I have no
funcion keys. (I used a utility to verify that the function key escape
sequence is what the termcap is looking for (e.g., F1 produces ESC-[[A
etc.)
I also tried connecting from a xterm (TERM=xterm), both local and remote,
and though it comes up, I again have no function keys. (By that I mean
none are displayed on the menu line nor do they work. Neither does the
<ESC>.)
I have searched the docs in vain. Could some Linux/ingres guru please
point me in the right direction or at least to where it is in the docs?
Thank you,
Lucky
Lucky Leavell Phone: (800) 481-2393 or (812) 366-4066
UniXpress - Your Source for SCO FAX: (888) 231-9640 or (812) 366-3618
1560 Zoar Church Road NE Email: lucky@UniXpress.com
Corydon, IN 47112-7374 WWW Home Page: http://www.UniXpress.com
Mike Yudaken - 12 Nov 2004 07:33 GMT
> ...
> becuase the ingres termcap does not have a linux terminal type
> entry.
> ...
Hi Lucky
You can download the settings for xterm and gnome-terminal from:
http://www.cynaps.co.za/f/ingres_xterm_1.1.tgz
Mike
Lucky Leavell [RIS] - 12 Nov 2004 15:09 GMT
>> ...
>> becuase the ingres termcap does not have a linux terminal type
[quoted text clipped - 6 lines]
>
> http://www.cynaps.co.za/f/ingres_xterm_1.1.tgz
Ah, yes! Works like a champ. Thank you very much!
(I'll next attempt to replicate for TERM=linux on character consoles ...)
(I did find Document TEC265128 on the CA support KnowledgeBase which looks
like it explains the process very well along with Appendix C of the
"Character-based Q&R Tools Users Guide" book.) Onward ...
Thank you,
Lucky
Lucky Leavell Phone: (800) 481-2393 or (812) 366-4066
UniXpress - Your Source for SCO FAX: (888) 231-9640 or (812) 366-3618
1560 Zoar Church Road NE Email: lucky@UniXpress.com
Corydon, IN 47112-7374 WWW Home Page: http://www.UniXpress.com
Lucky Leavell [RIS] - 12 Nov 2004 15:41 GMT
> OS: SuSE 9.0
> Ingres r3.0.1
[quoted text clipped - 7 lines]
> looking for (e.g., F1 produces ESC-[[A
> etc.)
Here is the exact error message I get on a character console when
attempting to use the SuSE /etc/termcap entries for linux (prepended to
$II_SYSTEM/ingres/files/termcap):
E_TD0022 The forms system can't start up because the terminal size appears
to be too small (`-1' rows by `-1' columns). Minimum size needed by the
forms system is 5 rows by 25 columns. Please check your TERM_INGRES
definition. If you are running from a terminal emulator within a
windowing system, please check the size of your emulator window.
E_FI1FA4 Could not initialize terminal.
(This was after including the li#25 and co#80 based on the O'Reilley
"Termcap & Terminfo" book.)
What am I missing here?
> I also tried connecting from a xterm (TERM=xterm), both local and remote, and
> though it comes up, I again have no function keys. (By that I mean none are
> displayed on the menu line nor do they work. Neither does the <ESC>.)
I downloaded teh xterm termcap entry and xterm.map provided by Mike
Yudaken which works great. Thanks Mike!
Thank you,
Lucky
Lucky Leavell Phone: (800) 481-2393 or (812) 366-4066
UniXpress - Your Source for SCO FAX: (888) 231-9640 or (812) 366-3618
1560 Zoar Church Road NE Email: lucky@UniXpress.com
Corydon, IN 47112-7374 WWW Home Page: http://www.UniXpress.com
Alois Treindl - 13 Nov 2004 12:41 GMT
> OS: SuSE 9.0
> Ingres r3.0.1
[quoted text clipped - 12 lines]
> I mean none are displayed on the menu line nor do they work. Neither
> does the <ESC>.)
This is what we use with KDE on Redhat Linux, together with the
environment Variable
TERM_INGRES=linux
linux|Ansi-Linux0 experimental 31-jan-2001 copy from xterm:\
:co#80:li#34:cl=\E[H\E[2J:bs:cm=\E[%i%2;%2H:nd=\E[C:up=\E[A:\
:ce=\E[K:cd=\E[J:so=\E[7m:se=2\E[m:us=\E[4m:ue=\E[m:\
:is=\E>\E[?3l\E[?4l\E[?7l\E[?8h:\
:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:vs=\E[?7h:ve=\E[?7l:\
:ms:ld=\E)0:qa=j:qb=k:qc=l:qd=m:qe=n:qf=q:qg=t:qh=u:\
:qi=v:qj=w:qk=x:ls=\016:le=\017:cs=5\E[%2;%2r:\
:bl=1\E[5m:be=2\E[m:bo=1\E[1m:eb=2\E[m:rv=\E[7m:re=2\E[m:ea=2\E[m:\
:za=1\E[1;4;5;7m:zb=1\E[1;4m:zc=1\E[1;5m:zd=1\E[1;7m:\
:ze=1\E[4;5m:zf=1\E[4;7m:zg=1\E[5;7m:zh=1\E[1;4;5m:\
:zi=1\E[4;5;7m:zj=1\E[1;5;7m:zk=1\E[1;4;7m:es=\E[?7h:\
:ky:pt:sf=\n:sr=\EM:\
:kn#30:\
# f1 ... f8 \
:k0=\E[[A:k1=\E[[B:k2=\E[[C:k3=\E[[D:k4=\E[[E:\
:k5=\E[17~:k6=\E[18~:k7=\E[19~:\
# f9, f10, f11, f12 \
:kO=\E[20~:kP=\E[21~:kQ=\E[23~:kR=\E[24~:\
# insert, home, end, pageup, pgdown, sh-tab, delete \
:k8=\E[2~:k9=\E[1~:kA=\E[4~:kB=\E[5~:kC=\E[6~:kD=\E[Z:kE=\E[3~:\
:mf=ansi_pc.map:\
#