guard/guard — comment on commit 0bcdd48e4683652b71c63fc568000564e3c27e09
File: lib/guard/interactors/readline.rb line 101
By thibaudgg:

`-f` seems to be the valid option of the Mac OS X Lion `stty`. Running `info stty` give me:

``` bash

File: *manpages*, Node: stty, Up: (dir)

STTY(1) BSD General Commands Manual STTY(1)

NAME
stty -- set the options for a terminal device interface

SYNOPSIS
stty [-a | -e | -g] [-f file] [operands]

DESCRIPTION
The stty utility sets or reports on terminal characteristics for the
device that is its standard input. If no options or operands are speci-
fied, it reports the settings of a subset of characteristics as well as
additional ones if they differ from their default values. Otherwise it
modifies the terminal state according to the specified arguments. Some
combinations of arguments are mutually exclusive on some terminal types.

The following options are available:

-a Display all the current settings for the terminal to standard
output as per IEEE Std 1003.2 (``POSIX.2'').

-e Display all the current settings for the terminal to standard
output in the traditional BSD ``all'' and ``everything'' formats.

-f Open and use the terminal named by file rather than using stan-
dard input. The file is opened using the O_NONBLOCK flag of
open(), making it possible to set or display settings on a termi-
nal that might otherwise block on the open.

-g Display all the current settings for the terminal to standard
output in a form that may be used as an argument to a subsequent
invocation of stty to restore the current terminal state as per
IEEE Std 1003.2 (``POSIX.2'').

The following arguments are available to set the terminal characteris-
tics:

Control Modes:
Control mode flags affect hardware characteristics associated with the
terminal. This corresponds to the c_cflag in the termios structure.
...
```