Gentoo Archives: gentoo-amd64

From: Peter Humphrey <prh@××××××××××.uk>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Terminal control codes
Date: Mon, 29 Jan 2007 17:15:49
Message-Id: 200701291713.52279.prh@gotadsl.co.uk
In Reply to: Re: [gentoo-amd64] Terminal control codes by Paul de Vrieze
1 On Monday 29 Jan 2007, Paul de Vrieze wrote:
2 > On Sunday 14 January 2007 18:36, Peter Humphrey wrote:
3 > > On Tuesday 02 January 2007 17:09, I wrote:
4 > > > Secondly, another FAQ says to send setterm codes to /dev/vc/X, but
5 > > > since (I assume) the rise of udev those devices don't exist any more.
6 > >
7 > > Can anyone help me here? I need to know where to send "setterm -blank
8 > > 0" to prevent screen blanking on vc1-6 and 12. Or have I to find the
9 > > blanking code in the source (which source?) and switch it off there?
10 > > Maybe there's an option to a configure script somewhere.
11 >
12 > Try /dev/vcs{1..12} or /dev/tty{1..12}
13
14 Nice idea, but no joy. From a little code skimming I've done it seems
15 that /dev/vcsN is the text content of the console, while /dev/vcsaN is
16 its "text/attributes", whatever that means. I assume that /dev/ttyN is just
17 the device to which a program sends things for display.
18
19 It looks as though a new format of codes is needed to switch blanking off:
20 perhaps an escape string? That's a straw I'm clutching at, notice ;-)
21
22 --
23 Rgds
24 Peter
25 --
26 gentoo-amd64@g.o mailing list