Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
n00b question about /etc/issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
mwiertz
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 88
Location: Selfkant, Germany

PostPosted: Sat Aug 14, 2004 6:11 pm    Post subject: n00b question about /etc/issue Reply with quote

Hi there,

It may sound stupid, but I was wondering if it's possible to put a kind of variable (like \n for the hostname) in the /etc/issue file that shows which virtual console I'm using?

Does anyone know? Would be handy someties... I've seen this at other distribs, but I hope I don't have to install one of them just to find out how this is done...

Anyway, thanx in advance,
Max
Back to top
View user's profile Send private message
teknomage1
Veteran
Veteran


Joined: 05 Aug 2003
Posts: 1239
Location: Los Angeles, CA

PostPosted: Sat Aug 14, 2004 7:00 pm    Post subject: Reply with quote

maybe \l , not sure
Back to top
View user's profile Send private message
mwiertz
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 88
Location: Selfkant, Germany

PostPosted: Sat Aug 14, 2004 7:18 pm    Post subject: Reply with quote

yes, thanx

\l worx perfectly...

where could I have found this?

is there a manpage or another part of documentation?

:D
Back to top
View user's profile Send private message
teknomage1
Veteran
Veteran


Joined: 05 Aug 2003
Posts: 1239
Location: Los Angeles, CA

PostPosted: Sat Aug 14, 2004 7:58 pm    Post subject: Reply with quote

I checked the man pages and came up empty but i remembered i had a harddrive laying around with mandrake 8.2 on it. Your comment about seeing other distros do it jogged my memory.
Back to top
View user's profile Send private message
Zarhan
l33t
l33t


Joined: 27 Feb 2004
Posts: 997

PostPosted: Sat Aug 14, 2004 8:45 pm    Post subject: Reply with quote

mwiertz wrote:

where could I have found this?

is there a manpage or another part of documentation?



man agetty
Back to top
View user's profile Send private message
mwiertz
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 88
Location: Selfkant, Germany

PostPosted: Sat Aug 14, 2004 9:58 pm    Post subject: Reply with quote

Great!

Zarhan, teknomage1, thanks for your fats replies and answers...

really nice
:D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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