Virtual Console Attributes

Virtual Console Attributes

Post by r. w. cosb » Tue, 28 Jan 1997 04:00:00

I have used "setterm" to change the colours of my virtual consoles, employing
the commands "-background <colour>" and "-store".  However, the default
values are restored when re-booting the system.

I am running Slackware Version 3.0 and kernel 2.0.28

Any advice as to how to resolve this problem will be gratefully received.

Thanks in advance,

Robin Cosby


Virtual Console Attributes

Post by B.A.McCau.. » Wed, 29 Jan 1997 04:00:00

Quote:>the commands "-background <colour>" and "-store".  However, the default
>values are restored when re-booting the system.

So put this command in your startup scripts or in your login scripts,
or even put the escape sequence in your /etc/issue file:

setterm whatever >>/etc/issue


 .  _\\__[oo       from       | Phones: +44 121 471 3789 (home)

.  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
 # ll  l\\  ~~~~ ~   ~ ~    ~ |


1. is a virtual console truly virtual?

Just how "virtual" is a virtual console?

I made a patch that implements an ioctl() to reliably stuff input into
a virtual console as if entered from the keyboard.  It works with each
individual virtual console separately.  Different ones can be fed into
simultaneously, and they do not have to be activated to the physical
console for it to work.  A program simply opens the virtual console
read/only and calls the ioctl() with a string of input.  Read access
is required for the ioctl() to succeed, as well as enough space.

The thing is, no use of the physical console is made.  But do I have to
actually have a physical console for a virtual console to work, given
that nothing happens on the physical console unless the active virtual
console is ths selected one.

If a machine had no physical video/keyboard console at all, what would
be wrong with still having all the virtual consoles?

| Phil Howard - KA9WGN |   Dallas   | |


2. Ctrl+Alt+BackSpace Shut down the Computer

3. creating a new virtual console alongside existing vt100 consoles

4. tar and modification times of directories

5. can't get the VIRTUAL attribute happening (Apache 1.1.3 on Linux)

6. Problem in instalation Red Hat Linux 7.3

7. Controlling Paper Trays with Virtual Printer Attributes

8. "Login incorrect", not asked for password

9. Second virtual console missing in SuSE-installation

10. unblank syslog virtual console

11. more virtual consoles !! :)

12. changing to another virtual console...

13. Virtual consoles and X