1. Linux Gurus -- Can you make sense out of this?
- Posted by Jerry Story <jstory at ocii.com> Dec 05, 2005
- 598 views
- Last edited Dec 06, 2005
Someone sent me this: [quote] Debian Linux; wxeu.sa installed in /usr/lib; dmak directory installed in ~/bin. Typing ./dmak in a terminal produces: "Error opening terminal: xterm." xterm is installed. Tried both as user and as root. Is it the software or is it me? [/quote] I don't have a clue. Can anyone figure this out?
2. Re: Linux Gurus -- Can you make sense out of this?
- Posted by ags <eu at 531pi.co.nz> Dec 05, 2005
- 546 views
- Last edited Dec 06, 2005
Jerry Story wrote: > > Someone sent me this: > [quote] > Debian Linux; > wxeu.sa installed in /usr/lib; > dmak directory installed in ~/bin. > Typing ./dmak in a terminal produces: > "Error opening terminal: xterm." > xterm is installed. > Tried both as user and as root. > Is it the software or is it me? > [/quote] > > I don't have a clue. Can anyone figure this out? Try: env TERM=linux ./dmak or env TERM=vt100 ./dmak and if either of those work then you need to change the TERM= line in /etc/profile (TERM=linux is better than TERM=vt100 obviously, though others might have a better suggestion, I just always use TERM=linux) I think this occurs because the Linux interpreter is statically linked to an old ncurses version? Gary
3. Re: Linux Gurus -- Can you make sense out of this?
- Posted by Jerry Story <jstory at ocii.com> Dec 06, 2005
- 558 views
ags wrote: > > Jerry Story wrote: > > > > Someone sent me this: > > [quote] > > Debian Linux; > > wxeu.sa installed in /usr/lib; > > dmak directory installed in ~/bin. > > Typing ./dmak in a terminal produces: > > "Error opening terminal: xterm." > > xterm is installed. > > Tried both as user and as root. > > Is it the software or is it me? > > [/quote] > > > > I don't have a clue. Can anyone figure this out? > > Try: > > env TERM=linux ./dmak > > or > > env TERM=vt100 ./dmak > > and if either of those work then you need to change the TERM= line in > /etc/profile > > (TERM=linux is better than TERM=vt100 obviously, though others might have a > better suggestion, I just always use TERM=linux) > > I think this occurs because the Linux interpreter is statically linked to an > old ncurses version? > > Gary I got an answer from Matt Lewis: export TERM=ansi to .bashrc Dick (the guy with Debian) told me he will let me know if it works. If it doesn't, then I will tell him to try your idea.
4. Re: Linux Gurus -- Can you make sense out of this?
- Posted by ags <eu at 531pi.co.nz> Dec 06, 2005
- 585 views
Jerry Story wrote: > > ags wrote: > > > > Jerry Story wrote: > > > > > > Typing ./dmak in a terminal produces: > > > "Error opening terminal: xterm." > > > xterm is installed. > > Try: > > > > env TERM=linux ./dmak > > > > or > > > > env TERM=vt100 ./dmak > > > > and if either of those work then you need to change the TERM= line in > > /etc/profile > > > > (TERM=linux is better than TERM=vt100 obviously, though others might have a > > better suggestion, I just always use TERM=linux) > > > > Gary > > I got an answer from Matt Lewis: > export TERM=ansi to .bashrc > > Dick (the guy with Debian) told me he will let me know if it works. If it > doesn't, > then I will tell him to try your idea. Yes, it's the same advice. I've just always had problems with TERM=ansi, and I'm used to being root in a single user environment, so I just do everything in /etc/profile I think anything other than TERM=xterm should do it. Gary