Drawterm for Plan 9
Installation
Linux
Using Debian Repos
sudo apt-get install drawterm
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
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
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 (on X11), first enable mousekeys
xkbset m # enables mousekeys
xev -event keyboard
xmodmap -e "keycode 67 = Pointer_Button1" xmodmap -e "keycode 68 = Pointer_Button2" xmodmap -e "keycode 69 = Pointer_Button3"
xmodmap -e "keycode 70 = Prior" xmodmap -e "keycode 71 = Next" xmodmap -e "keycode 72 = Super_L" xmodmap -e "keycode 76 = Delete"