win: bind the text file properly instead of a special case in "
This commit is contained in:
parent
4757debd0b
commit
d534727413
2 changed files with 1 additions and 3 deletions
|
@ -634,6 +634,7 @@ startcmd(char *argv[], int *notepg)
|
||||||
e->cpid = cpid;
|
e->cpid = cpid;
|
||||||
sprint(buf, "/mnt/wsys/%d", win->id);
|
sprint(buf, "/mnt/wsys/%d", win->id);
|
||||||
bind(buf, "/dev/acme", MREPL);
|
bind(buf, "/dev/acme", MREPL);
|
||||||
|
bind("/dev/acme/body", "/dev/text", MREPL)
|
||||||
proccreate(execproc, e, EXECSTACK);
|
proccreate(execproc, e, EXECSTACK);
|
||||||
do
|
do
|
||||||
pid = recvul(cpid);
|
pid = recvul(cpid);
|
||||||
|
|
3
rc/bin/"
3
rc/bin/"
|
@ -2,9 +2,6 @@
|
||||||
|
|
||||||
rfork en
|
rfork en
|
||||||
|
|
||||||
if(test -r /mnt/acme/acme/body)
|
|
||||||
bind /mnt/acme/acme/body /dev/text
|
|
||||||
|
|
||||||
PROMPT='[^ ]*(%|;)[ ]+'
|
PROMPT='[^ ]*(%|;)[ ]+'
|
||||||
|
|
||||||
fn cmds {
|
fn cmds {
|
||||||
|
|
Loading…
Reference in a new issue