File: bifffolder

package info (click to toggle)
exmh 1%3A2.9.0-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 4,216 kB
  • sloc: tcl: 38,046; perl: 1,647; makefile: 130; sh: 101; exp: 75; csh: 9; sed: 2
file content (16 lines) | stat: -rwxr-xr-x 321 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
#
# If exmh is running, make it do an flist.
#
FOLDER=$1
FILE=$HOME/.exmh/.display
if [ -f $FILE ]; then
    DISPLAY=`cat $FILE`
    if [ "$DISPLAY" != "" ]; then
	echo "exmh is running"
	/usr/local/bin/wish -f -display $DISPLAY <<EOF
catch { send exmh { Flist_UnseenUpdate $FOLDER } } err
exit 0
EOF
    fi
fi