Drawterm for Plan 9 Installation Linux Using Debian Repos 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 char- acters 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 dis- able kbdfs. 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 key- board keys instead of a 3 button mouse (on X11), first enable mousekeys $ xkbset m # enables mousekeys Open on xev,press $ xev -event keyboard If you choose keys F1, F2, and F3, the key codes are 67, 68 and 69: November 23, 2024 - 2 - $ 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. November 23, 2024