Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Table 62-2 lists the settings controlled by each of the four flag fields of the termios structure. The constants listed in this table correspond to single bits, except those specifying the term mask, which are values spanning several bits; these may contain one of a range of values, shown in parentheses. The column labeled SUSv3 indicates whether the flag is specified in SUSv3. The Default column shows the default settings for a virtual console login.
Note:
Many shells that provide command-line editing facilities perform their own manipulations of the flags listed in Table 62-2. This means that if we try using stty(1) to experiment with these settings, then the changes may not be effective when entering shell commands. To circumvent this behavior, we must disable command-line editing in the shell. For example, command-line editing can be disabled by specifying the command-line option —noediting when invoking bash.