diff --git a/3xterm b/3xterm index 467a8a0..3ae53bb 100755 --- a/3xterm +++ b/3xterm @@ -5,3 +5,5 @@ XTERM=x-terminal-emulator $XTERM -ls -title "--irst 0n3xx" & $XTERM -ls -title ">>> 2nd <<<" & $XTERM -ls -title "www.3rd.xterm" & +sleep 0.5 +i3-msg mh diff --git a/eth/user/isg_order b/eth/user/isg_order index a2eecd4..714b461 100755 --- a/eth/user/isg_order +++ b/eth/user/isg_order @@ -55,7 +55,6 @@ fi sendmail="/usr/sbin/sendmail" to="support@inf.ethz.ch nicosc@ethz.ch" -to="nicosc@ethz.ch" from="${NETHZ_USERNAME}@ethz.ch" prof="$1"; shift diff --git a/hole_mails b/hole_mails index 649f181..9f192eb 100755 --- a/hole_mails +++ b/hole_mails @@ -8,8 +8,8 @@ if [ -z "$SLEEP" ]; then fi while true; do - fetchmail >/dev/null ; - offlineimap + fetchmail >/dev/null +# offlineimap echo "Mails abgeholt, schlafe nun $SLEEP Sekunde(n)" sleep $SLEEP; done diff --git a/hsz-t/os-einsenden b/hsz-t/os-einsenden index 57c9334..a77d457 100755 --- a/hsz-t/os-einsenden +++ b/hsz-t/os-einsenden @@ -19,6 +19,9 @@ # # Submit solution according to http://edu.panter.ch/FormelleBedingungenUebungenBetriebssysteme # +# Good information about shell/mail sending: +# http://www.shelldorado.com/articles/mailattachments.html +# ################################################################################ @@ -27,11 +30,11 @@ __pwd="$(pwd -P)" __mydir="${0%/*}"; __abs_mydir="$(cd "$__mydir" && pwd -P)" __myname=${0##*/}; __abs_myname="$__abs_mydir/$__myname" -set -x +#set -x -if [ $# -ne 2 ]; then +if [ $# -lt 2 ]; then cat << eof -$0: +$0: [comments] eof exit 1 @@ -41,6 +44,7 @@ fi subject_suff="$1"; shift input="$1"; shift input_base="${input##*/}" +comments="$@" self="nschotte" to="bseelige" @@ -52,10 +56,9 @@ subject_pref="[Betriebssysteme]" sendmail="/usr/sbin/sendmail" to_all="${to_q} ${self_q}" -to_all="${self_q}" +#to_all="${self_q}" # check stuff before sending out - ( cd "${input}" && make test && make clean ); ret=$? if [ "${ret}" -ne 0 ]; then @@ -70,8 +73,9 @@ To: $to_all Subject: $subject_pref $subject_suff From: $self_q - +$comments Gesendet mit ${__myname}. + eof ) cd "${input}/.." && tar c "${input_base}" | gzip -9 | uuencode "${subject_suff}.tar.gz" diff --git a/ikiwikitest.sh b/ikiwikitest.sh index bd9b84e..7916f2a 100755 --- a/ikiwikitest.sh +++ b/ikiwikitest.sh @@ -1,6 +1,6 @@ #!/bin/sh set -x -BDIR=~/b/ikiwiki +BDIR=~/temp/build/ikiwiki ( cd "${BDIR}" && git describe ) diff --git a/permissions.private b/permissions.private index 8553535..b2c6a2a 100755 --- a/permissions.private +++ b/permissions.private @@ -5,4 +5,4 @@ # Last Modified: - # -find "$1" -exec chmod og-rwx {} \; +find "$1" -exec chmod u+rw,og-rwx {} \; diff --git a/tmutt b/tmutt index 3e9c8fd..ba5b7ef 100755 --- a/tmutt +++ b/tmutt @@ -1,2 +1,2 @@ #!/bin/sh -x-terminal-emulator -name mutt -e mutt +x-terminal-emulator -name mutt -e mutt "$@" diff --git a/x-terminal-emulator b/x-terminal-emulator index 148fd4a..769f84d 100755 --- a/x-terminal-emulator +++ b/x-terminal-emulator @@ -2,4 +2,4 @@ [ -x /usr/bin/urxvtcd ] && exec /usr/bin/urxvtcd -exec urxvtc +exec urxvtc "$@"