comparison src/input.h @ 9999:653716f3d976

get_debug_input: force interactive input mode; don't get user input unless stdin is a tty
author John W. Eaton <jwe@octave.org>
date Fri, 18 Dec 2009 03:05:06 -0500
parents d9b25c5b8ee5
children cd96d29c5efa
comparison
equal deleted inserted replaced
9998:46493feaab7f 9999:653716f3d976
51 extern bool input_from_eval_string_pending; 51 extern bool input_from_eval_string_pending;
52 52
53 // TRUE means that input is coming from a file that was named on 53 // TRUE means that input is coming from a file that was named on
54 // the command line. 54 // the command line.
55 extern bool input_from_command_line_file; 55 extern bool input_from_command_line_file;
56
57 // TRUE means that stdin is a terminal, not a pipe or redirected file.
58 extern bool stdin_is_tty;
56 59
57 // TRUE means we're parsing a function file. 60 // TRUE means we're parsing a function file.
58 extern bool reading_fcn_file; 61 extern bool reading_fcn_file;
59 62
60 // Simple name of function file we are reading. 63 // Simple name of function file we are reading.