From 0f7bb86e4a862ff0f0b6fd14199e1a82e3dc8942 Mon Sep 17 00:00:00 2001 From: short <> Date: Tue, 27 Nov 2001 21:08:59 +0000 Subject: [PATCH] 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 --- .bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 1.8.3.1