LCD stays off on lid open

Michal Jaegermann michal at harddata.com
Tue Nov 28 17:27:17 UTC 2006


On Wed, Nov 29, 2006 at 12:05:37AM +1030, n0dalus wrote:
> On 11/28/06, Michal Jaegermann <michal at harddata.com> wrote:
> >>       echo $(fgconsole) > $VT_NR    # remember the current vt
> >
> >Really weird.  Why not simply 'fgconsole >$VT_NR' ?
> 
> echo $(fgconsole) > ... will put all the output on a single line,
> which might be important.

Are there really any circumstances when 'fgconsole' outputs more
than a single number?  'man fgconsole' seems to suggest otherwise.
What is more, you are using that later as $(<$VT_NR) which will
be a single line no matter what (unless you quote).

Even when this would be not the case then how do you propose
to employ later a content of "other lines"?

Whatever.  A detail straight from Rube Goldberg but still a detail.

  Michal




More information about the fedora-test-list mailing list