From a6e8850ae30b794beb4a545e6c66989da50c1c0b Mon Sep 17 00:00:00 2001 From: Michael Moon Date: Fri, 11 Feb 2011 12:00:19 +1100 Subject: [PATCH] tell users to press ctrl+D to exit --- func.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/func.sh b/func.sh index 96363ec..56e7dab 100755 --- a/func.sh +++ b/func.sh @@ -108,6 +108,7 @@ mendel_talk() { if ps | grep 'cat$' >/dev/null; then skip_kill_cat=1 fi + echo "press ctrl+D to exit" ( cat <&3 & cat >&3; kill $! ; ) 3<>/dev/arduino # You're supposed to use "^D" to exit. If somebody uses "^C" instead, # it leaves the "cat" process connected between the terminal and /dev/arduino