From 10705490e5327de6c18fafe63c47643330e8b3af Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Thu, 4 Nov 1999 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1999-11-04 --- carrera/kbd.c | 6 +++--- port/devproc.c | 5 ++--- port/error.h | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/carrera/kbd.c b/carrera/kbd.c index dd49082f50794a7b16d77a6fd14b0754395746ce..ef28a5e2ea6bf255901aa216c3b8b86d65cfc39c 100644 --- a/carrera/kbd.c +++ b/carrera/kbd.c @@ -61,11 +61,11 @@ enum Up= KF|14, Pgup= KF|15, Print= KF|16, - Left= View, - Right= View, + Left= KF|17, + Right= KF|18, End= '\r', Down= View, - Pgdown= View, + Pgdown= KF|19, Ins= KF|20, Del= 0x7F, }; diff --git a/port/devproc.c b/port/devproc.c index c2a402d9fe044a995bc4ef28d6d5a579474dba06..e5d00a5222a42a8e7f07ab016e2e6167f5868998 100644 --- a/port/devproc.c +++ b/port/devproc.c @@ -33,7 +33,7 @@ Dirtab procdir[] = "ctl", {Qctl}, 0, 0000, "fd", {Qfd}, 0, 0000, "fpregs", {Qfpregs}, sizeof(FPsave), 0000, - "kregs", {Qkregs}, sizeof(Ureg), 0000, + "kregs", {Qkregs}, sizeof(Ureg), 0400, "mem", {Qmem}, 0, 0000, "note", {Qnote}, 0, 0000, "noteid", {Qnoteid}, 0, 0666, @@ -841,7 +841,6 @@ procctlfgrp(Fgrp *f) closefgrp(f); } - void procctlreq(Proc *p, char *va, int n) { @@ -895,7 +894,7 @@ procctlreq(Proc *p, char *va, int n) ready(p); } else - if(strncmp(buf, "closefgrp", 9) == 0) + if(strncmp(buf, "closefiles", 10) == 0) procctlfgrp(p->fgrp); else if(strncmp(buf, "pri", 3) == 0) { diff --git a/port/error.h b/port/error.h index 98277d6328a42717f602e00565f0a5f1b907cccc..86056e05ae4b72b7c11f7eba2ae632fc47ecee53 100644 --- a/port/error.h +++ b/port/error.h @@ -53,6 +53,6 @@ extern char Esoverlap[]; /* segments overlap */ extern char Emouseset[]; /* mouse type already set */ extern char Erecover[]; /* failed to recover fd */ extern char Eshort[]; /* i/o count too small */ -extern char Egreg[]; /* ken scheduled it */ +extern char Egreg[]; /* xterm: Error 50, errno 1: Too big */ extern char Ebadspec[]; /* bad attach specifier */ extern char Enoreg[]; /* process has no saved registers */