Drawterm for Plan 9
Installation
Linux
Using Debian Repos
$ sudo apt-get install drawterm
Building from source on Debian
$ sudo apt install libx11-dev libxt-dev $ git clone https://github.com/9fans/drawterm $ cd drawterm $ CONF=unix make
Usage
$ USER=username; drawterm -u $USER -c example.com -a example.com
Replace username with your actual username.
If you are using drawterm-9front, you may see strange characters appear when typing ctrl, alt, and shift keys. You may want to try building it from source to see if the problem goes away. Or, you might experiment with the -B flag to disable kbdfs.
Using keyboard keys instead of mouse buttons
$ xkbset m # enables mousekeys
Open xev, press on keys you would like to use as mouse keys:
$ xev -event keyboard
If you choose keys F1, F2, and F3, the key codes are 67, 68 and 69:
$ xmodmap -e "keycode 67 = Pointer_Button1" $ xmodmap -e "keycode 68 = Pointer_Button2" $ xmodmap -e "keycode 69 = Pointer_Button3"
You might also add a few more keybindings for PgUp, PgDn, the Windows key (Kmod4 for riow), and Delete.
$ xmodmap -e "keycode 70 = Prior" $ xmodmap -e "keycode 71 = Next" $ xmodmap -e "keycode 72 = Super_L" $ xmodmap -e "keycode 76 = Delete"
You might consider putting these in ~/.profile.
| Last modified Mon Feb 16 23:24:53 PST 2026 | [ Top | Edit | History | Changelog | Create a new page ] |
About the server
|
|