* Re: [gentoo-user] Console Terminal Gentoo
2006-08-24 18:37 [gentoo-user] Console Terminal Gentoo Rafael Fernández López
@ 2006-08-24 18:54 ` Arturo 'Buanzo' Busleiman
2006-08-24 18:59 ` Willie Wong
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Arturo 'Buanzo' Busleiman @ 2006-08-24 18:54 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Rafael Fernández López wrote:
> Hi,
hiya
> I've installed Gentoo in another computer, but this time is just for
> programming, emacs (maravellous !!), gcc, gdb, valgrind... you know.
cool :D
> I've no X.org and no graphical support.
I found it really useful to use konqueror, public-key auth for ssh, and sftp:// urls for editing
remotely hosted files (e.g. php scripts).
> For that reason I'd like to know how to make *ALL* terminals console
> terminals, because at this time they end at Ctrl + Alt + F6, and Ctrl +
> Alt + F7 has no login petition.
> I've googled and had no results. I know that something important should be
> find in runlevels (my system starts number 3).
edit /etc/inittab, search for section TERMINALS
may attention ;)
mine is:
# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
c6:2345:respawn:/sbin/agetty 38400 tty6 linux
c7:12345:respawn:/sbin/agetty 38400 tty7 linux
c8:12345:respawn:/sbin/agetty 38400 tty8 linux
c9:12345:respawn:/root/mingetty --mprl tty9
The last one is a mprl-patched mingetty. mprl is available at http://www.buanzo.com.ar/eng/ (middle
of the page) or at http://www.freshmeat.net/projects/mprl/
I wrote it because I didn't use X and I used to switch to another console, login locally, then ssh
to a remote host. With this, you can avoid the local login, and just supply something like:
ssh:username@somehost at the Login: prompt of the text console.
If anyone is more interested in the mprl-enhanced mingetty, just let me know and I'll release it.
- --
Arturo "Buanzo" Busleiman - VPN Mail Project - http://vpnmail.buanzo.com.ar
Consultor en Seguridad Informatica - http://www.buanzo.com.ar
http://www.vivamoslavida.com.ar - Portal no-comercial del buen vivir!
for f in www blog linux-consulting vpnmail; do firefox http://$f.buanzo.com.ar ; done
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE7fXJAlpOsGhXcE0RAuoYAJ90Q+0myaKtCdwiJJQFUq0nCG7xBwCfcF6k
bEe/U8oG2sCy/EW3LenbghA=
=UznD
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Console Terminal Gentoo
2006-08-24 18:37 [gentoo-user] Console Terminal Gentoo Rafael Fernández López
2006-08-24 18:54 ` Arturo 'Buanzo' Busleiman
@ 2006-08-24 18:59 ` Willie Wong
2006-08-24 19:11 ` Etaoin Shrdlu
2006-08-24 21:31 ` Nick Rout
3 siblings, 0 replies; 7+ messages in thread
From: Willie Wong @ 2006-08-24 18:59 UTC (permalink / raw
To: gentoo-user
On Thu, Aug 24, 2006 at 08:37:52PM +0200, Penguin Lover Rafael Fern?ndez L?pez squawked:
> For that reason I'd like to know how to make *ALL* terminals console
> terminals, because at this time they end at Ctrl + Alt + F6, and Ctrl +
> Alt + F7 has no login petition.
http://www.tldp.org/HOWTO/Keyboard-and-Console-HOWTO-7.html
in short, edit /etc/inittab
W
--
...plus the chalk is down to nothing. The lecture is all but over.
~Prof. Kirk T. McDonald, DeathEM, P-town PHY 304
Sortir en Pantoufles: up 4 days, 23:55
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Console Terminal Gentoo
2006-08-24 18:37 [gentoo-user] Console Terminal Gentoo Rafael Fernández López
2006-08-24 18:54 ` Arturo 'Buanzo' Busleiman
2006-08-24 18:59 ` Willie Wong
@ 2006-08-24 19:11 ` Etaoin Shrdlu
2006-08-24 19:17 ` Etaoin Shrdlu
2006-08-24 20:04 ` Willie Wong
2006-08-24 21:31 ` Nick Rout
3 siblings, 2 replies; 7+ messages in thread
From: Etaoin Shrdlu @ 2006-08-24 19:11 UTC (permalink / raw
To: gentoo-user
On Thursday 24 August 2006 20:37, Rafael Fernández López wrote:
> For that reason I'd like to know how to make *ALL* terminals console
> terminals, because at this time they end at Ctrl + Alt + F6, and Ctrl
> + Alt + F7 has no login petition.
>
> I've googled and had no results. I know that something important
> should be find in runlevels (my system starts number 3).
Ii did that by editing /etc/inittab from
# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:12345:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux
to
# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:12345:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux
c7:12345:respawn:/sbin/agetty 38400 tty7 linux
c8:12345:respawn:/sbin/agetty 38400 tty8 linux
c9:12345:respawn:/sbin/agetty 38400 tty9 linux
c10:12345:respawn:/sbin/agetty 38400 tty10 linux
c11:12345:respawn:/sbin/agetty 38400 tty11 linux
c12:12345:respawn:/sbin/agetty 38400 tty12 linux
Not sure if terminals beyond 12 can be defined (and with which keyboard
shortcut they are supposed to be activated)
There might be other (posssibly better and/or more correct) ways to get
the same result.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Console Terminal Gentoo
2006-08-24 19:11 ` Etaoin Shrdlu
@ 2006-08-24 19:17 ` Etaoin Shrdlu
2006-08-24 20:04 ` Willie Wong
1 sibling, 0 replies; 7+ messages in thread
From: Etaoin Shrdlu @ 2006-08-24 19:17 UTC (permalink / raw
To: gentoo-user
On Thursday 24 August 2006 21:11, Etaoin Shrdlu wrote:
> Ii did that by editing /etc/inittab from
BTW, never heard about screen?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Console Terminal Gentoo
2006-08-24 19:11 ` Etaoin Shrdlu
2006-08-24 19:17 ` Etaoin Shrdlu
@ 2006-08-24 20:04 ` Willie Wong
1 sibling, 0 replies; 7+ messages in thread
From: Willie Wong @ 2006-08-24 20:04 UTC (permalink / raw
To: gentoo-user
On Thu, Aug 24, 2006 at 09:11:18PM +0200, Penguin Lover Etaoin Shrdlu squawked:
> Not sure if terminals beyond 12 can be defined (and with which keyboard
> shortcut they are supposed to be activated)
Yes. By default you have up to tty63.
Some keyboard mappings allow you to do Alt+Left and Alt+Right for
cycling through the VCs. Another mapping that I used to use uses the
left and right windows key for that purpose.
Or you can just issue chvt. See 'man chvt'
W
--
What do you get when you cross a cat and a dog?
Ans. cat-dog-sine-theta
~Prof. Paul Hagelstein. MAT 330. P-town
Sortir en Pantoufles: up 5 days, 57 min
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Console Terminal Gentoo
2006-08-24 18:37 [gentoo-user] Console Terminal Gentoo Rafael Fernández López
` (2 preceding siblings ...)
2006-08-24 19:11 ` Etaoin Shrdlu
@ 2006-08-24 21:31 ` Nick Rout
3 siblings, 0 replies; 7+ messages in thread
From: Nick Rout @ 2006-08-24 21:31 UTC (permalink / raw
To: gentoo-user
On Thu, 24 Aug 2006 20:37:52 +0200 (CEST)
Rafael Fernández López wrote:
> Hi,
>
> I've installed Gentoo in another computer, but this time is just for
> programming, emacs (maravellous !!), gcc, gdb, valgrind... you know.
>
> I've no X.org and no graphical support.
>
> For that reason I'd like to know how to make *ALL* terminals console
> terminals, because at this time they end at Ctrl + Alt + F6, and Ctrl +
> Alt + F7 has no login petition.
>
> I've googled and had no results. I know that something important should be
> find in runlevels (my system starts number 3).
>
> Thank you !!
See the other answers, but also note that screen is a great tool for use on a console
--
Nick Rout <nick@rout.co.nz>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread