Been given an Amazon instance of 11.6 that I need to configure up. When I try and pro my database I get the following:
Unable to use your terminal. Check your PROTERMCAP file. (443)
** Could not find terminal type xterm-256color in file . (146)
It's been ages since I've wrestled with *nix. What do I need to do so I can apply a df to my DB?
Try: export TERM=xterm
and then try to run your command again.
Try: export TERM=xterm
and then try to run your command again.
Short term fix...
export TERM=xterm
Long term fix depends on your needs and how you are connecting.
That's the ticket. Thanks Rob and Keith. It's a temporary thing, until mid October anyway so the extra command isn't the end of the world.
Put it in your login script (depending on what shell you are using it can be different). Then you won't forget it next time.
Thanks Brian.
There should be a hidden file (use ls -la to listt it) in your home dir named .bash_profile (file name starts with a a period)
[mention:13ad3bbc749d40ec92286e4353e64ac1:e9ed411860ed4f2ba0265705b8793d05] You sir are a legend :)
BTW, James, while you seem to have a workable solution, for the future the protermcap file is in $DLC so you either need to pick a definition which is already there or create an additional one to match your terminal or client. For most things, you should be able to pick one, but sometimes one has to do special things like enable all function keys or use a non-standard width where it can be desirable to create your own.
Thanks Thomas. I wouldn't have a clue where to start with that sort of thing so a quick fix is all I need :)
Should the time come, it isn't hard stuff, particularly since there is usually one that is close. It used to be the each terminal emulation software would have its own little quirks and so I made a bunch of similar adaptations and assembled the ones needed for the particular customer. One neat trick ... given how long ago I am talking about ... was to define both an 80 and a 132 column version of the same character terminal. Then the software had a function where it would shell out using the wide definition and open a viewer on a report that had been printed to disk, switching back when it closed.
Sounds joyful, Thomas! :)
Life was definitely simpler in a character world...
Sometimes frustratingly simpler ...
> On Sep 3, 2016, at 4:50 PM, James Palmer wrote:
>
> Thanks Thomas. I wouldn't have a clue where to start with that sort of thing so a quick fix is all I need :)
>
>
>
should the need arise in future, you can find info on the protermcap file and its sysntax in chapter 4 of the manual called.
"OpenEdge Deployment: Managing 4GL Applications”.