Here is the workaround I used (based on what Fernando implied)
--- /mine/bin/site_perl/pt-sift 2012-05-01 10:35:15.008088566 +0530 +++ pt-sift.fixed 2012-05-02 19:42:14.554063131 +0530 @@ -465,6 +465,7 @@
# Capture and handle the interactive key-strokes. tput sgr0 + exec 0<$(tty) KEY="" if ! read -n 1 -s KEY 2>/dev/null; then echo "Error while trying to read interactive keystroke command. Exiting."
Here is the workaround I used (based on what Fernando implied)
--- /mine/bin/ site_perl/ pt-sift 2012-05-01 10:35:15.008088566 +0530
+++ pt-sift.fixed 2012-05-02 19:42:14.554063131 +0530
@@ -465,6 +465,7 @@
# Capture and handle the interactive key-strokes.
tput sgr0
+ exec 0<$(tty)
KEY=""
if ! read -n 1 -s KEY 2>/dev/null; then
echo "Error while trying to read interactive keystroke command. Exiting."