wm: doc

Download patch

ref: f686743f10d8b0753851a089685fff1b94df8c44
parent: b8ba60ca7dbcc313100a1ba70649293235ebd18d
author: jrmu <jrmu@inter9>
date: Wed Oct 4 10:21:12 EDT 2023

Drawterm

--- /dev/null
+++ b/drawterm.ms
@@ -1,0 +1,56 @@
+# Drawterm
+
+## Installation
+
+### OpenBSD
+
+    $ doas pkg_add drawterm
+    
+
+
+
+### Linux
+
+#### Building from source on Debian
+
+    $ sudo apt install libx11-dev libxt-dev
+    $ git clone git://git.9front.org/plan9front/drawterm 
+    $ cd drawterm
+    $ CONF=unix make
+    
+
+See <https://mkf.bsdforall.org/drawterm> for other OSes. 
+
+
+
+## Usage
+
+    $ PASS=$YOURPASSWORD drawterm -h cloud9p.org -a cloud9p.org
+    
+
+If you add $USER=username This will also pass on the username or use drawterm -u username to the above 
+
+Replace $YOURPASSWORD with your actual password. 
+
+
+
+### Using keyboard keys instead of mouse buttons
+
+*Warning: Note that this disables numpad, and makes usage of old keys impossible without a X server restart* 
+
+To use keyboard keys instead of a 3 button mouse in OpenBSD (on X11), first enable mosekey 
+
+    $ doas pkg_add xkbset
+    $ xkbset m # enables mousekeys
+    
+
+open `xev`, press on keys you like to use as mouse keys, be aware, this might make lots of spam in terminal. 
+
+    $ xev -event keyboard
+    
+
+my key codes are 67, 68 and 69. (f1, f2 and f3): 
+
+    xmodmap -e "keycode 67 = Pointer_Button1"
+    xmodmap -e "keycode 68 = Pointer_Button2"
+    xmodmap -e "keycode 69 = Pointer_Button3"
\ No newline at end of file