Path: utzoo!attcan!uunet!pdn!palan!jc3b21!fgd3 From: fgd3@jc3b21.UUCP (Fabbian G. Dufoe) Newsgroups: comp.sys.amiga.tech Subject: Re: Lattice's _tinymain Message-ID: <980@jc3b21.UUCP> Date: 7 Aug 90 06:37:56 GMT References: <1990Aug5.233606.13160@ux1.cso.uiuc.edu> Distribution: comp Organization: St. Petersburg Jr. College, FL Lines: 25 From article <1990Aug5.233606.13160@ux1.cso.uiuc.edu>, by ja26612@uxa.cso.uiuc.edu (Pogo Joe): > Hi. I was wondering if anyone out there has successfully used _tinymain to > replace _main to avoid opening a window on the workbench screen for stdin/out. > I tried the DEFINE _main=_tinymain in my BLINK command line, but it says > that _main is defined twice. I got the information from page G32 in the man. It's a subtle difference, but you need to use double underscores: DEFINE __main=__tinymain No, it isn't documented that way. There's a typo in the manual. I had to write Lattice about it. My manual doesn't say anything about it on page G32. In my manual the erroneous documentation is on page L264. I have version 5.05. Another way to achieve the same result is to recompile main with the preprocessor symbol "TINY" defined. The source is in umain.c in the source directory of disk 4 of your original distribution. --Fabbian Dufoe 350 Ling-A-Mor Terrace South St. Petersburg, Florida 33705 813-823-2350 UUCP: fgd3@jc3b21.UUCP ...uunet!pdn!jc3b21!fgd3