Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!tektronix!reed!psu-cs!smethers From: smethers@psu-cs.UUCP (Paul Smethers) Newsgroups: comp.sys.mac Subject: Re: Possible LSC improvements Message-ID: <438@psu-cs.UUCP> Date: Mon, 2-Nov-87 04:57:25 EST Article-I.D.: psu-cs.438 Posted: Mon Nov 2 04:57:25 1987 Date-Received: Fri, 6-Nov-87 00:46:03 EST References: <2917@husc6.UUCP> <8400005@uiucdcsm> Reply-To: smethers@psu-cs.UUCP (Paul Smethers) Organization: Dept. of Computer Science, Portland State University; Portland OR Lines: 33 In article <8400005@uiucdcsm> rudolph@uiucdcsm.cs.uiuc.edu writes: > > >I've wondered about putting page breaks in my programs too. I don't have >LSC, but if anyone knows of a way to put page breaks in text files using >editors such as Edit or the Turbo Pascal editor, I'd like to know about it. > I have a simply solution that I have been using for printing with page breaks while using LSC. I inserted page breaks into my code a long time ago with Aztec C, and have been Cutting and Pasting them wherever I've needed them ever since. I print in MPW (I like their printing options, with good user-defined banners and font control), which understands page breaks. This may not sound great initially, but considering that most of the printing problems mentioned so far - including printing multiple files, all source code, or even program sub-routine names or comments only (try their regular expression pattern matching) - can be fixed with a MPW shellscript, MPW and LSC make a great combination programming environment (in fact, I almost asked that LSC put in more operating system tools, but now that Multifinder is almost out, it would seem silly for them to try to provide what MPW does already). I don't use MPW C anymore, but I love the shell. Here are my printing options from my UserStartup file for mpw (I use a GCC laserprinter): set PrintOptions "-h -b -lm 0.5 -t 4 -f courier -s 6 -hf 'Swiss Narrow' -hs 18 -l 120" If there is any interest, I'll post a sample shellscript that searches out sub-routine comments (if you use standard 'C' header comments) and prints them out. Paul Sm910ce s