diff options
author | rsc <devnull@localhost> | 2005-01-04 22:11:58 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-01-04 22:11:58 +0000 |
commit | 3ff9213bcd3493446f29942ea9f1a78a59d48823 (patch) | |
tree | df656a132bbea541e0eb432b3ae6007be903c2e9 /bin/wintext | |
parent | 2ce287bb130ff77a6547a582fe7df6a28aefedfb (diff) | |
download | plan9port-3ff9213bcd3493446f29942ea9f1a78a59d48823.tar.gz plan9port-3ff9213bcd3493446f29942ea9f1a78a59d48823.tar.bz2 plan9port-3ff9213bcd3493446f29942ea9f1a78a59d48823.zip |
new scripts
Diffstat (limited to 'bin/wintext')
-rwxr-xr-x | bin/wintext | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bin/wintext b/bin/wintext new file mode 100755 index 00000000..93fe40ea --- /dev/null +++ b/bin/wintext @@ -0,0 +1,16 @@ +#!/bin/sh + +case "$winid" in +[0-9]*) + 9p read acme/$winid/body + exit 0 +esac + +case "$text9term" in +unix!*) + dial -e $text9term </dev/null + exit 0 +esac + +echo 'no running window found' 2>&1 +exit 1 |