On Sat, Apr 26, 2003 at 11:41:03AM +0200, Nando Santagata wrote:
> On Sat, Apr 26, 2003 at 10:48:12AM +0200, Maurizio Lemmo - Tannoiser wrote:
> > > > flubox ridefinisce TEMP?
> > > Mizio, cosa succede se definisci a mano TEMP nell'xterm?
> > Ovviamente, funziona.
> > per il grep, beh, ovviamente, ho fatto anche quello. Sulla etc.
> > L'unica occorrenza "significativa" parrebbe in /etc/X11/Xsession, ma e`
> > un globale, dovrebbe valere anche per icewm (invece...).
>
> Non mi sono spiegato: volevo dire un grep sui sorgenti di flubox.
> Se c'e` una definizione della variabile TEMP all'interno del programma
> la devi trovare all'interno dei sorgenti.
>
Nice idea :)
porta:~# grep -r "TMP" fluxbox-0.1.14/
fluxbox-0.1.14/config.guess:: ${TMPDIR=/tmp} ;
fluxbox-0.1.14/config.guess: { tmp=`(umask 077 && mktemp -d -q
"$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ;
} ||
fluxbox-0.1.14/config.guess: { test -n "$RANDOM" &&
tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
fluxbox-0.1.14/config.guess: { echo "$me: cannot create a temporary
directory in $TMPDIR" >&2 ; exit 1 ; } ;
fluxbox-0.1.14/configure:: ${TMPDIR=/tmp}
fluxbox-0.1.14/configure: tmp=`(umask 077 && mktemp -d -q
"$TMPDIR/csXXXXXX") 2>/dev/null` &&
fluxbox-0.1.14/configure: tmp=$TMPDIR/cs$$-$RANDOM
fluxbox-0.1.14/configure: echo "$me: cannot create a temporary
directory in $TMPDIR" >&2
fluxbox-0.1.14/ltmain.sh: test -n "$TMPDIR" &&
tmpdir="$TMPDIR"
fluxbox-0.1.14/util/bsetbg: echo "### $app" >> $TMPFILE
fluxbox-0.1.14/util/bsetbg: echo "# FULL=\"$full\"" >> $TMPFILE
fluxbox-0.1.14/util/bsetbg: echo "# TILE=\"$tile\"" >> $TMPFILE
fluxbox-0.1.14/util/bsetbg: echo "# CENTER=\"$center\"" >>
$TMPFILE
fluxbox-0.1.14/util/bsetbg: echo "# DEFAULT=\"$default\"" >>
$TMPFILE
fluxbox-0.1.14/util/bsetbg: echo >> $TMPFILE
fluxbox-0.1.14/util/bsetbg: [ -f $TMPFILE ] && rm -f $TMPFILE
fluxbox-0.1.14/util/bsetbg: [ -f $TMPFILE2 ] && rm -f $TMPFILE2
fluxbox-0.1.14/util/bsetbg: rm -f $TMPFILE
fluxbox-0.1.14/util/bsetbg: cat $TMPFILE | grep -v $APP > $TMPFILE2
fluxbox-0.1.14/util/bsetbg: cat "$TMPFILE2" >> $CONFIG
fluxbox-0.1.14/util/bsetbg: rm -f $TMPFILE $TMPFILE2
fluxbox-0.1.14/util/bsetbg:TMPFILE=/tmp/bsetbg.1
fluxbox-0.1.14/util/bsetbg:TMPFILE2=/tmp/bsetbg.2
Parrebbe in effeti
Andy
|