# SAGtermcap on Solaris

**URL:** <https://techcommunity.softwareag.com/t/sagtermcap-on-solaris/60411>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Linux\
**Created:** [January 3, 2006, 8:04pm UTC](https://techcommunity.softwareag.com/t/sagtermcap-on-solaris/60411 "2006-01-03T20:04:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthias1](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@Matthias1](https://techcommunity.softwareag.com/u/Matthias1)\
**Post date:** [January 3, 2006, 8:04pm UTC](https://techcommunity.softwareag.com/t/sagtermcap-on-solaris/60411/1 "2006-01-03T20:04:17Z")

</div>

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):

```auto
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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [January 3, 2006, 9:39pm UTC](https://techcommunity.softwareag.com/t/sagtermcap-on-solaris/60411/2 "2006-01-03T21:39:14Z")

</div>

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

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

---

<div class="post-metadata">

**Author:** ![Matthias1](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@Matthias1](https://techcommunity.softwareag.com/u/Matthias1)\
**Post date:** [January 4, 2006, 2:01am UTC](https://techcommunity.softwareag.com/t/sagtermcap-on-solaris/60411/3 "2006-01-04T02:01:24Z")

</div>

> [@WoWi](#):
>
> Sounds like you aren’t using NATTERMCAP to adjust your PF-keys ?

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?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [January 4, 2006, 2:44pm UTC](https://techcommunity.softwareag.com/t/sagtermcap-on-solaris/60411/4 "2006-01-04T14:44:46Z")

</div>

> [@Matthias](#):
>
> Correct! I don’t use it, because I don’t know it. :oops: Where can I find it?

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

> [@Matthias](#):
>
> But one question remains: Is my SAGtermcap the one which is delivered by the natural-installation? Or was it edited by somebody?

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.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:40pm UTC](https://techcommunity.softwareag.com/t/sagtermcap-on-solaris/60411/5 "2021-04-02T14:40:23Z")

</div>


