Author: branden Date: 2003-06-05 08:21:52 -0500 (Thu, 05 Jun 2003) New Revision: 145
Modified: trunk/debian/local/Xsession Log: * debian/local/Xsession (message,message_nonl): pass xmessage the -center option so that unpleasant news shows up in an appealing place Modified: trunk/debian/local/Xsession ============================================================================== --- trunk/debian/local/Xsession 2003-06-05 13:18:34 UTC (rev 144) +++ trunk/debian/local/Xsession 2003-06-05 13:21:52 UTC (rev 145) @@ -14,7 +14,7 @@ MESSAGE="$PROGNAME: $*" echo "$MESSAGE" | fold -s -w ${COLUMNS:-80} >&2 if [ -n "$DISPLAY" ] && which xmessage > /dev/null 2>&1; then - echo "$MESSAGE" | fold -s -w ${COLUMNS:-80} | xmessage -file - + echo "$MESSAGE" | fold -s -w ${COLUMNS:-80} | xmessage -center -file - fi } @@ -24,7 +24,7 @@ MESSAGE="$PROGNAME: $*" echo -n "$MESSAGE" | fold -s -w ${COLUMNS:-80} >&2; if [ -n "$DISPLAY" ] && which xmessage > /dev/null 2>&1; then - echo -n "$MESSAGE" | fold -s -w ${COLUMNS:-80} | xmessage -file - + echo -n "$MESSAGE" | fold -s -w ${COLUMNS:-80} | xmessage -center -file - fi }