win: bind the text file properly instead of a special case in "

This commit is contained in:
spew 2018-08-02 14:21:19 -04:00
parent 4757debd0b
commit d534727413
2 changed files with 1 additions and 3 deletions

View file

@ -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);

View file

@ -2,9 +2,6 @@
rfork en
if(test -r /mnt/acme/acme/body)
bind /mnt/acme/acme/body /dev/text
PROMPT='[^ ]*(%|;)[ ]+'
fn cmds {