# as it breaks Mutt "utf-8" and somehow it is no longer needed.
# Re: [Bug-readline] Readline 6.0 patch 004 trapped signal echoed to conso
# http://lists.gnu.org/archive/html/bug-readline/2009-09/msg00006.html
-stty -echoctl
+# 2>/dev/null for possible: stty: standard input: Inappropriate ioctl for device
+stty -echoctl 2>/dev/null
function wclines { awk '{x[$0]++}END{for (i in x) print x[i]"\t"i}'; }
# SunOS does not support "-m"
#(set +x;cvsignoresall)
(set +x;ignoresall)
);}
+function gdbgitclone { git clone git://sourceware.org/git/gdb.git gdb-git; }
+function binutilsgitclone { git clone git://sourceware.org/git/binutils.git binutils-git; }
function gdbcvscheckout { sourcewarecvscheckout gdb; }
function binutilscvscheckout { sourcewarecvscheckout binutils; }
function gdbdevelcvscheckout {(set -ex
);}
function uri_escape { perl -MURI::Escape -le '$_=<>;chomp;print uri_escape $_;'; };
function uri_unescape { perl -MURI::Escape -le '$_=<>;chomp;print uri_unescape $_;'; };
-function n { if [ "$1" = "-p" ];then renice +19 "$@";ionice -c3 "$@";else nice -n19 ionice -c3 "$@";fi };
+if which ionice &>/dev/null;then
+ IONICE="ionice -c3"
+else
+ IONICE=""
+fi
+function n { if [ "$1" = "-p" ];then renice +19 "$@";test -n "$IONICE" && $IONICE "$@";else nice -n19 $IONICE "$@";fi };
function rpmsrclist
{
if [ -z "$*" ]; then