trek(6): Drop fast/slow modes and the broken autodetection
authorSascha Wildner <saw@online.de>
Sun, 30 Aug 2009 09:58:32 +0000 (11:58 +0200)
committerSascha Wildner <saw@online.de>
Sun, 30 Aug 2009 09:58:32 +0000 (11:58 +0200)
commitdd3e6a730a745fcc6cc6e1e79b109fdcb6fd4b21
tree0dedb757334a459f4bf839e3fd8b46bac59b88d2
parentef8e78233eef939a50f73f4e15ef854abca78335
trek(6): Drop fast/slow modes and the broken autodetection

These modes were not documented in the manpage, the autodetect
logic was reversed (only terminals with baud < 1200 would get the fast
flag) and even the source was confused claiming this fast setting was
for terminals with baud > 300.

The only thing that changes is the automatic short range scan output
down when entering a new sector. Now the full report is shown always
but can still be somewhat customized.

Incidentally, this also obviates the need for termios. yay!

Submitted-by: Ulrich Spoerlein <uqs@spoerlein.net>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1470>
games/trek/main.c
games/trek/srscan.c
games/trek/trek.h