* Software switch from /dev/tty1 to /dev/tty2
@ 2004-02-23 8:56 Sébastien Lefebvre
2004-02-23 14:26 ` Jan-Benedict Glaw
0 siblings, 1 reply; 2+ messages in thread
From: Sébastien Lefebvre @ 2004-02-23 8:56 UTC (permalink / raw)
To: linux-console
Hi !
Does anyone know how to switch from /dev/tty1 to /dev/tty2 with Bash ?
Here is my setup, this could give you other ideas for alternative
solutions :
I boot using a full screen framebuffer on /dev/tty1
The "active" console is /dev/tty2 (which receives the boot logs).
Then, using /etc/init.d, I launch a script (as I defined CONSOLE and
console to /dev/tty1 in lilo.conf, every output is still displayed on
/dev/tty2).
Then, I could either :
-Display a message on /dev/tty1 (this requires to clear the framebuffer,
how to do that ?)
or
-switch to console /dev/tty1 within my script.
Thanks a lot for any idea,
Sébastien
-
To unsubscribe from this list: send the line "unsubscribe linux-console" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Software switch from /dev/tty1 to /dev/tty2
2004-02-23 8:56 Software switch from /dev/tty1 to /dev/tty2 Sébastien Lefebvre
@ 2004-02-23 14:26 ` Jan-Benedict Glaw
0 siblings, 0 replies; 2+ messages in thread
From: Jan-Benedict Glaw @ 2004-02-23 14:26 UTC (permalink / raw)
To: linux-console
[-- Attachment #1: Type: text/plain, Size: 553 bytes --]
On Mon, 2004-02-23 09:56:03 +0100, Sébastien Lefebvre <sebastien.lefebvre@free.fr>
wrote in message <c1cf73$db4$1@sea.gmane.org>:
> Hi !
>
> Does anyone know how to switch from /dev/tty1 to /dev/tty2 with Bash ?
$ man chvt
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-02-23 14:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-23 8:56 Software switch from /dev/tty1 to /dev/tty2 Sébastien Lefebvre
2004-02-23 14:26 ` Jan-Benedict Glaw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).