Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!princeton!udel!rochester!bbn!uwmcsd1!ig!jade!ucbvax!hplabs!hpcea!hpfcdc!hpfclq!cunniff From: cunniff@hpfclq.UUCP Newsgroups: comp.sources.d Subject: Re: printing in starchart Message-ID: <4370002@hpfclq.HP.COM> Date: Thu, 3-Dec-87 11:19:19 EST Article-I.D.: hpfclq.4370002 Posted: Thu Dec 3 11:19:19 1987 Date-Received: Thu, 10-Dec-87 03:12:07 EST References: <1821@canisius.UUCP> Organization: Hewlett-Packard Lines: 38 In message <1821@canisius.UUCP>, wigle@canisius.UUCP (Ken Wigle) writes: > Printing a constellation works very well with starlaser but not > perfect. Is it just me or do others get overwriting names and gaps > in the left side sometimes. The overwriting names seems to be a feature; however, the following changes to starlaser.c should fix the gaps in the left side (and a minor scaling problem): In starlaser.c, change the following lines: 27: #define TSCALEU 69 /* text mode scaling */ 28: #define TSCALEL 10 32: #define XOFF 1060 /* text centering offset (in decip... to: 27: #define TSCALEU 139 /* text mode scaling */ 28: #define TSCALEL 20 32: #define XOFF 460 /* text centering offset (in decip... Also, add the lines (in function vecsym): 106.1: if( x < 0 ) x = 0; 106.2: if( y < 0 ) y = 0; These should be the two lines immediately preceding the call to printf. Also add (in function vecsyms): 118.1: if( x < 0 ) x = 0; 118.2: if( y < 0 ) y = 0; These should also be the two lines immediately preceding the call to printf. > Ken Ross Cunniff Hewlett-Packard System Software Operation ...{ucbvax,hplabs}!hpda!cunniff cunniff%hpda@hplabs.ARPA