ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/rview.c
(Generate patch)

Comparing ray/src/rt/rview.c (file contents):
Revision 1.9 by greg, Mon Jan 8 13:38:12 1990 UTC vs.
Revision 1.11 by greg, Fri Mar 9 14:00:06 1990 UTC

# Line 45 | Line 45 | char  *amblist[128];                   /* ambient include/exclude list
45   int  ambincl = -1;                      /* include == 1, exclude == 0 */
46  
47   int  greyscale = 0;                     /* map colors to brightness? */
48 < char  *devname = "X";                   /* output device name */
48 > char  *devname = dev_default;           /* output device name */
49  
50   struct driver  *dev = NULL;             /* driver functions */
51  
# Line 145 | Line 145 | char  *prompt;
145          char  inpbuf[256];
146          char  *args;
147   again:
148 <        (*dev->comout)(prompt);                 /* get command + arguments */
149 <        (*dev->comin)(inpbuf);
148 >        (*dev->comin)(inpbuf, prompt);          /* get command + arguments */
149          for (args = inpbuf; *args && *args != ' '; args++)
150                  ;
151          if (*args) *args++ = '\0';

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines