From: Richard van Ulden Newsgroups: comp.os.msdos.djgpp Subject: RHIDE 1.4 problems in linux Date: 29 Oct 1997 16:40:16 GMT Organization: mulogic Lines: 139 Message-ID: <3457847C.6070FAC8@worldaccess.nl> NNTP-Posting-Host: i117.ztm.euronet.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk This is a bug report for RHIDE Version 1.4 (Sep 30 1997 23:19:43) Important environment variables: PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11/bin:/usr/andrew/bin:/usr/openwin/bin:/usr/games:. INFOPATH=/usr/local/info LOCALEDIR= LANGUAGE= SHELL=/bin/bash TERM=linux Here is the output from a sample compilation and link for C executing: echo "int main(){return 0;}" | gcc -Xlinker -v -Wa,-v -v -o /dev/null -x c - 2>&1 Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2/specs gcc version 2.7.2 /usr/lib/gcc-lib/i486-linux/2.7.2/cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -D__ELF__ -Dunix -Di386 -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__i386 -D__linux -Asystem(unix) -Asystem(posix) -Acpu(i386) -Amachine(i386) -D__i486__ - /tmp/RHIDE.19971029163523.805/cca00820.i GNU CPP version 2.7.2 (i386 Linux/ELF) #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/i486-linux/include /usr/lib/gcc-lib/i486-linux/2.7.2/include /usr/include End of search list. /usr/lib/gcc-lib/i486-linux/2.7.2/cc1 /tmp/RHIDE.19971029163523.805/cca00820.i -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -quiet -dumpbase -.c -version -o /tmp/RHIDE.19971029163523.805/cca00820.s GNU C version 2.7.2 (i386 Linux/ELF) compiled by GNU C version 2.7.2. /usr/i486-linux/bin/as -V -Qy -v -o /tmp/RHIDE.19971029163523.805/cca008201.o /tmp/RHIDE.19971029163523.805/cca00820.s GNU assembler version 960425 (i486-linux), using BFD version 2.6.0.14 /usr/i486-linux/bin/ld -m elf_i386 -dynamic-linker /lib/ld-linux.so.1 -o /dev/null /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib/gcc-lib/i486-linux/2.7.2 -L/usr/i486-linux/lib -v /tmp/RHIDE.19971029163523.805/cca008201.o -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o ld version cygnus-2.6 (with BFD 2.6.0.14) End of the sample Here is the output from a sample compilation and link for C++ executing: echo "int main(){return 0;}" | gcc -Xlinker -v -Wa,-v -v -o /dev/null -x c++ - 2>&1 Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2/specs gcc version 2.7.2 /usr/lib/gcc-lib/i486-linux/2.7.2/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=7 -D__ELF__ -Dunix -Di386 -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__i386 -D__linux -Asystem(unix) -Asystem(posix) -Acpu(i386) -Amachine(i386) -D__i486__ - /tmp/RHIDE.19971029163523.805/cca00827.ii GNU CPP version 2.7.2 (i386 Linux/ELF) #include "..." search starts here: #include <...> search starts here: /usr/include/g++ /usr/local/include /usr/i486-linux/include /usr/lib/gcc-lib/i486-linux/2.7.2/include /usr/include End of search list. /usr/lib/gcc-lib/i486-linux/2.7.2/cc1plus /tmp/RHIDE.19971029163523.805/cca00827.ii -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -quiet -dumpbase -.cc -version -o /tmp/RHIDE.19971029163523.805/cca00827.s GNU C++ version 2.7.2 (i386 Linux/ELF) compiled by GNU C version 2.7.2. /usr/i486-linux/bin/as -V -Qy -v -o /tmp/RHIDE.19971029163523.805/cca008271.o /tmp/RHIDE.19971029163523.805/cca00827.s GNU assembler version 960425 (i486-linux), using BFD version 2.6.0.14 /usr/i486-linux/bin/ld -m elf_i386 -dynamic-linker /lib/ld-linux.so.1 -o /dev/null /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib/gcc-lib/i486-linux/2.7.2 -L/usr/i486-linux/lib -v /tmp/RHIDE.19971029163523.805/cca008271.o -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o ld version cygnus-2.6 (with BFD 2.6.0.14) End of the sample My problema are the following: ============================ 1: when exiting RHIDE (Alt-X) my terminal settings are FUBAR. e.g. It is no echos's back character, arrow key operate differently switching Virtual Consoles by Alt-Function keys is changed in Ctrl-Alt-Function keys. etc. Even running "reset" does not correct all terminal problems. Does RHIDE save the current tty setting at startup and restore those at exit. When RHIDE is running there seem to be no big problems. The screen looks OK and most keys work fine. I think that the orignal settings should be restored before RHIDE exits. By the way the linux terminal settings work better than xterm-rhide. "tic rhide.terminfo" results in a lot warnings and errors when run on my box. 2: Dual Terminal feature fails in RHIDE. In DOS mode I can switch monitor by : mode mono mode co80 But RHIDE never switches over to the other terminal. I also installed a kernel patch fur multi monitor support but this didn't bring any good new. Which Linux kernel has proven to support this option ?. How can this feature be tested ? 3: From the doc I understood that RHIDE looks for the file 'rhide.env' in directory /usr/local/share/rhide This file can contain environment settings like : INFOPATH=/usr/local/info This does not seem to happen. I checked this out like this : strace rhide | grep ".env" The only way I put something in INFOPATH is by using export before starting RHIDE. Please explain 4 I also tried to check out the dual monitor feature in RHGDB But unfortunately RHGDB coredumps in any occassion, irrespective of the selected -D option. I use the same project as in RHIDE which seems to DEBUG fine. 5 Besides these problems I think you did a great job creating RHIDE. My compliments, I hope to use it a lot. But it would be great if it didn't mess up my terminal settings.