summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2017-09-29 18:24:03 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2017-09-29 18:24:03 +0200
commit06cf4b62ec4113933fd02b8d178978bb44ef53e0 (patch)
tree156ab34e95892406f8834ab45415308562f9b37e
parent0a1831644016e19bdd2a01d203d3881e572e0fd5 (diff)
downloadmidipix_build-06cf4b62ec4113933fd02b8d178978bb44ef53e0.tar.bz2
midipix_build-06cf4b62ec4113933fd02b8d178978bb44ef53e0.tar.xz
etc/midipix.sh: stty(1) -echo ctty, call ntctty.exe w/ -p -e, and invoke bash as login shell w/ -l (via _mik.)
-rwxr-xr-xetc/midipix.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/midipix.sh b/etc/midipix.sh
index 9cd5684c..be4e383f 100755
--- a/etc/midipix.sh
+++ b/etc/midipix.sh
@@ -37,10 +37,11 @@ if [ "$(uname -o)" = "Msys" ]; then
fi;
mintty -h always -s 120,80 -e /bin/sh -c "
set -o errexit;
+ stty raw -echo;
env PATH=${MIDIPIX_PATH}/lib \
- bin/ntctty.exe -e \
+ bin/ntctty.exe -p -e \
bin/chroot . \
- /bin/env PATH=/bin:/lib bash" &
+ /bin/env PATH=/bin:/lib bash -l" &
sleep ${SLEEP_DELAY:=0.25};
printf "%-35s: %s\n" "ntctty PID" "$(ps -W | awk '$NF ~ /ntctty\.exe$/{print $1}')";