The R Project SVN R

Rev

Rev 76567 | Rev 78443 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 76567 Rev 76905
Line 41... Line 41...
41
#  include <sys/time.h>
41
#  include <sys/time.h>
42
# endif
42
# endif
43
#endif
43
#endif
44
 
44
 
45
#ifdef HAVE_UNISTD_H
45
#ifdef HAVE_UNISTD_H
46
# include <unistd.h>		/* isatty() */
46
# include <unistd.h>
47
#endif
47
#endif
48
 
48
 
49
#include <errno.h>
49
#include <errno.h>
50
 
50
 
51
#include "Fileio.h"
51
#include "Fileio.h"
Line 475... Line 475...
475
#ifdef HAVE_AQUA
475
#ifdef HAVE_AQUA
476
    if(useaqua)
476
    if(useaqua)
477
	R_Interactive = useaqua;
477
	R_Interactive = useaqua;
478
    else
478
    else
479
#endif
479
#endif
480
	R_Interactive = R_Interactive && (force_interactive || isatty(0));
480
	R_Interactive = R_Interactive && (force_interactive || R_isatty(0));
481
 
481
 
482
#ifdef HAVE_AQUA
482
#ifdef HAVE_AQUA
483
    /* for Aqua and non-dumb terminal use callbacks instead of connections
483
    /* for Aqua and non-dumb terminal use callbacks instead of connections
484
       and pretty-print warnings/errors (ESS = dumb terminal) */
484
       and pretty-print warnings/errors (ESS = dumb terminal) */
485
    if(useaqua || 
485
    if(useaqua ||