3 # rlwrap provides readline to stuff which doesn't know readline by itself
4 RLWRAP
=`which rlwrap 2>/dev/null`
10 A_RERUN
="no" exec $RLWRAP $0
18 which ${DBUS_SEND} > /dev
/null
21 echo "E: Unable to find" ${DBUS_SEND}
25 DBUS_METHOD
=org.awesome.Remote.Eval
31 $DBUS_SEND --dest=$DBUS_DEST --type=method_call
--print-reply $DBUS_PATH \
32 $DBUS_METHOD string
:"$1" |
tail -n +2
35 while read ${USE_READLINE} -r -p "awesome# " line