extsay-ng/extsay.sh
changeset 27 4f1cbafb569c
parent 24 81cbb47f1aa6
child 28 1183c1f11a68
equal deleted inserted replaced
26:a15aa7a218ec 27:4f1cbafb569c
    24 [ $# -ge 3 ] && winheight=$3
    24 [ $# -ge 3 ] && winheight=$3
    25 
    25 
    26 # Leave if the FIFO is not available
    26 # Leave if the FIFO is not available
    27 [ -p $FIFOPATH ] || exit 255
    27 [ -p $FIFOPATH ] || exit 255
    28 
    28 
    29 tf=$(mktemp $tmpdir/extsay-$jid-XXXXXX) || exit 255
    29 tf=$(mktemp $tmpdir/extsay-${jid%%/*}-XXXXXX) || exit 255
    30 
    30 
    31 if [ x$winsplit = x"winsplit" ]; then
    31 if [ x$winsplit = x"winsplit" ]; then
    32     screen -r -X other
    32     screen -r -X other
    33     screen -r -X split
    33     screen -r -X split
    34     screen -r -X focus down
    34     screen -r -X focus down