summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@twinleaf.com>2015-01-29 13:31:10 -0800
committerbryan newbold <bnewbold@twinleaf.com>2015-01-29 13:31:35 -0800
commita35b713b7d82f0e8112d0180d556d9aed1538391 (patch)
treef67e3a6942d1cc26baf090ad40cfeaa6710cf6d9
parent23af6b47217d70e7a22b5b000ad353b44f7ddae7 (diff)
downloadknowledge-a35b713b7d82f0e8112d0180d556d9aed1538391.tar.gz
knowledge-a35b713b7d82f0e8112d0180d556d9aed1538391.zip
screen /dev/ttyU* tab complete hack
-rw-r--r--software/screen.page12
1 files changed, 12 insertions, 0 deletions
diff --git a/software/screen.page b/software/screen.page
index bf82196..7bcf4bc 100644
--- a/software/screen.page
+++ b/software/screen.page
@@ -11,3 +11,15 @@ sessions), use:
$ screen -d -r
+Disable default bash completions
+---------------------------------
+
+At least on debian wheezy, screen has tab completions which prevent, eg:
+
+ $ screen /dev/ttyU<TAB>
+
+from completing as ``/dev/ttyUSB0`` et al.
+
+To disable this, go to ``/usr/share/bash-completion/completions`` and ``sudo mv
+screen screen.disabled``.
+