From: short <> Date: Tue, 27 Nov 2001 21:08:59 +0000 (+0000) Subject: Workarounded function cvsdiff & cvsupdate to not to break on EAGAIN during "|less" X-Git-Tag: rh72~4 X-Git-Url: http://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=0f7bb86e4a862ff0f0b6fd14199e1a82e3dc8942;hp=0f25258f3a7f40f5ed31d55d8c74a7d2b3e9cad9 Workarounded function cvsdiff & cvsupdate to not to break on EAGAIN during "|less" - "cvs" (at least from my cvs-1.11-3_nokerberos_static.i386.rpm) has an army of its own signal handlers and therefore otherwise transparent EAGAIN hits --- diff --git a/.bashrc b/.bashrc index 960a7e3..eca975d 100644 --- a/.bashrc +++ b/.bashrc @@ -58,9 +58,9 @@ export GREP_OPTIONS="--binary-files=without-match --directories=skip" # even when LANG is set to "en_US" it is lethal - strcoll() starts to sort case-insensitively! unset LANG -function cvsdiff { cvs diff "$@" 2>&1| less; }; export -f cvsdiff +function cvsdiff { cvs diff "$@" 2>&1|cat |less; }; export -f cvsdiff function cvsdiffi { cvs diff "$@" 2>&1|grep -v '^?'|less; }; export -f cvsdiffi -function cvsupdate { cvs update "$@" 2>&1| less; }; export -f cvsupdate +function cvsupdate { cvs update "$@" 2>&1|cat |less; }; export -f cvsupdate function cvsupdatei { cvs update "$@" 2>&1|grep -v '^?'|less; }; export -f cvsupdatei function cvsfiles { for i in `find . -name Entries|grep '/CVS/Entries$'`;do