Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Login prompt
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
floyd_n_milan
n00b
n00b


Joined: 22 Feb 2005
Posts: 10
Location: India

PostPosted: Fri Mar 18, 2005 1:29 pm    Post subject: Login prompt Reply with quote

I just finished installing Gentoo... Working great. Now, there's just one thing I'd like...

Whenever I logout on any console, I'd like the login prompt to appear at the top of the screen, with the screen cleared. How do I make it so?

Right now, whenever I logout, the prompt appears after the last line... I'd like to change that. Any suggestions appreciated :)

Thank you.
Back to top
View user's profile Send private message
mayday147
l33t
l33t


Joined: 22 Mar 2004
Posts: 825
Location: Bucharest, Romania

PostPosted: Fri Mar 18, 2005 3:34 pm    Post subject: Reply with quote

You can add an alias to your ~/.bash_profile like this:
Code:

alias logout="clear && logout"

_________________
gentoo.ro
Back to top
View user's profile Send private message
floyd_n_milan
n00b
n00b


Joined: 22 Feb 2005
Posts: 10
Location: India

PostPosted: Sat Mar 19, 2005 3:39 am    Post subject: Reply with quote

Thanks :)
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 17857

PostPosted: Sat Mar 19, 2005 3:59 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-6115-start-0-postdays-0-postorder-asc-highlight-logout+clear+prompt.html
_________________

Believing I had supernatural powers I slammed into a brick wall.
I said hey, is this my problem? Is this my fault?
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