1. Linux Gurus -- Can you make sense out of this?

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?

new topic     » topic index » view message » categorize

2. Re: Linux Gurus -- Can you make sense out of this?

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: Linux Gurus -- Can you make sense out of this?

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.

new topic     » goto parent     » topic index » view message » categorize

4. Re: Linux Gurus -- Can you make sense out of this?

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 smile

I think anything other than TERM=xterm should do it.

Gary

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu