From c331a91c28f2f7698f5fce51443ca9b6d77a0717 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 5 Nov 2013 21:33:44 +0100 Subject: [PATCH] shell/rc: Disable flow control. --- shell/rc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/shell/rc b/shell/rc index 175ed9a..793093a 100644 --- a/shell/rc +++ b/shell/rc @@ -23,3 +23,10 @@ if test "`id -u`" -eq 0; then else umask 077 fi + +# Disable flow control (^s ^q). I use GNU Screen/Tmux which also supports this +# in a similar way (entering copy mode) and enabling flow control by accident +# is annoying. +if test -t 0; then + stty -ixon -ixoff +fi -- 2.43.2