From abfa79b0159a19cac8bd5dc6c9b16aa8c94c0b71 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Mon, 18 Feb 2019 22:48:29 +0100 Subject: [PATCH] Avoid issues with ctrl-s on the terminal Disabling the terminal option for START/STOP is better because this affects all programs. The previous fix only worked for readline. --- bash/.bashrc | 1 + misc/.inputrc | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index f4c0c09..3a4de12 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -279,6 +279,7 @@ man() { } # Apply customizations +stty -ixon # disable ctrl-s and ctrl-q bashrc_customize_environment bashrc_customize_shell_options bashrc_customize_paths diff --git a/misc/.inputrc b/misc/.inputrc index fb8b495..666ac8d 100644 --- a/misc/.inputrc +++ b/misc/.inputrc @@ -26,6 +26,3 @@ set visible-stats on # Restore this behavior from emacs mode "\C-l": clear-screen -# Avoid issues with C-s -"\C-f": forward-search-history -