ref: 156de7367a4aa65fe938917947af6b197a1c5359
parent: 62cb1f0034358030ff936e81f0cd85caa153a8a8
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Tue Aug 11 04:48:17 EDT 2020
combine drawterm pages into one
--- a/android-drawterm.md
+++ /dev/null
@@ -1,19 +1,0 @@
-Running drawterm on Android
-===========================
-
-Install [termux](https://play.google.com/store/apps/details?id=com.termux)
-and run there:
-
- # optional: pkg install unstable-repo && apt upgrade ### answer 'A' to all questions
- pkg install x11-repo
- pkg install clang python2 make libx11 xorgproto
- pip2 install mercurial
- hg clone http://code.9front.org/hg/drawterm
- cd drawterm
- make CONF=unix -j4
-
-At this point you have a functional `./drawterm` that you can run with
-`-G` to skip graphics.
-
-`/mnt/term/root/data/data/com.termux/files/home` is where your Termux local
-files are exposed.
--- a/drawterm.md
+++ b/drawterm.md
@@ -1,8 +1,12 @@
Drawterm
========
-Code: https://code.9front.org/hg/drawterm
+[Official page](http://drawterm.9front.org/).
+[Code](https://code.9front.org/hg/drawterm).
+
+## Linux
+
For audio to work under Linux without `/dev/dsp`, one can use `sndio`.
Install it with your favorite package manager, run `sndiod`, modify `Make.unix`:
change `AUDIO=unix` to `AUDIO=sndio` and add `-lsndio` to `LDADD`. Run `make CONF=unix`.
@@ -13,3 +17,22 @@
the middle trackpad button. It is advised to completely disable it. With sway
`input * scroll_button disable` needs to be added to the configuration.
With X11 `xinput` has to be used to disable mouse wheel emulation.
+
+## Android
+
+Install [termux](https://play.google.com/store/apps/details?id=com.termux)
+and run there:
+
+ # optional: pkg install unstable-repo && apt upgrade ### answer 'A' to all questions
+ pkg install x11-repo
+ pkg install clang python2 make libx11 xorgproto
+ pip2 install mercurial
+ hg clone http://code.9front.org/hg/drawterm
+ cd drawterm
+ make CONF=unix -j4
+
+At this point you have a functional `./drawterm` that you can run with
+`-G` to skip graphics.
+
+`/mnt/term/root/data/data/com.termux/files/home` is where your Termux local
+files are exposed.
--- a/howto.md
+++ b/howto.md
@@ -5,8 +5,6 @@
[Running 9front under FreeBSD Bhyve](freebsd-bhyve.html)
-[Running drawterm on Android](android-drawterm.html)
-
[Building a kernel-only 9front ISO](kernel-iso.html)
[Rio tips and tricks](rio-tips-and-tricks.html)