diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 1999-10-27 20:21:03 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 1999-10-27 20:21:03 +0000 |
| commit | b60b8d23b837b684c95821cc12202891c00d0ec2 (patch) | |
| tree | 55074f2da9b4f69bccade17aedd97f5a7c62b3c2 /usr.bin | |
| parent | 4111d344ce75047fd68b5cfb062494342541632c (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/lex/lex.1 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/usr.bin/lex/lex.1 b/usr.bin/lex/lex.1 index 1c8f8d527ad0..0e81b61601fd 100644 --- a/usr.bin/lex/lex.1 +++ b/usr.bin/lex/lex.1 @@ -1906,6 +1906,7 @@ interactive to avoid problems due to waiting to fill buffers flag below). A non-zero value in the macro invocation marks the buffer as interactive, a zero value as non-interactive. Note that use of this macro overrides +.B %option interactive , .B %option always-interactive or .B %option never-interactive @@ -2313,6 +2314,14 @@ or Thus, this option is not really needed; it is on by default for all those cases in which it is allowed. .IP +Note that if +.B isatty() +returns false for the scanner input, flex will revert to batch mode, even if +.B \-I +was specified. To force interactive mode no matter what, use +.B %option always-interactive +(see Options below). +.IP You can force a scanner to .I not be interactive by using |
