DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 4th March 2018
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: France
Posts: 304
Default wsconsctl.conf variables

Hi.

I searched how-to reduce the keyboard delay.
The problem is that the wsconsctl(8) man's page contains only few examples, not an entire list, and nothing to help me.
I found wsconsctl.conf variables on the net :
Code:
keyboard.repeat.del1=1
keyboard.repeat.deln=1
But that was on an non-official website.
Is there an official list of wsconsctl.conf variables/parameters ?
__________________
The secret of wisdom is not wisdom itself, it's the road that leads us there.

Last edited by LeFrettchen; 4th March 2018 at 01:02 AM. Reason: Clarity
Reply With Quote
  #2   (View Single Post)  
Old 4th March 2018
TronDD TronDD is offline
Package Pilot
 
Join Date: Sep 2014
Posts: 167
Default

For base config files, always check in /etc/examples/
Reply With Quote
  #3   (View Single Post)  
Old 4th March 2018
fvgit's Avatar
fvgit fvgit is offline
Shell Scout
 
Join Date: May 2016
Location: perl -MMIME::Base64 -le 'print decode_base64("SGVyZSBiZSBkcmFnb25zC")'
Posts: 99
Default

LeFrettchen does have a point. The wsconsctl(8) manpage only contains a subset of the possible variables as does /etc/examples/wsconsctl.conf, by the way.

/etc/examples/wsconstcl.conf:
Code:
keyboard.repeat.del1=200   # change keyboard repeat/delay
keyboard.repeat.deln=50
keyboard.encoding=ru       # use different keyboard encoding
keyboard.bell.volume=0     # mute keyboard beep
display.vblank=on      # enable vertical sync blank for screen burner
display.screen_off=60000   # set screen burner timeout to 60 seconds
display.msact=off      # disable screen unburn w/ mouse
Additional variables from the manpage:
Code:
keyboard.bell.pitch=1200
keyboard.bell.pitch+=200
keyboard.map+="keysym Caps_Lock = Control_L"
Two more variables that are hidden in the FAQ(7)
Code:
display.kbdact if set to on, keyboard activity will unblank the screen.
display.outact if set to on, screen output will unblank the screen.
This list above may or may not be exhaustive.
Reply With Quote
  #4   (View Single Post)  
Old 4th March 2018
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 801
Default

I think you can use

# wsconsctl -a

to print all the variables and their current settings. Granted the meaning of the variables and the range of allowed values needs to be gleaned somehow.
Reply With Quote
  #5   (View Single Post)  
Old 4th March 2018
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: France
Posts: 304
Default

Thanks IdOp, I think that's the best solution
__________________
The secret of wisdom is not wisdom itself, it's the road that leads us there.
Reply With Quote
  #6   (View Single Post)  
Old 4th March 2018
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 801
Default

You're welcome. I think the references given by the other posters are very helpful to interpret and use the variables they reference.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
wsconsctl elusive keycodes radix OpenBSD General 15 8th March 2015 08:17 PM
FreeBSD jail inherited user accounts and env variables sysfu FreeBSD General 0 3rd November 2013 05:01 PM
IPFW and sysctl variables questions unixjingleman FreeBSD Security 1 12th June 2011 03:33 AM
Dereferencing sh variables J65nko Programming 3 29th January 2010 02:34 AM
passing make args/variables to builds of prerequisite ports jbhappy FreeBSD Ports and Packages 2 18th July 2008 02:35 PM


All times are GMT. The time now is 08:27 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick