Skip to main content

The Rocket port of clear fails as does tput clear under TN3270 OMVS yet the IBM provided versions in /bin do work.

Am I missing something with the Rocket versions?



------------------------------
LionelDyck <><
https://github.com/zigi
https://github.com/lbdyck
------------------------------

The Rocket port of clear fails as does tput clear under TN3270 OMVS yet the IBM provided versions in /bin do work.

Am I missing something with the Rocket versions?



------------------------------
LionelDyck <><
https://github.com/zigi
https://github.com/lbdyck
------------------------------

Hi Lionel, 

Which version of ncurses are you using? 



------------------------------
Tatiana Balaburkina
Engineering Manager
Rocket Internal - All Brands
------------------------------

Hi Lionel, 

Which version of ncurses are you using? 



------------------------------
Tatiana Balaburkina
Engineering Manager
Rocket Internal - All Brands
------------------------------

This is what I found:  

t ISO8859-1   T=on  -rwxrwxr-x   1 ROCKET   ZOWEDEV     6190 Jan 27 13:46 ncurses6-config  



------------------------------
LionelDyck <><
https://github.com/zigi
https://github.com/lbdyck
------------------------------

This is what I found:  

t ISO8859-1   T=on  -rwxrwxr-x   1 ROCKET   ZOWEDEV     6190 Jan 27 13:46 ncurses6-config  



------------------------------
LionelDyck <><
https://github.com/zigi
https://github.com/lbdyck
------------------------------

Lionel,

It doesn't seem to be Open AppDev version of ncurses. I tried a few versions (6.1-6.4)  and they work fine on my system. Could you check your version using clear -V command?



------------------------------
Tatiana Balaburkina
Engineering Manager
Rocket Internal - All Brands
------------------------------


Lionel,

It doesn't seem to be Open AppDev version of ncurses. I tried a few versions (6.1-6.4)  and they work fine on my system. Could you check your version using clear -V command?



------------------------------
Tatiana Balaburkina
Engineering Manager
Rocket Internal - All Brands
------------------------------

This is the result of 'clear -v' from Rocket -









Lionel B. Dyck <><

Website: https://www.lbdsoftware.com

Github: https://github.com/lbdyck



"Worry more about your character than your reputation. Character is what you
are, reputation merely what others think you are." - - - John Wooden

The Rocket port of clear fails as does tput clear under TN3270 OMVS yet the IBM provided versions in /bin do work.

Am I missing something with the Rocket versions?



------------------------------
LionelDyck <><
https://github.com/zigi
https://github.com/lbdyck
------------------------------

HI,

as I had mentioned in some previous private discussion: 

The ncurses data for a "dumb" terminal do not have an attribute for 'clear', and the default for attributes is an empty string. Adding a '\\f' as a attribute fixes the problem.

Well, if one isable to decompile and recompile, I needed to do this on a linux machine. 



------------------------------
Peter Sylvester
Guru
Self Registered
Antibes FR
------------------------------

HI,

as I had mentioned in some previous private discussion: 

The ncurses data for a "dumb" terminal do not have an attribute for 'clear', and the default for attributes is an empty string. Adding a '\\f' as a attribute fixes the problem.

Well, if one isable to decompile and recompile, I needed to do this on a linux machine. 



------------------------------
Peter Sylvester
Guru
Self Registered
Antibes FR
------------------------------

One solution to the pb is the following one liner to modify the termcap database:

infocmp dumb | sed '$ s/$/ clear=\\\\f,/ '  | tic -

best



------------------------------
Peter Sylvester
Guru
Self Registered
Antibes FR
------------------------------