Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

62. Terminals > Terminal Flags

Terminal Flags

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.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint