Cafe - error: Unknown terminal type rangaraju99 - Nov 26, 2003 - 01:11 PM Post subject: error: Unknown terminal type
I have installed all the utilities from the third party CD and after the intallation every thing is fine except that when in the system I type a "clear" command to clear my screen I get the following message. How do I correct this error. The message I get is:
# clear
'quansi-m' : Unknown terminal type.
Please help this seems to be irritating me.
Thank u in advance.
Ranga
noc - Nov 26, 2003 - 07:40 PM Post subject:
works for me.
sounds like your installation is screwed. do a "ls" in /usr/lib/terminfo/q and see if you have the file qansi-m in it.
noc - Nov 26, 2003 - 08:59 PM Post subject:
Now I re-read your post. Your problem is caused by the 3rd party CD utilities. Those are unsupported and may have bugs. In your particular case, the "ncurses" packages is to blame. It has a "clear" which overwrites the default OS version. It uses /opt/share/terminfo and there is no qansi-m in there ... Your best bet is to uninstall the ncurses stuff from the CD.
xtang - Nov 26, 2003 - 10:06 PM Post subject:
Try this.
# TERMINFO=/usr/lib/terminfo clear
rangaraju99 - Nov 28, 2003 - 06:08 AM Post subject:
The file quansi-m is present in
/usr/lib/terinfo/q
But when i uninstalled the ncurses module the clear is working just as fine.
The usage of
#TERMINFO=/usr/lib/terminfo clear is working fine even with the ncurses. But should I export this TERMINFO variable?
And I got one more problem. When I am using the xpdf command in the /usr/bin/ directory it is giving the error as follows
#/usr/bin/xpdf
could not find library libXpm.so.4
Please tell me how to set the TERMINFO permanently and how to use xpdf
Thank u noc (senior) and xtang for the help. Thank u very much
sego81 - Jan 23, 2005 - 01:18 PM Post subject: i´ve just tried another way...
I don´t uninstall ncurses and i copied the directory /usr/lib/terminfo/q/ to /opt/share/lib/terminfo/q/
The solution for now, seems to work well!
Is it a possible solution or can this one cause any problem to the system?