Skip to main content

To whom it may concern,

I have just installed the ACUCOBOL runtime version 7.2 for linux on my machine and it does the following when I run a program:

 

I type the following command:

runcbl test1.acu

...and it gives me the following:

Missing required termcap function 'cm' in entry for 'linux'

 

I installed the a_termcap file in the /etc directory and set the A_TERM and TERM variables to linux in my /etc/profile file, but to no avail.

I need to know how to fix this issue because I tried different things and it doesn't work.

I also tried suppressing terminal initialization by typing in runcbl -b test1.acu and it gave me a memory access violation error as well.

 

Jack S.


#AcuCobol

To whom it may concern,

I have just installed the ACUCOBOL runtime version 7.2 for linux on my machine and it does the following when I run a program:

 

I type the following command:

runcbl test1.acu

...and it gives me the following:

Missing required termcap function 'cm' in entry for 'linux'

 

I installed the a_termcap file in the /etc directory and set the A_TERM and TERM variables to linux in my /etc/profile file, but to no avail.

I need to know how to fix this issue because I tried different things and it doesn't work.

I also tried suppressing terminal initialization by typing in runcbl -b test1.acu and it gave me a memory access violation error as well.

 

Jack S.


#AcuCobol
From what I can see the 7.2 a_termcap file does contain a cm entry for 'linux'. It is the same as several other terminal entries in the same file. It is cm=\\E[%i%d;%dH

Have you edited the file? Perhaps a line isn't continued properly leading the terminal entry to be parsed incorrectly.

You should also be able to use another compatible terminal type like xterm or vt100.

Disabling the terminal and then using DISPLAY to the terminal is undefined behavior, most likely a crash as you have apparently found.

To whom it may concern,

I have just installed the ACUCOBOL runtime version 7.2 for linux on my machine and it does the following when I run a program:

 

I type the following command:

runcbl test1.acu

...and it gives me the following:

Missing required termcap function 'cm' in entry for 'linux'

 

I installed the a_termcap file in the /etc directory and set the A_TERM and TERM variables to linux in my /etc/profile file, but to no avail.

I need to know how to fix this issue because I tried different things and it doesn't work.

I also tried suppressing terminal initialization by typing in runcbl -b test1.acu and it gave me a memory access violation error as well.

 

Jack S.


#AcuCobol
You stated A_TERM and TERM variables to linux ... A_TERM should be set to cm or vt100

To whom it may concern,

I have just installed the ACUCOBOL runtime version 7.2 for linux on my machine and it does the following when I run a program:

 

I type the following command:

runcbl test1.acu

...and it gives me the following:

Missing required termcap function 'cm' in entry for 'linux'

 

I installed the a_termcap file in the /etc directory and set the A_TERM and TERM variables to linux in my /etc/profile file, but to no avail.

I need to know how to fix this issue because I tried different things and it doesn't work.

I also tried suppressing terminal initialization by typing in runcbl -b test1.acu and it gave me a memory access violation error as well.

 

Jack S.


#AcuCobol
The most common cause of this issue is that the a_termcap file was transferred incorrectly from a Windows machine to Linux. It should be FTP'd in ASCII mode. When transferred in binary mode each line will end with ^M making the file unusable. If this is what happened in this case you'll need to transfer it again or edit it to remove the ^M at the end of each line.

To whom it may concern,

I have just installed the ACUCOBOL runtime version 7.2 for linux on my machine and it does the following when I run a program:

 

I type the following command:

runcbl test1.acu

...and it gives me the following:

Missing required termcap function 'cm' in entry for 'linux'

 

I installed the a_termcap file in the /etc directory and set the A_TERM and TERM variables to linux in my /etc/profile file, but to no avail.

I need to know how to fix this issue because I tried different things and it doesn't work.

I also tried suppressing terminal initialization by typing in runcbl -b test1.acu and it gave me a memory access violation error as well.

 

Jack S.


#AcuCobol
Eureka! I found the solution to the problem. The original a_termcap file that I was supplied with did not work. I had to find a generic linux termcap file to download off the internet. I then renamed that file as a_termcap and copied it onto my machine. Once I used that version of termcap, the runcbl command started without a hitch and I was able to successfully run my COBOL programs.

To whom it may concern,

I have just installed the ACUCOBOL runtime version 7.2 for linux on my machine and it does the following when I run a program:

 

I type the following command:

runcbl test1.acu

...and it gives me the following:

Missing required termcap function 'cm' in entry for 'linux'

 

I installed the a_termcap file in the /etc directory and set the A_TERM and TERM variables to linux in my /etc/profile file, but to no avail.

I need to know how to fix this issue because I tried different things and it doesn't work.

I also tried suppressing terminal initialization by typing in runcbl -b test1.acu and it gave me a memory access violation error as well.

 

Jack S.


#AcuCobol
Hi member of this forum. Would you share the file that you using or a link where you founded. And wich terminal you use: vt100?

To whom it may concern,

I have just installed the ACUCOBOL runtime version 7.2 for linux on my machine and it does the following when I run a program:

 

I type the following command:

runcbl test1.acu

...and it gives me the following:

Missing required termcap function 'cm' in entry for 'linux'

 

I installed the a_termcap file in the /etc directory and set the A_TERM and TERM variables to linux in my /etc/profile file, but to no avail.

I need to know how to fix this issue because I tried different things and it doesn't work.

I also tried suppressing terminal initialization by typing in runcbl -b test1.acu and it gave me a memory access violation error as well.

 

Jack S.


#AcuCobol
Type in google: "linux termcap file" or visit the website invisible-island.net/.../terminfo.src.html and rename the file to a_termcap. I use the linux terminal, not VT100. When I first ran my COBOL program there was no screen color, so in order to for me to get color I had to copy some additional text into the a_termcap file under the terminal entry for linux. I found this additonal text on the linuxjournal.com website.