diff options
author | spew <devnull@localhost> | 2018-08-02 14:21:19 -0400 |
---|---|---|
committer | spew <devnull@localhost> | 2018-08-02 14:21:19 -0400 |
commit | d5347274132c2790b42a7fbacec1969ea817f558 (patch) | |
tree | 32a243cc79c39c3cd57eef55faf9cc3f616a19a2 | |
parent | 4757debd0b5935dae94944c35c3cac74b14aa209 (diff) | |
download | plan9front-d5347274132c2790b42a7fbacec1969ea817f558.tar.xz |
win: bind the text file properly instead of a special case in "
-rw-r--r-- | acme/bin/source/win/main.c | 1 | ||||
-rwxr-xr-x | rc/bin/" | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/acme/bin/source/win/main.c b/acme/bin/source/win/main.c index 214356a48..9748f5db1 100644 --- a/acme/bin/source/win/main.c +++ b/acme/bin/source/win/main.c @@ -634,6 +634,7 @@ startcmd(char *argv[], int *notepg) e->cpid = cpid; sprint(buf, "/mnt/wsys/%d", win->id); bind(buf, "/dev/acme", MREPL); + bind("/dev/acme/body", "/dev/text", MREPL) proccreate(execproc, e, EXECSTACK); do pid = recvul(cpid); @@ -2,9 +2,6 @@ rfork en -if(test -r /mnt/acme/acme/body) - bind /mnt/acme/acme/body /dev/text - PROMPT='[^ ]*(%|;)[ ]+' fn cmds { |