git: trek(6): Drop fast/slow modes and the broken autodetection

看板DFBSD_commit作者時間16年前 (2009/08/30 18:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit dd3e6a730a745fcc6cc6e1e79b109fdcb6fd4b21 Author: Sascha Wildner <saw@online.de> Date: Sun Aug 30 11:58:32 2009 +0200 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> Summary of changes: games/trek/main.c | 16 +--------------- games/trek/srscan.c | 8 ++------ games/trek/trek.h | 1 - 3 files changed, 3 insertions(+), 22 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dd3e6a730a745fcc6cc6e1e79b109fdcb6fd4b21 -- DragonFly BSD source repository
文章代碼(AID): #1AcatY6l (DFBSD_commit)