Shells, features and interaction
maurice at nmtvax.UUCP
maurice at nmtvax.UUCP
Tue Dec 10 09:36:38 AEST 1985
>>text data bss dec hex
>>27648 1024 2568 31240 7a08 /bin/sh 8th edition shell
>>67584 2048 5740 75372 1266c /bin/csh C shell
>>81920 3072 9224 94216 17008 /usr/lbin/ksh Korn shell
>
>CSH doesn't have to be this big. It can be made to run on a small-number
>PDP-11 with only 64K bytes of process address space. Personally I think
>these shells could all do with some pruning... but then I'm a confirmed
>PDP-11 fan.
You must be forgetting about overlays then. As it is right now, csh
*needs* the use of overlays (the 2.9bsd version) to run. From doing
a check on it, a size yields this:
text data bss dec octal
16128 + 1240 + 1952 = 19320 45570
56000 total text, overlays: (16384,15936,7552)
Looks like less than 64? You still need to put the stack in there as well,
and that gets the last 8k segment of 64k (depends on the pdp type, this
is from a nonseperate i/d pdp 23+).
It may be big to you (csh) , but I like the functionality it gives over sh.
Roger M. Levasseur
New Mexico Tech
More information about the Comp.unix
mailing list