[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screensaver support for the Hurd console

From: Alfred M. Szmidt
Subject: Re: Screensaver support for the Hurd console
Date: Sat, 08 Jan 2005 22:09:53 +0100

   I think the second way to configure screensavers is the best.  What
   do you think?

I think it sucks, the console client and all plugins already take so
many arguments that it is very confusing.  It is also impossible to
specify what defaults the console should use, putting the command into
a alias/script does not count.  You can't even get a list of the
options a console plugin takes (console -d vga --help, shows the help
for the console client I belive).

The more options we add to the various plugins the messier things will

I think it was a major mistake to make the console use command-line
arguments to specify the behaviour both for the actual console-client
and the console plugins.  It would be like starting Emacs with no
.emacs file, and using command line arguments for each behaviour.

In short, the console-client should be changed to use Guile, which I
might just do if I got to FOSDEM.  What I would do is make the
console-client only support --help/--version, and remove all argp crap
from the plugins.  Then instead of having a really long command-line
argument of random noise, you would have a configuration file,
/etc/console-client.scm, that might look like:

(set! driver-path '("~/console-drivers" "/lib/hurd/console-client"))
(set! drivers '(vga pc_kbd pc_speaker))

(set! vga/font "10x20")
(set! vga/max-colors 256)

(set! dpms/standby 'vga-standby
(set! dpms/off 'vga-off
(set! dpms/standby-timeout 400)

or so.. At least, this would be a start for something saner then the
current command-line mess.  More features would be added obviously,
but as a inital goal just removing all argp parsing from the plugins
and console-client, and putting all options into a configuration file
would make life easier for everyone.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]