OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: Pyrates on September 30, 2004, 03:21:34 pm

Title: Error opening terminal: xterm
Post by: Pyrates on September 30, 2004, 03:21:34 pm
Hi there!

When I try to start nano, I get the error message from above. What should I set TERM to in order to use nano? Thanks for any pointers...

Cheers
Philipp
Title: Error opening terminal: xterm
Post by: lardman on September 30, 2004, 04:56:58 pm
I think you might need to install libncurses (the ncurses package). You'll then need to symlink libncurses.so.5 to libncurses.so.4


Si
Title: Error opening terminal: xterm
Post by: ironstorm on October 01, 2004, 01:12:04 am
Quote
Si
Quote
I think you might need to install libncurses (the ncurses package). You'll then need to symlink libncurses.so.5 to libncurses.so.4

ncurses installs automatically, symlinking libncurses.so.5 to libncurses.so.4 still gives:

Error opening terminal: xterm.

I'd have thought that if ncurses was missing nano would have failed with a linker error, not that particular one -- maybe there is something wrong with the one of the terminal info type packages.
Title: Error opening terminal: xterm
Post by: mike_r on October 04, 2004, 03:41:09 pm
You also need to install ncurses-terminfo. This fixed it for me. It should be added to someone's dependency chain somewhere ...

Mike
Title: Error opening terminal: xterm
Post by: Pyrates on October 05, 2004, 04:19:54 am
Dang, none of those did help  Well, I mean, thanks anyway, your help is appreciated. Any other ideas?

Cheers
Philipp
Title: Error opening terminal: xterm
Post by: mike_r on October 05, 2004, 12:13:24 pm
Hmm, I've just started playing with OZ 3.5.1, so I don't think I've installed too many things to confuse the issue. I installed ncurses, ncurses-terminfo, and nano. Possibly relevant environment variables in the opie-terminal are:

CONSOLE=/dev/console
TERM=vt100

Did you run ipkg-link add ... after you installed each of the packages? Did you run ldconfig?

Sorry if you've already done all of this, but these are some of the things I've done along the way to get everything happy.

Good luck.

Mike
Title: Error opening terminal: xterm
Post by: Pyrates on October 08, 2004, 03:46:35 am
Hmm, yeah, you guessed well. I didn't run ldconfig, I think that's what the package installation should  do... anyway, of course I tried, but still, no go. I did run ipkg-link add though... I also changed the TERM variable, but nothing works... HELP! Thanks, mike_r.

Cheers
Philipp
Title: Error opening terminal: xterm
Post by: r2satellite on October 09, 2004, 05:17:20 am
I've made a script to install nano on a OZ 3.5.1 system here:  http://linux.cs.id.ucsb.edu/~ryanr/scripts/install_nano.sh (http://linux.cs.id.ucsb.edu/~ryanr/scripts/install_nano.sh)
Will install ncurses and ncurses-terminfo if needed.  Requires a net connection for wgets.
Title: Error opening terminal: xterm
Post by: Pyrates on October 11, 2004, 03:26:15 pm
Thanks for that script

Didn't work out, though  Maybe you're able to help me? I've uninstalled nano, ncurses-terminfo and ncurses (and ipkg-link removed them) before, and edited the script to  fit my needs (destination ram and fdest /mnt/ram). Here's the output:
Quote
ncurses ...
ncurses_5.4-r0_arm.i 100% |*****************************|   327 KB    00:00 ETA
Connecting to openzaurus.org[66.35.250.210]:80
ipkg: ***  Couldnt kill old gunzip process *** aborting
*** Command: add
*** Locating package
Package "ncurses" not found.
SCRIPT: Fixing broken symlinks ...
ncurses-terminfo_5.4 100% |*****************************|   336 KB    00:00 ETA
Connecting to openzaurus.org[66.35.250.210]:80
ipkg: ***  Couldnt kill old gunzip process *** aborting
SCRIPT: ipkg-link of ncurses-terminfo ... this could take a while ...
*** Command: add
*** Locating package
Package "ncurses-terminfo" not found.
SCRIPT: ncurses installation failed
SCRIPT: Installing nano ...
nano_1.3.0-r0_arm.ip 100% |*****************************| 50624       00:00 ETA
Connecting to openzaurus.org[66.35.250.210]:80
Installing nano (1.3.0-r0) to ram...
Installing nano (1.3.0-r0) to ram...
nano: unsatisfied recommendation for nano-locale
Installing ncurses (5.4-r0) to ram...
Downloading http://openzaurus.org/official/unstable/3...._5.4-r0_arm.ipk (http://openzaurus.org/official/unstable/3.5.1/feed/ncurses_5.4-r0_arm.ipk)
Configuring nano
Configuring ncurses
Successfully done.
*** Command: add
*** Locating package
*** Found package on /mnt/ram
*** Adding nano
*** Done.

SCRIPT: nano installed.
Nano is installed indeed, I still have the same error message though... Thanks for any help!

Cheers
Philipp