From 84e0953d1bf559f5f8d7d1345bc9bc046cf3a93f Mon Sep 17 00:00:00 2001 From: Adrian Kreher Date: Sun, 15 Mar 2009 23:14:44 -0500 Subject: [PATCH 1/2] screenrc: made searching in history mode incremental (C-a [, then / or ? to search) --- screenrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/screenrc b/screenrc index 1b50d9f..54fae4b 100644 --- a/screenrc +++ b/screenrc @@ -7,6 +7,9 @@ vbell on # default scrollback to 5000 lines defscrollback 5000 +# when in history mode, use incremental searching +markkeys "^S=/:^R=?" + # turn off visual bell termcapinfo * vb@ From 80297aed6f70e08a95db604bd1799514432146e1 Mon Sep 17 00:00:00 2001 From: dave Date: Wed, 18 Mar 2009 03:35:05 -0500 Subject: [PATCH 2/2] experimental new way of doing extract, depends on very basic tar support --- commonsh/10_utility | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/commonsh/10_utility b/commonsh/10_utility index 4fc26d3..65d69c4 100755 --- a/commonsh/10_utility +++ b/commonsh/10_utility @@ -31,11 +31,14 @@ extract () *.tar) tar xf "${1}" ;; - *.tar.gz|*.tgz|*.tar.z) - tar zxf "${1}" + *.tar.gz|*.tgz) + gunzip -c "${1}" | tar xf - + ;; + *.tar.z) + uncompress -c "${1}" | tar xf - ;; *.tar.bz2|*.tbz2) - tar jxf "${1}" + bzcat "${1}" | tar xf - ;; *.zip|*.jar) unzip -qo "${1}"