ref: e7baf189fa7dea542043cbdceef8ef2e9a4bc3ac
parent: d0a14a1a9a3eba92bc143f3d6bec3bc4d2a3cd84
author: mkf <mkf@cloud9p.org>
date: Mon Sep 30 02:30:28 EDT 2024
drawterm.ms: troffiy
--- a/drawterm.ms
+++ b/drawterm.ms
@@ -1,56 +1,57 @@
-# Drawterm
-
-## Installation
-
-### OpenBSD
-
- $ doas pkg_add drawterm
-
-
-
-
-### Linux
-
-#### Building from source on Debian
-
+.TL
+Drawterm
+.SH
+Installation
+.SM
+.SH
+OpenBSD
+.P1
+$ doas pkg_add drawterm
+.P2
+.SH
+Linux
+.Sh
+Building from source on Debian
+.P1
$ sudo apt install libx11-dev libxt-dev
$ git clone git://git.9front.org/plan9front/drawterm
$ cd drawterm
$ CONF=unix make
-
+.P2
-See <https://mkf.bsdforall.org/drawterm> for other OSes.
+See
+.LN https://cloud9p.org/usr/mkf/drawterm
+<https://cloud9p.org/usr/mkf/drawterm>
+.LN
+for other OSes.
+.SH
+Usage
+.P1
+$ PASS=$YOURPASSWORD drawterm -h cloud9p.org -a cloud9p.org
+.P2
-
-
-## 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
-
+If you add
+.CW $USER=username
+This will also pass on the username or use drawterm -u username to the above
+Replace
+.CW $YOURPASSWORD
+with your actual password.
+.SH
+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
-
+.P1
$ doas pkg_add xkbset
$ xkbset m # enables mousekeys
-
+.P2
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
-
-
+.P1
+$ xev -event keyboard
+.P2
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
+.P1
+$ xmodmap -e "keycode 67 = Pointer_Button1"
+$ xmodmap -e "keycode 68 = Pointer_Button2"
+$ xmodmap -e "keycode 69 = Pointer_Button3"
+.P2