Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Best terminal?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
psofa
Guru
Guru


Joined: 28 Feb 2004
Posts: 485

PostPosted: Thu Jun 10, 2004 1:15 pm    Post subject: Best terminal? Reply with quote

im looking for a nice terminal without kde-gnome dependencies i would prefer it gtk or sth . i want it with good looking freetype fonts colours (i suppose this is standard) and trasparency
_________________
psofa
Back to top
View user's profile Send private message
flyinspirit001
Apprentice
Apprentice


Joined: 25 May 2004
Posts: 266
Location: localhost,localdomain

PostPosted: Thu Jun 10, 2004 1:28 pm    Post subject: Reply with quote

for me aterm.. i use it with transparency and i haven't gnome or kde dependencies :)

anyway this forum is full of posts like this , try with quick search ;)

:) byez :)
_________________
"Ride the infinity, be your best. For you, for all"
Dungeon01 - linux registered user #362502


Last edited by flyinspirit001 on Thu Jun 10, 2004 1:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Thu Jun 10, 2004 1:32 pm    Post subject: Reply with quote

Assuming you mean a terminal for X, aterm is excellent, and includes good color support and transparency; it's my preference. Another much-liked terminal program is eterm.

Before this thread gets too long, however, terminals have been discussed in detail in more than a few threads before, e.g.:

https://forums.gentoo.org/viewtopic.php?t=64195
https://forums.gentoo.org/viewtopic.php?t=82449
https://forums.gentoo.org/viewtopic.php?t=113356
https://forums.gentoo.org/viewtopic.php?t=140536
Back to top
View user's profile Send private message
psofa
Guru
Guru


Joined: 28 Feb 2004
Posts: 485

PostPosted: Thu Jun 10, 2004 2:25 pm    Post subject: Reply with quote

ok ive read the other threads and tried aterm. though i have a slight prob. instead of it showing ie psofa@barton it says bash sth can i fix this?
_________________
psofa
Back to top
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Thu Jun 10, 2004 2:37 pm    Post subject: Reply with quote

psofa wrote:
ok ive read the other threads and tried aterm. though i have a slight prob. instead of it showing ie psofa@barton it says bash sth can i fix this?


Yes. It's not the terminal but your shell that sets the prompt. Put this in your ~/.profile for a prompt of "user@host ":

Code:
export PS1="\u@\h "


If that's not exactly the prompt you want, there are many other options. See the bash prompt howto for lots of detail and other examples.
Back to top
View user's profile Send private message
psofa
Guru
Guru


Joined: 28 Feb 2004
Posts: 485

PostPosted: Thu Jun 10, 2004 2:47 pm    Post subject: Reply with quote

ok this works but i want it coloured!
meh ill read the bash howto! but if u dont bother tell me how! red-blue i think
_________________
psofa
Back to top
View user's profile Send private message
psofa
Guru
Guru


Joined: 28 Feb 2004
Posts: 485

PostPosted: Thu Jun 10, 2004 2:51 pm    Post subject: Reply with quote

or even better do u know where gnome terminal used to take the info about the promt and its colours
_________________
psofa
Back to top
View user's profile Send private message
psofa
Guru
Guru


Joined: 28 Feb 2004
Posts: 485

PostPosted: Thu Jun 10, 2004 2:54 pm    Post subject: Reply with quote

ok ive found the part in profile that handles this:

if [ `/usr/bin/whoami` = 'root' ]
then
# Do not set PS1 for dumb terminals
if [ "$TERM" != 'dumb' ] && [ -n "$BASH" ]
then
export PS1='\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]'
fi
export PATH="/bin:/sbin:/usr/bin:/usr/sbin:${ROOTPATH}"
else
# Do not set PS1 for dumb terminals
if [ "$TERM" != 'dumb' ] && [ -n "$BASH" ]
then
export PS1='\[\033[01;32m\]\u@\h \[\033[01;34m\]\W \$ \[\033[00$
fi
export PATH="/bin:/usr/bin:${PATH}"
fi

now why doesnt aterm read this?
doesnt it like the
if [ "$TERM" != 'dumb' ] && [ -n "$BASH" ] ?
is my terminal dumb 8O
_________________
psofa


Last edited by psofa on Thu Jun 10, 2004 2:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
Boris27
Guru
Guru


Joined: 05 Nov 2003
Posts: 562
Location: Almelo, The Netherlands

PostPosted: Thu Jun 10, 2004 2:54 pm    Post subject: Reply with quote

psofa wrote:
ok this works but i want it coloured!
meh ill read the bash howto! but if u dont bother tell me how! red-blue i think


put source /etc/profile in your .profile

:)
_________________
we are microsoft, lower your firewalls and surrender your pc's. we will add your biological and technological distinctiveness to our own. your culture will adapt and service us. resistance is futile.
Back to top
View user's profile Send private message
psofa
Guru
Guru


Joined: 28 Feb 2004
Posts: 485

PostPosted: Thu Jun 10, 2004 2:56 pm    Post subject: Reply with quote

but i made the changes to /etc/profile i didnt change the ~/.profile
EDIT:
never mind im stupid!

ok it seems .profile is not read!
if i write in the term source /etc/profile it will work
but the thing in .profile doesnt

maybe a syntax error?
i just created a file called .profile in my root dir wrote the command and saved it :?:
_________________
psofa
Back to top
View user's profile Send private message
psofa
Guru
Guru


Joined: 28 Feb 2004
Posts: 485

PostPosted: Thu Jun 10, 2004 3:15 pm    Post subject: Reply with quote

ok found it! it doesnt want .profile it wants .bashrc!
_________________
psofa
Back to top
View user's profile Send private message
loseruser
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2003
Posts: 110
Location: Seattle,WA

PostPosted: Thu Jun 10, 2004 5:01 pm    Post subject: Reply with quote

psofa wrote:
ok found it! it doesnt want .profile it wants .bashrc!


or .bash_profile I do believe.
Back to top
View user's profile Send private message
psofa
Guru
Guru


Joined: 28 Feb 2004
Posts: 485

PostPosted: Thu Jun 10, 2004 5:40 pm    Post subject: Reply with quote

tried it .bash_profile didnt work
_________________
psofa
Back to top
View user's profile Send private message
loseruser
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2003
Posts: 110
Location: Seattle,WA

PostPosted: Thu Jun 10, 2004 6:02 pm    Post subject: Reply with quote

Decided to go hunting for the difference because I knew .bash_profile would work in at least one situation. So here it comes, straight from the man page for bash
Quote:

When bash is invoked as an interactive login shell, or as a non-interactive shell with the
--login option, it first reads and executes commands from the file /etc/profile, if that
file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and
~/.profile, in that order, and reads and executes commands from the first one that exists
and is readable. The --noprofile option may be used when the shell is started to inhibit
this behavior.

When a login shell exits, bash reads and executes commands from the file ~/.bash_logout, if
it exists.

When an interactive shell that is not a login shell is started, bash reads and executes com-
mands from ~/.bashrc, if that file exists. This may be inhibited by using the --norc
option. The --rcfile file option will force bash to read and execute commands from file
instead of ~/.bashrc.
Back to top
View user's profile Send private message
BlinkEye
Veteran
Veteran


Joined: 21 Oct 2003
Posts: 1046
Location: Gentoo Forums

PostPosted: Thu Oct 14, 2004 5:44 pm    Post subject: Reply with quote

this is my favourite prompt:
Code:
PS1='\n\[\033[33m\]\w\n\[\033[0m\]\[\033[1;32m\]\u@\h \[\033[1;34m\]$(/usr/bin/tty | /bin/sed -e '\''s:/dev/::'\'') \[\033[0m\]\[\033[0m\]'

this should be one single line. put it in ~/.bashrc and don't forget to source it afterwards, or it will not change for your current terminal session =>
Code:
source .bashrc

or
Code:
. .bashrc

i put this line in every users directory and this one in root's:
Code:
PS1='\n\[\033[33m\]\w\n\[\033[0m\]\[\033[1;31m\]\u@\h \[\033[1;34m\]$(/usr/bin/tty | /bin/sed -e '\''s:/dev/::'\'') \[\033[0m\]\[\033[0m\]'

user's prompt are green and root's is red - prevents stupid confusions.
_________________
Easily backup up your system? klick
Get rid of SSH Brute Force Attempts / Script Kiddies klick


Last edited by BlinkEye on Thu Oct 14, 2004 6:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
brettlpb
Apprentice
Apprentice


Joined: 27 May 2003
Posts: 197

PostPosted: Thu Oct 14, 2004 5:46 pm    Post subject: Reply with quote

How can you people live with a non-anti-aliased terminal? :(

I'll take KDE just for Konsole.
Back to top
View user's profile Send private message
nighty
Apprentice
Apprentice


Joined: 10 Aug 2003
Posts: 217
Location: right behind you.

PostPosted: Thu Oct 14, 2004 6:15 pm    Post subject: Reply with quote

aterm with screen. if you use kde then konsole is quite nice when custumized (keyboard shortcuts).
Back to top
View user's profile Send private message
lebel
n00b
n00b


Joined: 25 Aug 2004
Posts: 36

PostPosted: Thu Oct 14, 2004 6:18 pm    Post subject: Reply with quote

Why not use xterm? I mean, what's so special about all the other terms? xterm can use anti-aliased fonts (parameter -fa), is the defacto terminal you'll find everywhere (it's the "vi" of terminals).

Plus, you can tweak it to your heart content.

Really.

Plus, with 6.8 of Xorg's X11, you can have transparent terminals if you wish so.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Oct 22, 2004 11:52 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?t=12430
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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