Adam Naumowicz wrote:
Hello, I know that probably it is not the best list to write about it, but I know that most of GPC programmers use RHIDE, so I decided to ask you. I use RHIDE on Linux successfully, but trying to install it for my friend on RedHat 6.0 I encountered RTE at the first attempt to start the editor. There was a message like 'segmentation fault, unable to connect to a terminal' or something like that. Maybe it is a known problem, maybe there is some work-around. My friend uses RIVA TNT grafic card - maybe that is the problem ?
Is the TERM variable set up correctly? Try `echo $TERM' in the shell -- it should say linux when on the console, or xterm, rxvt or something like that in an X terminal.
If that's ok, it might be that rhide doesn't find the terminfo directories.
Search for a file whose name is the TERM value in a directory whose name is only the first letter of that value below a directory like /usr/share/terminfo, /usr/lib/terminfo, /usr/local/share/terminfo /usr/local/lib/terminfo, e.g. /usr/lib/terminfo/l/linux. If you find it, set the main directory to the TERMINFO variable (`setenv TERMINFO /usr/lib/terminfo' in (t)csh; `export TERMINFO=/usr/lib/terminfo' in bash), or (as root) set a symlink to the directory where rhide expects it (I don't know which one, probably one of the above).
If you don't find it at all, you might have to install the package containing terminfo (usually ncurses), though I can't imagine it hasn't been installed...
Frank