Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error opening terminal: unknown
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
benholio
n00b
n00b


Joined: 21 Sep 2002
Posts: 2
Location: London, England

PostPosted: Sat Sep 21, 2002 1:10 pm    Post subject: error opening terminal: unknown Reply with quote

Greetings.

I'm having a spot of bother installing gentoo 1.4 rc1 (using stage 3 tarball). After doing emerge sys-kernel/gentoo-sources I execute the following:

cd /usr/src/linux
make menuconfig

it then does it's stuff and when finished it reports:

Preparing scripts: functions, parsing.................

error opening terminal: unknown

Your kernel configuration changes were NOT saved.

I used the stage3-i586-1.4_rc1.tar.bz2 install for this, everything is ok till now. I'm not sure if i should proceed or not. ALso, what happens if I power my machine down? will i have to start all over again? I used the live CD to boot so i'm not sure if the box has enough installed to boot without it or not.

any help appreciated.

cheers,

.ben (of Castle Holio)
Back to top
View user's profile Send private message
rojaro
l33t
l33t


Joined: 06 May 2002
Posts: 732

PostPosted: Sat Sep 21, 2002 2:08 pm    Post subject: Reply with quote

type
Code:
echo $TERM
to see what it is set to. to change it e.g. to VT100 (which is working on most terminal/ssh clients) use
Code:
export TERM=vt100
on a bourne-style shell (e.g. bash) or
Code:
set TERM=vt100
export TERM
on any other shell ...

[edit: fixed lame typo :)]
_________________
A mathematician is a machine for turning coffee into theorems. ~ Alfred Renyi (*1921 - †1970)


Last edited by rojaro on Sat Sep 21, 2002 4:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sat Sep 21, 2002 4:20 pm    Post subject: Reply with quote

You actually need to do:
Code:

echo $TERM

to see what TERM is set to. export just makes a variable or function available to environments in subsequent commands. Just "export" will show all the current exports.

Also, for *csh, you need to do:
Code:

set term=vt100

set TERM=vt100 will not work since the "regular" variable is term and the env. variable is TERM (*csh will sync up these two when set as mentioned above or below),
or
Code:

setenv TERM vt100

There is no "export" command in *csh.

Also, for older (non-bash) sh shells, you have to do:
Code:

TERM=vt100
export TERM

since they don't allow export and setting the variable in the same line.
rojaro wrote:
type
Code:
export TERM
to see what it is set to. to change it e.g. to VT100 (which is working on most terminal/ssh clients) use
Code:
export TERM=vt100
on a bourne-style shell (e.g. bash) or
Code:
set TERM=vt100
export TERM
on any other shell ...
Back to top
View user's profile Send private message
benholio
n00b
n00b


Joined: 21 Sep 2002
Posts: 2
Location: London, England

PostPosted: Sat Sep 21, 2002 9:11 pm    Post subject: Reply with quote

thanks guys. i'll give it a try and let you know the outcome.

i powered down the box after all, so i may have to do it all again; argh.

.b
Back to top
View user's profile Send private message
operasinger
n00b
n00b


Joined: 06 Sep 2020
Posts: 1
Location: USA

PostPosted: Mon Sep 07, 2020 4:32 am    Post subject: Reply with quote

Naan Yaar's answer worked for me. I'm installing via a running Ubuntu build on a ppc g4. In the instructions for alternative installations here, https://wiki.gentoo.org/wiki/Installation_alternatives#Installing_Gentoo_from_an_existing_Linux_distribution it said to run

Code:
root #env -i HOME=$HOME TERM=$TERM chroot /mnt/gentoo /bin/bash
root #/usr/sbin/env-update
root #source /etc/profile


but that didn't work, so I just left out the HOME=$HOME TERM=$TERM part. later it kept giving me error messages and wouldn't open nano.

Code:
set TERM=vt100
export TERM


worked.
_________________
"See first, think later, then test. But always see first. Otherwise you will only see what you were expecting. Most scientists forget that.” ― Douglas Adams
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum