Path: utzoo!utgpu!watserv1!watmath!att!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!apple!olivea!orc!inews!iwarp.intel.com!psueea!pdxgate!eecs!kirkenda From: kirkenda@eecs.cs.pdx.edu (Steve Kirkendall) Newsgroups: comp.os.minix Subject: Re: Elvis 1.3. Now I know :-) Summary: Under Minix-PC, maybe Elvis should use tinytcap.c Keywords: termcap, stdio, tinytcap.c Message-ID: <54@pdxgate.UUCP> Date: 9 Sep 90 20:14:13 GMT References: <21@rc6.urc.tue.nl> Sender: news@pdxgate.UUCP Reply-To: kirkenda@eecs.UUCP (Steve Kirkendall) Organization: Portland State University, Portland, OR Lines: 20 In article <21@rc6.urc.tue.nl> baron@wiesje.hobby.nl writes: >1. I have Earl Chew's Stdio package and that generates slightly larger > .s files, so asld needs a few kBytes more, which it hasn't. > I replaced the original stdio.h and libc.a and it compiled ok. This reminded me of something. I went to a certain amount of trouble to avoid using stdio in Elvis, because there were only a couple of places that it would help anyway, and I couldn't spare the fat. But then I found out that the termcap functions use stdio internally, so stdio gets sucked in anyway. This is a little annoying. Minix-PC users may wish to try using tinytcap.c instead. This should shrink elvis by a couple K-bytes at least, since we lose both the full-fledged termcap AND stdio. You could probably take out 2 or 3 of the "-DNO_XXX" flags, then. Tinytcap.c would have to be tweaked... If you try this, please let me know how it works for you. ------------------------------------------------------------------------------- Steve Kirkendall kirkenda@cs.pdx.edu uunet!tektronix!psueea!eecs!kirkenda