All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sébastien Lefebvre" <sebastien.lefebvre@free.fr>
To: linux-console@vger.kernel.org
Subject: Software switch from /dev/tty1 to /dev/tty2
Date: Mon, 23 Feb 2004 09:56:03 +0100	[thread overview]
Message-ID: <c1cf73$db4$1@sea.gmane.org> (raw)

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

             reply	other threads:[~2004-02-23  8:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-23  8:56 Sébastien Lefebvre [this message]
2004-02-23 14:26 ` Software switch from /dev/tty1 to /dev/tty2 Jan-Benedict Glaw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='c1cf73$db4$1@sea.gmane.org' \
    --to=sebastien.lefebvre@free.fr \
    --cc=linux-console@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.