From 9f3642d83da330fd57049a0e5ba7e9a48cae60d0 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 15 May 2015 22:39:04 +0100 Subject: [PATCH] sh: lower fds used for internal processing Otherwise we exceed the number allocated on many ports. This gets us to a shell prompt but things then go downhill --- Applications/V7/cmd/sh/defs.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Applications/V7/cmd/sh/defs.h b/Applications/V7/cmd/sh/defs.h index 6058c734..3fbb8846 100644 --- a/Applications/V7/cmd/sh/defs.h +++ b/Applications/V7/cmd/sh/defs.h @@ -61,8 +61,14 @@ #define SYSUMASK 19 /* used for input and output of shell */ +#if 0 /* V7 */ #define INIO 10 #define OTIO 11 +#else +/* FUZIX default is currently 10 fds per proc.. probably should move to 16 */ +#define INIO 8 +#define OTIO 9 +#endif /*io nodes*/ #define USERIO 10 -- 2.34.1