From 4f8a9fbe43a306217249d6b805f76019f31b1586 Mon Sep 17 00:00:00 2001 From: Uwe Stuehler Date: Fri, 1 Apr 2005 13:16:59 +0000 Subject: Document special On/Off key functions, and point at the information. --- etc/etc.zaurus/sysctl.conf | 2 +- share/man/man4/man4.zaurus/zkbd.4 | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/etc/etc.zaurus/sysctl.conf b/etc/etc.zaurus/sysctl.conf index e7230e86fd6..692260a20ea 100644 --- a/etc/etc.zaurus/sysctl.conf +++ b/etc/etc.zaurus/sysctl.conf @@ -1,3 +1,3 @@ #machdep.allowaperture=2 # See xf86(4) #machdep.apmwarn=10 # battery % when apm status messages enabled -#machdep.kbdreset=1 # permit console keyboard to do a nice halt +#machdep.kbdreset=1 # permit zkbd(4) power key to do a nice halt diff --git a/share/man/man4/man4.zaurus/zkbd.4 b/share/man/man4/man4.zaurus/zkbd.4 index c9570ea00e8..44cf2f18806 100644 --- a/share/man/man4/man4.zaurus/zkbd.4 +++ b/share/man/man4/man4.zaurus/zkbd.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: zkbd.4,v 1.6 2005/01/16 01:35:55 jmc Exp $ +.\" $OpenBSD: zkbd.4,v 1.7 2005/04/01 13:16:58 uwe Exp $ .\" .\" Copyright (c) 2004 Theo de Raadt .\" @@ -66,6 +66,11 @@ Left .El .Pp Alt + F1 will select the second virtual console. +.Pp +On/Off is special: pressing the key for 2 seconds will suspend +the system. +Pressing the key longer than 6 seconds will do a nice halt if +the machdep.kbdreset sysctl variable is 1. .Sh SEE ALSO .Xr intro 4 , .Xr pxaip 4 , -- cgit v1.2.3