SAGtermcap on Solaris

Hallo all!

If I start a natural-session on SunOS all function-keys but PF12 are working fine. If I press “F12” on my keyboard, PF23 is submitted. And the next strange thing is: If a press a colon on my keyboard, PF12 is submitted.
My environment-varialbes TERM and NATTERM are set to “xterm”.

Here is an excerpt of my SAGtermcap (Natural 6.1.1 PL 14 for Solaris):

x1|xterm:\
:ti=\E[?4l\E[?7h\E[?8h:%1=\E[28~:&2=^K:@7=^Xe:ae=^O:as=^N:bc=\b:bcvt=\177:\
:bl=\007:BR=\E[m:bt=^X\t:ce=\E[K:CKAP=\E[?1h:CKNO=\E[?1l:cl=\E[2J:\
:cm=\E[%i%d;%dH:CNL=\r\n:cr=\r:CREV@:ct@:DAR=\E[?5l:dc=\E[3~:DK=\EOB:eA=\E)0:\
:ESC=\E:ETO#300:G1=k:G2=l:G3=m:G4=j:GH=q:GV=x:GD1=k:GD2=l:GD3=m:GD4=j:GDH=q:\
:GDV=x:HR=\E[m:kd=\E[B:KDEL=^D:ke=\E>:kh=^Xh:kI=\E[2~:kl=\E[D:kN=\E[6~:kP=\E[5~:\
:kr=\E[C:ks=\E=:ku=\E[A:LIG=\E[?5h:LK=\EOD:mb=\E[5m:md=\E[1m:me=\E[m^O:mr=\E[7m:\
:mr0=\E[m:PA1=\EOM\EOq:PA2=\EOM\EOr:PA3=\EOM\EOs:PF1=\E[11~:PF2=\E[12~:\
:PF3=\E[13~:PF4=\E[14~:PF5=\E[15~:PF6=\E[17~:PF7=\E[18~:PF8=\E[19~:PF9=\E[20~:\
:PF10=\E[21~:PF11=\E[23~:PF12=\:PF13=\EOPE:PF14=\EOP\EOt:PF15=\EOP\EOu:\
:PF16=\EOP\EOv:PF17=\EOP\EOw:PF18=\EOP\EOx:PF19=\EOP\EOy:PF20=\EOQ\EOp:\
:PF21=\EOQ\EOq:PF22=\EOQ\EOr:PF23=\E[24~:PF24=\EOQ\EOt:

My questions:
Is my SAGtermcap the stardard for Solaris? I’m not sure, if anyone change this for a reason…
I would change the setting PF12 to \E[24~ and the setting PF23 to \EOQ\EOs. Can I distroy anything with this?

Kind regards,

Matthias

Sounds like you aren’t using NATTERMCAP to adjust your PF-keys ?

NATTERMCAP has a “learn” mode that will assign the ESC sequences properly.

Correct! I don’t use it, because I don’t know it. :oops: Where can I find it?

But one question remains: Is my SAGtermcap the one which is delivered by the natural-installation? Or was it edited by somebody?

It’s nattermcap (lowercase) in NATURAL’s /bin directory.

I can’t tell for sure, because I don’t have a vanilla SAGTermcap right now, but it looks modified to me, you mightbe able to see this when checking the modification date. I’ll find an unmodified one and letyouknow.