Yes. This is f*ing absurb. A default that kills the screen and the
requirement to send some @!_$%!@$ sequences to turn it off. This
is absolute crap, absolutely positively, with no possible justification
whatsoever. If I made an ioctl, it will probably be rejected.........
What language. What about the below (not compiled, not tested)?
diff -u --recursive --new-file -X /linux/dontdiff a/drivers/char/vt.c b/drivers/char/vt.c
--- a/drivers/char/vt.c Mon Jun 23 04:43:32 2003
+++ b/drivers/char/vt.c Tue Jul 29 15:36:58 2003
@@ -2294,6 +2294,12 @@
case TIOCL_BLANKEDSCREEN:
ret = console_blanked;
break;
+ case TIOCL_SETBLANKINTERVAL:
+ if (get_user(data, (char *)arg+1))
+ ret = -EFAULT;
+ else
+ blankinterval = ((unsigned)data)*60*HZ;
+ break;
default:
ret = -EINVAL;
break;
diff -u --recursive --new-file -X /linux/dontdiff a/include/linux/tiocl.h b/include/linux/tiocl.h
--- a/include/linux/tiocl.h Sun Jun 15 01:41:07 2003
+++ b/include/linux/tiocl.h Tue Jul 29 15:34:39 2003
@@ -34,5 +34,6 @@
#define TIOCL_SCROLLCONSOLE 13 /* scroll console */
#define TIOCL_BLANKSCREEN 14 /* keep screen blank even if a key is pressed */
#define TIOCL_BLANKEDSCREEN 15 /* return which vt was blanked */
+#define TIOCL_SETBLANKINTERVAL 16 /* in minutes; 0: don't blank */
#endif /* _LINUX_TIOCL_H */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:40 EST