# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2012-05-01 04:39+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#. type: TH
#: build/C/man3/getpass.3:23
#, no-wrap
msgid "GETPASS"
msgstr ""

#. type: TH
#: build/C/man3/getpass.3:23 build/C/man3/ttyslot.3:26
#, no-wrap
msgid "2010-09-20"
msgstr ""

#. type: TH
#: build/C/man3/getpass.3:23 build/C/man3/isatty.3:24 build/C/man4/pts.4:6 build/C/man7/pty.7:25 build/C/man5/securetty.5:25 build/C/man5/termcap.5:30 build/C/man7/termio.7:25 build/C/man3/termios.3:41 build/C/man4/tty.4:27 build/C/man4/tty_ioctl.4:5 build/C/man3/ttyname.3:26 build/C/man5/ttytype.5:28
#, no-wrap
msgid "Linux"
msgstr ""

#. type: TH
#: build/C/man3/getpass.3:23 build/C/man3/getpt.3:5 build/C/man3/getttyent.3:4 build/C/man3/grantpt.3:4 build/C/man3/isatty.3:24 build/C/man3/openpty.3:32 build/C/man3/posix_openpt.3:25 build/C/man4/pts.4:6 build/C/man3/ptsname.3:6 build/C/man7/pty.7:25 build/C/man5/securetty.5:25 build/C/man3/tcgetsid.3:23 build/C/man5/termcap.5:30 build/C/man7/termio.7:25 build/C/man3/termios.3:41 build/C/man4/tty.4:27 build/C/man4/tty_ioctl.4:5 build/C/man3/ttyname.3:26 build/C/man3/ttyslot.3:26 build/C/man5/ttytype.5:28 build/C/man3/unlockpt.3:4
#, no-wrap
msgid "Linux Programmer's Manual"
msgstr ""

#. type: SH
#: build/C/man3/getpass.3:24 build/C/man3/getpt.3:6 build/C/man3/getttyent.3:5 build/C/man3/grantpt.3:5 build/C/man3/isatty.3:25 build/C/man3/openpty.3:33 build/C/man3/posix_openpt.3:26 build/C/man4/pts.4:7 build/C/man3/ptsname.3:7 build/C/man7/pty.7:26 build/C/man5/securetty.5:26 build/C/man3/tcgetsid.3:24 build/C/man5/termcap.5:31 build/C/man7/termio.7:26 build/C/man3/termios.3:42 build/C/man4/tty.4:28 build/C/man4/tty_ioctl.4:6 build/C/man3/ttyname.3:27 build/C/man3/ttyslot.3:27 build/C/man5/ttytype.5:29 build/C/man3/unlockpt.3:5
#, no-wrap
msgid "NAME"
msgstr ""

#. type: Plain text
#: build/C/man3/getpass.3:26
msgid "getpass - get a password"
msgstr ""

#. type: SH
#: build/C/man3/getpass.3:26 build/C/man3/getpt.3:8 build/C/man3/getttyent.3:7 build/C/man3/grantpt.3:7 build/C/man3/isatty.3:27 build/C/man3/openpty.3:35 build/C/man3/posix_openpt.3:28 build/C/man3/ptsname.3:9 build/C/man3/tcgetsid.3:26 build/C/man3/termios.3:46 build/C/man4/tty_ioctl.4:8 build/C/man3/ttyname.3:29 build/C/man3/ttyslot.3:29 build/C/man3/unlockpt.3:7
#, no-wrap
msgid "SYNOPSIS"
msgstr ""

#. type: Plain text
#: build/C/man3/getpass.3:28
msgid "B<#include E<lt>unistd.hE<gt>>"
msgstr ""

#. type: Plain text
#: build/C/man3/getpass.3:30
msgid "B<char *getpass( const char *>I<prompt>B<);>"
msgstr ""

#. type: Plain text
#: build/C/man3/getpass.3:34 build/C/man3/posix_openpt.3:39 build/C/man3/termios.3:81 build/C/man3/ttyslot.3:39
msgid "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
msgstr ""

#. type: Plain text
#: build/C/man3/getpass.3:37
msgid "B<getpass>():"
msgstr ""

#. type: TP
#: build/C/man3/getpass.3:40
#, no-wrap
msgid "Since glibc 2.2.2:"
msgstr ""

#. type: Plain text
#: build/C/man3/getpass.3:47
#, no-wrap
msgid ""
"_BSD_SOURCE ||\n"
"    (_XOPEN_SOURCE\\ E<gt>=\\ 500 ||\n"
"        _XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_EXTENDED) &&\n"
"    !(_POSIX_C_SOURCE\\ E<gt>=\\ 200112L || _XOPEN_SOURCE\\ E<gt>=\\ 600)\n"
msgstr ""

#. type: Plain text
#: build/C/man3/getpass.3:50
msgid "Before glibc 2.2.2: none"
msgstr ""

#. type: SH
#: build/C/man3/getpass.3:53 build/C/man3/getpt.3:15 build/C/man3/getttyent.3:17 build/C/man3/grantpt.3:15 build/C/man3/isatty.3:33 build/C/man3/openpty.3:53 build/C/man3/posix_openpt.3:45 build/C/man4/pts.4:9 build/C/man3/ptsname.3:23 build/C/man7/pty.7:28 build/C/man5/securetty.5:28 build/C/man3/tcgetsid.3:32 build/C/man5/termcap.5:33 build/C/man7/termio.7:28 build/C/man3/termios.3:86 build/C/man4/tty.4:30 build/C/man4/tty_ioctl.4:12 build/C/man3/ttyname.3:37 build/C/man3/ttyslot.3:49 build/C/man5/ttytype.5:31 build/C/man3/unlockpt.3:15
#, no-wrap
msgid "DESCRIPTION"
msgstr ""

#. type: Plain text
#: build/C/man3/getpass.3:56
msgid "This function is obsolete.  Do not use it."
msgstr ""

#. type: Plain text
#: build/C/man3/getpass.3:67
msgid ""
"The B<getpass>()  function opens I</dev/tty> (the controlling terminal of "
"the process), outputs the string I<prompt>, turns off echoing, reads one "
"line (the \"password\"), restores the terminal state and closes I</dev/tty> "
"again."
msgstr ""

#. type: SH
#: build/C/man3/getpass.3:67 build/C/man3/getpt.3:26 build/C/man3/grantpt.3:30 build/C/man3/isatty.3:39 build/C/man3/openpty.3:111 build/C/man3/posix_openpt.3:62 build/C/man3/ptsname.3:41 build/C/man3/tcgetsid.3:40 build/C/man3/termios.3:906 build/C/man4/tty_ioctl.4:431 build/C/man3/ttyname.3:51 build/C/man3/ttyslot.3:115 build/C/man3/unlockpt.3:24
#, no-wrap
msgid "RETURN VALUE"
msgstr ""

#. type: Plain text
#: build/C/man3/getpass.3:78
msgid ""
"The function B<getpass>()  returns a pointer to a static buffer containing "
"(the first B<PASS_MAX> bytes of) the password without the trailing newline, "
"terminated by a null byte (\\(aq\\e0\\(aq).  This buffer may be overwritten "
"by a following call.  On error, the terminal state is restored, I<errno> is "
"set appropriately, and NULL is returned."
msgstr ""

#. type: SH
#: build/C/man3/getpass.3:78 build/C/man3/getpt.3:33 build/C/man3/grantpt.3:37 build/C/man3/isatty.3:47 build/C/man3/openpty.3:128 build/C/man3/posix_openpt.3:70 build/C/man3/ptsname.3:58 build/C/man3/tcgetsid.3:50 build/C/man4/tty_ioctl.4:438 build/C/man3/ttyname.3:61 build/C/man3/unlockpt.3:31
#, no-wrap
msgid "ERRORS"
msgstr ""

#. type: Plain text
#: build/C/man3/getpass.3:80
msgid "The function may fail if"
msgstr ""

#. type: TP
#: build/C/man3/getpass.3:80
#, no-wrap
msgid "B<ENXIO>"
msgstr ""

#. type: Plain text
#: build/C/man3/getpass.3:83
msgid "The process does not have a controlling terminal."
msgstr ""

#. type: SH
#: build/C/man3/getpass.3:83 build/C/man4/pts.4:52 build/C/man7/pty.7:124 build/C/man5/securetty.5:40 build/C/man4/tty.4:63 build/C/man5/ttytype.5:50
#, no-wrap
msgid "FILES"
msgstr ""

#.  .SH HISTORY
#.  A
#.  .BR getpass ()
#.  function appeared in Version 7 AT&T UNIX.
#. type: Plain text
#: build/C/man3/getpass.3:89
msgid "I</dev/tty>"
msgstr ""

#. type: SH
#: build/C/man3/getpass.3:89 build/C/man3/getpt.3:40 build/C/man3/getttyent.3:69 build/C/man3/grantpt.3:54 build/C/man3/isatty.3:60 build/C/man3/openpty.3:148 build/C/man3/posix_openpt.3:77 build/C/man3/ptsname.3:78 build/C/man3/tcgetsid.3:63 build/C/man3/termios.3:932 build/C/man3/ttyname.3:73 build/C/man3/ttyslot.3:121 build/C/man3/unlockpt.3:45
#, no-wrap
msgid "CONFORMING TO"
msgstr ""

#. type: Plain text
#: build/C/man3/getpass.3:92
msgid "Present in SUSv2, but marked LEGACY.  Removed in POSIX.1-2001."
msgstr ""

#. type: SH
#: build/C/man3/getpass.3:92 build/C/man3/getttyent.3:72 build/C/man3/grantpt.3:56 build/C/man3/openpty.3:151 build/C/man3/posix_openpt.3:82 build/C/man4/pts.4:55 build/C/man7/pty.7:136 build/C/man3/tcgetsid.3:65 build/C/man3/termios.3:950 build/C/man3/ttyslot.3:124
#, no-wrap
msgid "NOTES"
msgstr ""

#. type: Plain text
#: build/C/man3/getpass.3:113
msgid ""
"For libc4 and libc5, the prompt is not written to I</dev/tty> but to "
"I<stderr>.  Moreover, if I</dev/tty> cannot be opened, the password is read "
"from I<stdin>.  The static buffer has length 128 so that only the first 127 "
"bytes of the password are returned.  While reading the password, signal "
"generation (B<SIGINT>, B<SIGQUIT>, B<SIGSTOP>, B<SIGTSTP>)  is disabled and "
"the corresponding characters (usually control-C, control-\\e, control-Z and "
"control-Y)  are transmitted as part of the password.  Since libc 5.4.19 also "
"line editing is disabled, so that also backspace and the like will be seen "
"as part of the password."
msgstr ""

#. type: Plain text
#: build/C/man3/getpass.3:122
msgid ""
"For glibc2, if I</dev/tty> cannot be opened, the prompt is written to "
"I<stderr> and the password is read from I<stdin>.  There is no limit on the "
"length of the password.  Line editing is not disabled."
msgstr ""

#. type: Plain text
#: build/C/man3/getpass.3:144
msgid ""
"According to the SUSv2, the value of B<PASS_MAX> must be defined in "
"I<E<lt>limits.hE<gt>> in case it is smaller than 8, and can in any case be "
"obtained using I<sysconf(_SC_PASS_MAX)>.  However, POSIX.2 withdraws the "
"constants B<PASS_MAX> and B<_SC_PASS_MAX>, and the function B<getpass>().  "
"Libc4 and libc5 have never supported B<PASS_MAX> or B<_SC_PASS_MAX>.  Glibc2 "
"accepts B<_SC_PASS_MAX> and returns B<BUFSIZ> (e.g., 8192)."
msgstr ""

#. type: SH
#: build/C/man3/getpass.3:144 build/C/man3/openpty.3:166
#, no-wrap
msgid "BUGS"
msgstr ""

#. type: Plain text
#: build/C/man3/getpass.3:147
msgid ""
"The calling process should zero the password as soon as possible to avoid "
"leaving the cleartext password visible in the process's address space."
msgstr ""

#. type: SH
#: build/C/man3/getpass.3:147 build/C/man3/getpt.3:46 build/C/man3/getttyent.3:76 build/C/man3/grantpt.3:62 build/C/man3/isatty.3:62 build/C/man3/openpty.3:176 build/C/man3/posix_openpt.3:106 build/C/man4/pts.4:67 build/C/man3/ptsname.3:91 build/C/man7/pty.7:152 build/C/man5/securetty.5:42 build/C/man3/tcgetsid.3:71 build/C/man5/termcap.5:469 build/C/man7/termio.7:57 build/C/man3/termios.3:977 build/C/man4/tty.4:65 build/C/man4/tty_ioctl.4:474 build/C/man3/ttyname.3:75 build/C/man3/ttyslot.3:144 build/C/man5/ttytype.5:64 build/C/man3/unlockpt.3:47
#, no-wrap
msgid "SEE ALSO"
msgstr ""

#. type: Plain text
#: build/C/man3/getpass.3:149
msgid "B<crypt>(3)"
msgstr ""

#. type: SH
#: build/C/man3/getpass.3:149 build/C/man3/getpt.3:53 build/C/man3/getttyent.3:79 build/C/man3/grantpt.3:69 build/C/man3/isatty.3:65 build/C/man3/openpty.3:180 build/C/man3/posix_openpt.3:114 build/C/man4/pts.4:73 build/C/man3/ptsname.3:98 build/C/man7/pty.7:161 build/C/man5/securetty.5:45 build/C/man3/tcgetsid.3:73 build/C/man5/termcap.5:473 build/C/man7/termio.7:60 build/C/man3/termios.3:982 build/C/man4/tty.4:75 build/C/man4/tty_ioctl.4:493 build/C/man3/ttyname.3:78 build/C/man3/ttyslot.3:148 build/C/man5/ttytype.5:69 build/C/man3/unlockpt.3:53
#, no-wrap
msgid "COLOPHON"
msgstr ""

#. type: Plain text
#: build/C/man3/getpass.3:156 build/C/man3/getpt.3:60 build/C/man3/getttyent.3:86 build/C/man3/grantpt.3:76 build/C/man3/isatty.3:72 build/C/man3/openpty.3:187 build/C/man3/posix_openpt.3:121 build/C/man4/pts.4:80 build/C/man3/ptsname.3:105 build/C/man7/pty.7:168 build/C/man5/securetty.5:52 build/C/man3/tcgetsid.3:80 build/C/man5/termcap.5:480 build/C/man7/termio.7:67 build/C/man3/termios.3:989 build/C/man4/tty.4:82 build/C/man4/tty_ioctl.4:500 build/C/man3/ttyname.3:85 build/C/man3/ttyslot.3:155 build/C/man5/ttytype.5:76 build/C/man3/unlockpt.3:60
msgid ""
"This page is part of release 3.40 of the Linux I<man-pages> project.  A "
"description of the project, and information about reporting bugs, can be "
"found at http://www.kernel.org/doc/man-pages/."
msgstr ""

#. type: TH
#: build/C/man3/getpt.3:5
#, no-wrap
msgid "GETPT"
msgstr ""

#. type: TH
#: build/C/man3/getpt.3:5 build/C/man3/tcgetsid.3:23
#, no-wrap
msgid "2010-09-10"
msgstr ""

#. type: TH
#: build/C/man3/getpt.3:5 build/C/man3/getttyent.3:4 build/C/man3/grantpt.3:4 build/C/man3/openpty.3:32 build/C/man3/tcgetsid.3:23 build/C/man3/ttyslot.3:26
#, no-wrap
msgid "GNU"
msgstr ""

#. type: Plain text
#: build/C/man3/getpt.3:8
msgid "getpt - open the pseudoterminal master (PTM)"
msgstr ""

#. type: Plain text
#: build/C/man3/getpt.3:12
#, no-wrap
msgid ""
"B<#define _GNU_SOURCE>             /* See feature_test_macros(7) */\n"
"B<#include E<lt>stdlib.hE<gt>>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/getpt.3:14
#, no-wrap
msgid "B<int getpt(void);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/getpt.3:19
msgid ""
"B<getpt>()  opens a pseudoterminal master and returns its file descriptor.  "
"It is equivalent to"
msgstr ""

#. type: Plain text
#: build/C/man3/getpt.3:22
#, no-wrap
msgid "    open(/dev/ptmx, O_RDWR | O_NOCTTY);\n"
msgstr ""

#. type: Plain text
#: build/C/man3/getpt.3:26
msgid ""
"on Linux systems, though the pseudoterminal master is located elsewhere on "
"some systems that use GNU Libc."
msgstr ""

#. type: Plain text
#: build/C/man3/getpt.3:33
msgid ""
"B<getpt>()  returns an open file descriptor upon successful completion.  "
"Otherwise, it returns -1 and sets I<errno> to indicate the error."
msgstr ""

#. type: Plain text
#: build/C/man3/getpt.3:37
msgid "B<getpt>()  can fail with various errors described in B<open>(2)."
msgstr ""

#. type: SH
#: build/C/man3/getpt.3:37 build/C/man3/grantpt.3:51 build/C/man3/posix_openpt.3:73 build/C/man3/ptsname.3:75 build/C/man3/tcgetsid.3:60 build/C/man3/unlockpt.3:42
#, no-wrap
msgid "VERSIONS"
msgstr ""

#. type: Plain text
#: build/C/man3/getpt.3:40
msgid "B<getpt>()  is provided in glibc since version 2.1."
msgstr ""

#. type: Plain text
#: build/C/man3/getpt.3:46
msgid "B<getpt>()  is glibc-specific; use B<posix_openpt>(3)  instead."
msgstr ""

#. type: Plain text
#: build/C/man3/getpt.3:53
msgid ""
"B<grantpt>(3), B<posix_openpt>(3), B<ptsname>(3), B<unlockpt>(3), "
"B<ptmx>(4), B<pty>(7)"
msgstr ""

#. type: TH
#: build/C/man3/getttyent.3:4
#, no-wrap
msgid "GETTTYENT"
msgstr ""

#. type: TH
#: build/C/man3/getttyent.3:4
#, no-wrap
msgid "2002-07-18"
msgstr ""

#. type: Plain text
#: build/C/man3/getttyent.3:7
msgid "getttyent, getttynam, setttyent, endttyent - get ttys file entry"
msgstr ""

#. type: Plain text
#: build/C/man3/getttyent.3:9
msgid "B<#include E<lt>ttyent.hE<gt>>"
msgstr ""

#. type: Plain text
#: build/C/man3/getttyent.3:11
msgid "B<struct ttyent *getttyent(void);>"
msgstr ""

#. type: Plain text
#: build/C/man3/getttyent.3:13
msgid "B<struct ttyent *getttynam(const char *>I<name>B<);>"
msgstr ""

#. type: Plain text
#: build/C/man3/getttyent.3:15
msgid "B<int setttyent(void);>"
msgstr ""

#. type: Plain text
#: build/C/man3/getttyent.3:17
msgid "B<int endttyent(void);>"
msgstr ""

#. type: Plain text
#: build/C/man3/getttyent.3:22
msgid ""
"These functions provide an interface to the file B<_PATH_TTYS> (e.g., "
"I</etc/ttys>)."
msgstr ""

#. type: Plain text
#: build/C/man3/getttyent.3:26
msgid "The function B<setttyent>()  opens the file or rewinds it if already open."
msgstr ""

#. type: Plain text
#: build/C/man3/getttyent.3:30
msgid "The function B<endttyent>()  closes the file."
msgstr ""

#. type: Plain text
#: build/C/man3/getttyent.3:37
msgid ""
"The function B<getttynam>()  searches for a given ttyname in the file.  It "
"returns a pointer to a I<ttyent> structure (description below)."
msgstr ""

#. type: Plain text
#: build/C/man3/getttyent.3:47
msgid ""
"The function B<getttyent>()  opens the file B<_PATH_TTYS> (if necessary) and "
"returns the first entry.  If the file is already open, the next entry.  The "
"I<ttyent> structure has the form:"
msgstr ""

#. type: Plain text
#: build/C/man3/getttyent.3:58
#, no-wrap
msgid ""
"struct ttyent {\n"
"    char *ty_name;     /* terminal device name */\n"
"    char *ty_getty;    /* command to execute, usually getty */\n"
"    char *ty_type;     /* terminal type for termcap */\n"
"    int   ty_status;   /* status flags */\n"
"    char *ty_window;   /* command to start up window manager */\n"
"    char *ty_comment;  /* comment field */\n"
"};\n"
msgstr ""

#. type: Plain text
#: build/C/man3/getttyent.3:63
msgid "I<ty_status> can be:"
msgstr ""

#. type: Plain text
#: build/C/man3/getttyent.3:68
#, no-wrap
msgid ""
"#define TTY_ON     0x01  /* enable logins (start ty_getty program) */\n"
"#define TTY_SECURE 0x02  /* allow UID 0 to login */\n"
msgstr ""

#. type: Plain text
#: build/C/man3/getttyent.3:72
msgid "Not in POSIX.1-2001.  Present on the BSDs, and perhaps other systems."
msgstr ""

#. type: Plain text
#: build/C/man3/getttyent.3:76
msgid ""
"Under Linux the file I</etc/ttys>, and the functions described above, are "
"not used."
msgstr ""

#. type: Plain text
#: build/C/man3/getttyent.3:79
msgid "B<ttyname>(3), B<ttyslot>(3)"
msgstr ""

#. type: TH
#: build/C/man3/grantpt.3:4
#, no-wrap
msgid "GRANTPT"
msgstr ""

#. type: TH
#: build/C/man3/grantpt.3:4 build/C/man3/unlockpt.3:4
#, no-wrap
msgid "2008-06-14"
msgstr ""

#. type: Plain text
#: build/C/man3/grantpt.3:7
msgid "grantpt - grant access to the slave pseudoterminal"
msgstr ""

#. type: Plain text
#: build/C/man3/grantpt.3:10 build/C/man3/ptsname.3:12 build/C/man3/unlockpt.3:10
#, no-wrap
msgid "B<#define _XOPEN_SOURCE>       /* See feature_test_macros(7) */\n"
msgstr ""

#. type: Plain text
#: build/C/man3/grantpt.3:12 build/C/man3/ptsname.3:14 build/C/man3/ptsname.3:20 build/C/man3/unlockpt.3:12
#, no-wrap
msgid "B<#include E<lt>stdlib.hE<gt>>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/grantpt.3:14
#, no-wrap
msgid "B<int grantpt(int >I<fd>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/grantpt.3:24
msgid ""
"The B<grantpt>()  function changes the mode and owner of the slave "
"pseudoterminal device corresponding to the master pseudoterminal referred to "
"by I<fd>.  The user ID of the slave is set to the real UID of the calling "
"process.  The group ID is set to an unspecified value (e.g., I<tty>).  The "
"mode of the slave is set to 0620 (crw--w----)."
msgstr ""

#. type: Plain text
#: build/C/man3/grantpt.3:30
msgid ""
"The behavior of B<grantpt>()  is unspecified if a signal handler is "
"installed to catch B<SIGCHLD> signals."
msgstr ""

#. type: Plain text
#: build/C/man3/grantpt.3:37
msgid ""
"When successful, B<grantpt>()  returns 0.  Otherwise, it returns -1 and sets "
"I<errno> appropriately."
msgstr ""

#. type: TP
#: build/C/man3/grantpt.3:38
#, no-wrap
msgid "B<EACCES>"
msgstr ""

#. type: Plain text
#: build/C/man3/grantpt.3:41
msgid "The corresponding slave pseudoterminal could not be accessed."
msgstr ""

#. type: TP
#: build/C/man3/grantpt.3:41 build/C/man3/isatty.3:48 build/C/man3/tcgetsid.3:51 build/C/man3/ttyname.3:63 build/C/man3/unlockpt.3:32
#, no-wrap
msgid "B<EBADF>"
msgstr ""

#. type: Plain text
#: build/C/man3/grantpt.3:46
msgid "The I<fd> argument is not a valid open file descriptor."
msgstr ""

#. type: TP
#: build/C/man3/grantpt.3:46 build/C/man3/isatty.3:52 build/C/man3/ptsname.3:59 build/C/man4/tty_ioctl.4:439 build/C/man3/unlockpt.3:37
#, no-wrap
msgid "B<EINVAL>"
msgstr ""

#. type: Plain text
#: build/C/man3/grantpt.3:51
msgid "The I<fd> argument is valid but not associated with a master pseudoterminal."
msgstr ""

#. type: Plain text
#: build/C/man3/grantpt.3:54
msgid "B<grantpt>()  is provided in glibc since version 2.1."
msgstr ""

#. type: Plain text
#: build/C/man3/grantpt.3:56 build/C/man3/tcgetsid.3:65 build/C/man3/unlockpt.3:47
msgid "POSIX.1-2001."
msgstr ""

#. type: Plain text
#: build/C/man3/grantpt.3:62
msgid ""
"This is part of the UNIX 98 pseudoterminal support, see B<pts>(4).  Many "
"systems implement this function via a set-user-ID helper binary called "
"\"pt_chown\".  With Linux devpts no such helper binary is required."
msgstr ""

#. type: Plain text
#: build/C/man3/grantpt.3:69
msgid ""
"B<open>(2), B<posix_openpt>(3), B<ptsname>(3), B<unlockpt>(3), B<pts>(4), "
"B<pty>(7)"
msgstr ""

#. type: TH
#: build/C/man3/isatty.3:24
#, no-wrap
msgid "ISATTY"
msgstr ""

#. type: TH
#: build/C/man3/isatty.3:24
#, no-wrap
msgid "2008-12-03"
msgstr ""

#. type: Plain text
#: build/C/man3/isatty.3:27
msgid "isatty - test whether a file descriptor refers to a terminal"
msgstr ""

#. type: Plain text
#: build/C/man3/isatty.3:30 build/C/man3/termios.3:51 build/C/man3/ttyname.3:32
#, no-wrap
msgid "B<#include E<lt>unistd.hE<gt>>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/isatty.3:32
#, no-wrap
msgid "B<int isatty(int >I<fd>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/isatty.3:39
msgid ""
"The B<isatty>()  function tests whether I<fd> is an open file descriptor "
"referring to a terminal."
msgstr ""

#. type: Plain text
#: build/C/man3/isatty.3:47
msgid ""
"B<isatty>()  returns 1 if I<fd> is an open file descriptor referring to a "
"terminal; otherwise 0 is returned, and I<errno> is set to indicate the "
"error."
msgstr ""

#. type: Plain text
#: build/C/man3/isatty.3:52 build/C/man3/tcgetsid.3:55
msgid "I<fd> is not a valid file descriptor."
msgstr ""

#.  FIXME File a bug for this?
#. type: Plain text
#: build/C/man3/isatty.3:60
msgid ""
"I<fd> refers to a file other than a terminal.  POSIX.1-2001 specifies the "
"error B<ENOTTY> for this case."
msgstr ""

#. type: Plain text
#: build/C/man3/isatty.3:62
msgid "SVr4, 4.3BSD, POSIX.1-2001."
msgstr ""

#. type: Plain text
#: build/C/man3/isatty.3:65
msgid "B<fstat>(2), B<ttyname>(3)"
msgstr ""

#. type: TH
#: build/C/man3/openpty.3:32
#, no-wrap
msgid "OPENPTY"
msgstr ""

#. type: TH
#: build/C/man3/openpty.3:32
#, no-wrap
msgid "2010-06-13"
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:35
msgid "openpty, login_tty, forkpty - tty utility functions"
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:38
#, no-wrap
msgid "B<#include E<lt>pty.hE<gt>>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:42
#, no-wrap
msgid ""
"B<int openpty(int *>I<amaster>B<, int *>I<aslave>B<, char *>I<name>B<,>\n"
"B<            const struct termios *>I<termp>B<,>\n"
"B<            const struct winsize *>I<winp>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:46
#, no-wrap
msgid ""
"B<pid_t forkpty(int *>I<amaster>B<, char *>I<name>B<,>\n"
"B<              const struct termios *>I<termp>B<,>\n"
"B<              const struct winsize *>I<winp>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:48
#, no-wrap
msgid "B<#include E<lt>utmp.hE<gt>>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:50
#, no-wrap
msgid "B<int login_tty(int >I<fd>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:52
#, no-wrap
msgid "Link with I<-lutil>.\n"
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:74
msgid ""
"The B<openpty>()  function finds an available pseudoterminal and returns "
"file descriptors for the master and slave in I<amaster> and I<aslave>.  If "
"I<name> is not NULL, the filename of the slave is returned in I<name>.  If "
"I<termp> is not NULL, the terminal parameters of the slave will be set to "
"the values in I<termp>.  If I<winp> is not NULL, the window size of the "
"slave will be set to the values in I<winp>."
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:89
msgid ""
"The B<login_tty>()  function prepares for a login on the tty I<fd> (which "
"may be a real tty device, or the slave of a pseudoterminal as returned by "
"B<openpty>())  by creating a new session, making I<fd> the controlling "
"terminal for the calling process, setting I<fd> to be the standard input, "
"output, and error streams of the current process, and closing I<fd>."
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:111
msgid ""
"The B<forkpty>()  function combines B<openpty>(), B<fork>(2), and "
"B<login_tty>()  to create a new process operating in a pseudoterminal.  The "
"file descriptor of the master side of the pseudoterminal is returned in "
"I<amaster>, and the filename of the slave in I<name> if it is not NULL.  The "
"I<termp> and I<winp> arguments, if not NULL, will determine the terminal "
"attributes and window size of the slave side of the pseudoterminal."
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:128
msgid ""
"If a call to B<openpty>(), B<login_tty>(), or B<forkpty>()  is not "
"successful, -1 is returned and I<errno> is set to indicate the error.  "
"Otherwise, B<openpty>(), B<login_tty>(), and the child process of "
"B<forkpty>()  return 0, and the parent process of B<forkpty>()  returns the "
"process ID of the child process."
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:131
msgid "B<openpty>()  will fail if:"
msgstr ""

#. type: TP
#: build/C/man3/openpty.3:131
#, no-wrap
msgid "B<ENOENT>"
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:134
msgid "There are no available ttys."
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:141
msgid ""
"B<login_tty>()  will fail if B<ioctl>(2)  fails to set I<fd> to the "
"controlling terminal of the calling process."
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:148
msgid "B<forkpty>()  will fail if either B<openpty>()  or B<fork>(2)  fails."
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:151
msgid ""
"These are BSD functions, present in libc5 and glibc2.  They are not "
"standardized in POSIX."
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:159
msgid ""
"The B<const> modifiers were added to the structure pointer arguments of "
"B<openpty>()  and B<forkpty>()  in glibc 2.8."
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:166
msgid ""
"In versions of glibc before 2.0.92, B<openpty>()  returns file descriptors "
"for a BSD pseudoterminal pair; since glibc 2.0.92, it first attempts to open "
"a UNIX 98 pseudoterminal pair, and falls back to opening a BSD "
"pseudoterminal pair if that fails."
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:176
msgid ""
"Nobody knows how much space should be reserved for I<name>.  So, calling "
"B<openpty>()  or B<forkpty>()  with non-NULL I<name> may not be secure."
msgstr ""

#. type: Plain text
#: build/C/man3/openpty.3:180
msgid "B<fork>(2), B<ttyname>(3), B<pty>(7)"
msgstr ""

#. type: TH
#: build/C/man3/posix_openpt.3:25
#, no-wrap
msgid "POSIX_OPENPT"
msgstr ""

#. type: TH
#: build/C/man3/posix_openpt.3:25
#, no-wrap
msgid "2012-04-20"
msgstr ""

#. type: Plain text
#: build/C/man3/posix_openpt.3:28
msgid "posix_openpt - open a pseudoterminal device"
msgstr ""

#. type: Plain text
#: build/C/man3/posix_openpt.3:32
#, no-wrap
msgid ""
"B<#include E<lt>stdlib.hE<gt>>\n"
"B<#include E<lt>fcntl.hE<gt>>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/posix_openpt.3:34
#, no-wrap
msgid "B<int posix_openpt(int >I<flags>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/posix_openpt.3:44
msgid "B<posix_openpt>(): _XOPEN_SOURCE\\ E<gt>=\\ 600"
msgstr ""

#. type: Plain text
#: build/C/man3/posix_openpt.3:50
msgid ""
"The B<posix_openpt>()  function opens an unused pseudoterminal master "
"device, returning a file descriptor that can be used to refer to that "
"device."
msgstr ""

#. type: Plain text
#: build/C/man3/posix_openpt.3:55
msgid ""
"The I<flags> argument is a bit mask that ORs together zero or more of the "
"following flags:"
msgstr ""

#. type: TP
#: build/C/man3/posix_openpt.3:55
#, no-wrap
msgid "B<O_RDWR>"
msgstr ""

#. type: Plain text
#: build/C/man3/posix_openpt.3:59
msgid ""
"Open the device for both reading and writing.  It is usual to specify this "
"flag."
msgstr ""

#. type: TP
#: build/C/man3/posix_openpt.3:59
#, no-wrap
msgid "B<O_NOCTTY>"
msgstr ""

#. type: Plain text
#: build/C/man3/posix_openpt.3:62
msgid "Do not make this device the controlling terminal for the process."
msgstr ""

#. type: Plain text
#: build/C/man3/posix_openpt.3:70
msgid ""
"On success, B<posix_openpt>()  returns a nonnegative file descriptor which "
"is the lowest numbered unused descriptor.  On failure, -1 is returned, and "
"I<errno> is set to indicate the error."
msgstr ""

#. type: Plain text
#: build/C/man3/posix_openpt.3:73
msgid "See B<open>(2)."
msgstr ""

#. type: Plain text
#: build/C/man3/posix_openpt.3:77
msgid "Glibc support for B<posix_openpt>()  has been provided since version 2.2.1."
msgstr ""

#. type: Plain text
#: build/C/man3/posix_openpt.3:82
msgid ""
"B<posix_openpt>()  is part of the UNIX 98 pseudoterminal support (see "
"B<pts>(4)).  This function is specified in POSIX.1-2001."
msgstr ""

#. type: Plain text
#: build/C/man3/posix_openpt.3:89
msgid ""
"The B<posix_openpt>()  function is a recent invention in POSIX.  Some UNIX "
"implementations that support System V (aka UNIX 98) pseudoterminals don't "
"have this function, but it is easy to implement:"
msgstr ""

#. type: Plain text
#: build/C/man3/posix_openpt.3:97
#, no-wrap
msgid ""
"int\n"
"posix_openpt(int flags)\n"
"{\n"
"    return open(\"/dev/ptmx\", flags);\n"
"}\n"
msgstr ""

#. type: Plain text
#: build/C/man3/posix_openpt.3:106
msgid ""
"Calling B<posix_openpt>()  creates a pathname for the corresponding "
"pseudoterminal slave device.  The pathname of the slave device can be "
"obtained using B<ptsname>(3).  The slave device pathname exists only as long "
"as the master device is open."
msgstr ""

#. type: Plain text
#: build/C/man3/posix_openpt.3:114
msgid ""
"B<open>(2), B<getpt>(3), B<grantpt>(3), B<ptsname>(3), B<unlockpt>(3), "
"B<pts>(4), B<pty>(7)"
msgstr ""

#. type: TH
#: build/C/man4/pts.4:6
#, no-wrap
msgid "PTS"
msgstr ""

#. type: TH
#: build/C/man4/pts.4:6
#, no-wrap
msgid "2002-10-09"
msgstr ""

#. type: Plain text
#: build/C/man4/pts.4:9
msgid "ptmx, pts - pseudoterminal master and slave"
msgstr ""

#. type: Plain text
#: build/C/man4/pts.4:13
msgid ""
"The file I</dev/ptmx> is a character file with major number 5 and minor "
"number 2, usually of mode 0666 and owner.group of root.root.  It is used to "
"create a pseudoterminal master and slave pair."
msgstr ""

#. type: Plain text
#: build/C/man4/pts.4:23
msgid ""
"When a process opens I</dev/ptmx>, it gets a file descriptor for a "
"pseudoterminal master (PTM), and a pseudoterminal slave (PTS) device is "
"created in the I</dev/pts> directory.  Each file descriptor obtained by "
"opening I</dev/ptmx> is an independent PTM with its own associated PTS, "
"whose path can be found by passing the descriptor to B<ptsname>(3)."
msgstr ""

#. type: Plain text
#: build/C/man4/pts.4:29
msgid ""
"Before opening the pseudoterminal slave, you must pass the master's file "
"descriptor to B<grantpt>(3)  and B<unlockpt>(3)."
msgstr ""

#. type: Plain text
#: build/C/man4/pts.4:32
msgid ""
"Once both the pseudoterminal master and slave are open, the slave provides "
"processes with an interface that is identical to that of a real terminal."
msgstr ""

#. type: Plain text
#: build/C/man4/pts.4:35
msgid ""
"Data written to the slave is presented on the master descriptor as input.  "
"Data written to the master is presented to the slave as input."
msgstr ""

#. type: Plain text
#: build/C/man4/pts.4:46
msgid ""
"In practice, pseudoterminals are used for implementing terminal emulators "
"such as B<xterm>(1), in which data read from the pseudoterminal master is "
"interpreted by the application in the same way a real terminal would "
"interpret the data, and for implementing remote-login programs such as "
"B<sshd>(8), in which data read from the pseudoterminal master is sent across "
"the network to a client program that is connected to a terminal or terminal "
"emulator."
msgstr ""

#. type: Plain text
#: build/C/man4/pts.4:52
msgid ""
"Psuedoterminals can also be used to send input to programs that normally "
"refuse to read input from pipes (such as B<su>(1), and B<passwd>(1))."
msgstr ""

#. type: Plain text
#: build/C/man4/pts.4:55
msgid "I</dev/ptmx>, I</dev/pts/*>"
msgstr ""

#. type: Plain text
#: build/C/man4/pts.4:61
msgid ""
"The Linux support for the above (known as UNIX 98 pseudoterminal naming)  is "
"done using the I<devpts> file system, that should be mounted on I</dev/pts>."
msgstr ""

#. type: Plain text
#: build/C/man4/pts.4:67
msgid ""
"Before this UNIX 98 scheme, master pseudoterminals were called "
"I</dev/ptyp0>, ...  and slave pseudoterminals I</dev/ttyp0>, ...  and one "
"needed lots of preallocated device nodes."
msgstr ""

#. type: Plain text
#: build/C/man4/pts.4:73
msgid "B<getpt>(3), B<grantpt>(3), B<ptsname>(3), B<unlockpt>(3), B<pty>(7)"
msgstr ""

#. type: TH
#: build/C/man3/ptsname.3:6
#, no-wrap
msgid "PTSNAME"
msgstr ""

#. type: TH
#: build/C/man3/ptsname.3:6
#, no-wrap
msgid "2008-09-03"
msgstr ""

#. type: Plain text
#: build/C/man3/ptsname.3:9
msgid "ptsname, ptsname_r - get the name of the slave pseudoterminal"
msgstr ""

#. type: Plain text
#: build/C/man3/ptsname.3:16
#, no-wrap
msgid "B<char *ptsname(int >I<fd>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/ptsname.3:18
#, no-wrap
msgid "B<#define _GNU_SOURCE>         /* See feature_test_macros(7) */\n"
msgstr ""

#. type: Plain text
#: build/C/man3/ptsname.3:22
#, no-wrap
msgid "B<int ptsname_r(int >I<fd>B<, char *>I<buf>B<, size_t >I<buflen>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/ptsname.3:29
msgid ""
"The B<ptsname>()  function returns the name of the slave pseudoterminal "
"device corresponding to the master referred to by I<fd>."
msgstr ""

#. type: Plain text
#: build/C/man3/ptsname.3:41
msgid ""
"The B<ptsname_r>()  function is the reentrant equivalent of B<ptsname>().  "
"It returns the name of the slave pseudoterminal device as a null-terminated "
"string in the buffer pointed to by I<buf>.  The I<buflen> argument specifies "
"the number of bytes available in I<buf>."
msgstr ""

#. type: Plain text
#: build/C/man3/ptsname.3:48
msgid ""
"On success, B<ptsname>()  returns a pointer to a string in static storage "
"which will be overwritten by subsequent calls.  This pointer must not be "
"freed.  On failure, a NULL pointer is returned."
msgstr ""

#.  In fact the errno value is also returned as the function
#.  result -- MTK, Dec 04
#. type: Plain text
#: build/C/man3/ptsname.3:58
msgid ""
"On success, B<ptsname_r>()  returns 0.  On failure, a nonzero value is "
"returned and I<errno> is set to indicate the error."
msgstr ""

#. type: Plain text
#: build/C/man3/ptsname.3:65
msgid "(B<ptsname_r>()  only)  I<buf> is NULL."
msgstr ""

#. type: TP
#: build/C/man3/ptsname.3:65 build/C/man3/tcgetsid.3:55 build/C/man4/tty_ioctl.4:445 build/C/man3/ttyname.3:66
#, no-wrap
msgid "B<ENOTTY>"
msgstr ""

#. type: Plain text
#: build/C/man3/ptsname.3:69
msgid "I<fd> does not refer to a pseudoterminal master device."
msgstr ""

#. type: TP
#: build/C/man3/ptsname.3:69 build/C/man3/ttyname.3:69
#, no-wrap
msgid "B<ERANGE>"
msgstr ""

#. type: Plain text
#: build/C/man3/ptsname.3:75
msgid "(B<ptsname_r>()  only)  I<buf> is too small."
msgstr ""

#. type: Plain text
#: build/C/man3/ptsname.3:78
msgid "B<ptsname>()  is provided in glibc since version 2.1."
msgstr ""

#. type: Plain text
#: build/C/man3/ptsname.3:83
msgid ""
"B<ptsname>()  is part of the UNIX 98 pseudoterminal support (see "
"B<pts>(4)).  This function is specified in POSIX.1-2001."
msgstr ""

#. type: Plain text
#: build/C/man3/ptsname.3:91
msgid ""
"B<ptsname_r>()  is a Linux extension.  A version of this function is "
"documented on Tru64 and HP-UX, but on those implementations, -1 is returned "
"on error, with I<errno> set to indicate the error.  Avoid using this "
"function in portable programs."
msgstr ""

#. type: Plain text
#: build/C/man3/ptsname.3:98
msgid ""
"B<grantpt>(3), B<posix_openpt>(3), B<ttyname>(3), B<unlockpt>(3), B<pts>(4), "
"B<pty>(7)"
msgstr ""

#. type: TH
#: build/C/man7/pty.7:25
#, no-wrap
msgid "PTY"
msgstr ""

#. type: TH
#: build/C/man7/pty.7:25
#, no-wrap
msgid "2005-10-10"
msgstr ""

#. type: Plain text
#: build/C/man7/pty.7:28
msgid "pty - pseudoterminal interfaces"
msgstr ""

#. type: Plain text
#: build/C/man7/pty.7:58
msgid ""
"A pseudoterminal (sometimes abbreviated \"pty\")  is a pair of virtual "
"character devices that provide a bidirectional communication channel.  One "
"end of the channel is called the I<master>; the other end is called the "
"I<slave>.  The slave end of the pseudoterminal provides an interface that "
"behaves exactly like a classical terminal.  A process that expects to be "
"connected to a terminal, can open the slave end of a pseudoterminal and then "
"be driven by a program that has opened the master end.  Anything that is "
"written on the master end is provided to the process on the slave end as "
"though it was input typed on a terminal.  For example, writing the interrupt "
"character (usually control-C)  to the master device would cause an interrupt "
"signal (B<SIGINT>)  to be generated for the foreground process group that is "
"connected to the slave.  Conversely, anything that is written to the slave "
"end of the pseudoterminal can be read by the process that is connected to "
"the master end.  Psuedoterminals are used by applications such as network "
"login services (B<ssh>(1), B<rlogin>(1), B<telnet>(1)), terminal emulators, "
"B<script>(1), B<screen>(1), and B<expect>(1)."
msgstr ""

#. type: Plain text
#: build/C/man7/pty.7:63
msgid ""
"Historically, two pseudoterminal APIs have evolved: BSD and System V.  SUSv1 "
"standardized a pseudoterminal API based on the System V API, and this API "
"should be employed in all new programs that use pseudoterminals."
msgstr ""

#. type: Plain text
#: build/C/man7/pty.7:71
msgid ""
"Linux provides both BSD-style and (standardized) System V-style "
"pseudoterminals.  System V-style terminals are commonly called UNIX 98 "
"pseudoterminals on Linux systems.  Since kernel 2.6.4, BSD-style "
"pseudoterminals are considered deprecated (they can be disabled when "
"configuring the kernel); UNIX 98 pseudoterminals should be used in new "
"applications."
msgstr ""

#. type: SS
#: build/C/man7/pty.7:71
#, no-wrap
msgid "UNIX 98 pseudoterminals"
msgstr ""

#. type: Plain text
#: build/C/man7/pty.7:88
msgid ""
"An unused UNIX 98 pseudoterminal master is opened by calling "
"B<posix_openpt>(3).  (This function opens the master clone device, "
"I</dev/ptmx>; see B<pts>(4).)  After performing any program-specific "
"initializations, changing the ownership and permissions of the slave device "
"using B<grantpt>(3), and unlocking the slave using B<unlockpt>(3)), the "
"corresponding slave device can be opened by passing the name returned by "
"B<ptsname>(3)  in a call to B<open>(2)."
msgstr ""

#. type: Plain text
#: build/C/man7/pty.7:103
msgid ""
"The Linux kernel imposes a limit on the number of available UNIX 98 "
"pseudoterminals.  In kernels up to and including 2.6.3, this limit is "
"configured at kernel compilation time (B<CONFIG_UNIX98_PTYS>), and the "
"permitted number of pseudoterminals can be up to 2048, with a default "
"setting of 256.  Since kernel 2.6.4, the limit is dynamically adjustable via "
"I</proc/sys/kernel/pty/max>, and a corresponding file, "
"I</proc/sys/kernel/pty/nr>, indicates how many pseudoterminals are currently "
"in use.  For further details on these two files, see B<proc>(5)."
msgstr ""

#. type: SS
#: build/C/man7/pty.7:103
#, no-wrap
msgid "BSD pseudoterminals"
msgstr ""

#. type: Plain text
#: build/C/man7/pty.7:124
msgid ""
"BSD-style pseudoterminals are provided as precreated pairs, with names of "
"the form I</dev/ptyXY> (master) and I</dev/ttyXY> (slave), where X is a "
"letter from the 16-character set [p-za-e], and Y is a letter from the "
"16-character set [0-9a-f].  (The precise range of letters in these two sets "
"varies across UNIX implementations.)  For example, I</dev/ptyp1> and "
"I</dev/ttyp1> constitute a BSD pseudoterminal pair.  A process finds an "
"unused pseudoterminal pair by trying to B<open>(2)  each pseudoterminal "
"master until an open succeeds.  The corresponding pseudoterminal slave "
"(substitute \"tty\" for \"pty\" in the name of the master) can then be "
"opened."
msgstr ""

#. type: Plain text
#: build/C/man7/pty.7:127
msgid "I</dev/ptmx> (UNIX 98 master clone device)"
msgstr ""

#. type: Plain text
#: build/C/man7/pty.7:130
msgid "I</dev/pts/*> (UNIX 98 slave devices)"
msgstr ""

#. type: Plain text
#: build/C/man7/pty.7:133
msgid "I</dev/pty[p-za-e][0-9a-f]> (BSD master devices)"
msgstr ""

#. type: Plain text
#: build/C/man7/pty.7:136
msgid "I</dev/tty[p-za-e][0-9a-f]> (BSD slave devices)"
msgstr ""

#. type: Plain text
#: build/C/man7/pty.7:142
msgid ""
"A description of the B<TIOCPKT> B<ioctl>(2), which controls packet mode "
"operation, can be found in B<tty_ioctl>(4)."
msgstr ""

#. type: Plain text
#: build/C/man7/pty.7:152
msgid ""
"The BSD B<ioctl>(2)  operations B<TIOCSTOP>, B<TIOCSTART>, B<TIOCUCNTL>, and "
"B<TIOCREMOTE> have not been implemented under Linux."
msgstr ""

#. type: Plain text
#: build/C/man7/pty.7:161
msgid ""
"B<select>(2), B<setsid>(2), B<forkpty>(3), B<openpty>(3), B<termios>(3), "
"B<pts>(4), B<tty>(4), B<tty_ioctl>(4)"
msgstr ""

#. type: TH
#: build/C/man5/securetty.5:25
#, no-wrap
msgid "SECURETTY"
msgstr ""

#. type: TH
#: build/C/man5/securetty.5:25
#, no-wrap
msgid "1992-12-29"
msgstr ""

#. type: Plain text
#: build/C/man5/securetty.5:28
msgid "securetty - file which lists ttys from which root can log in"
msgstr ""

#. type: Plain text
#: build/C/man5/securetty.5:40
msgid ""
"The file I</etc/securetty> is used by (some versions of)  B<login>(1).  The "
"file contains the device names of tty lines (one per line, without leading "
"I</dev/>)  on which root is allowed to login.  See B<login.defs>(5)  if you "
"use the shadow suite."
msgstr ""

#. type: Plain text
#: build/C/man5/securetty.5:42
msgid "I</etc/securetty>"
msgstr ""

#. type: Plain text
#: build/C/man5/securetty.5:45
msgid "B<login>(1), B<login.defs>(5)"
msgstr ""

#. type: TH
#: build/C/man3/tcgetsid.3:23
#, no-wrap
msgid "TCGETSID"
msgstr ""

#. type: Plain text
#: build/C/man3/tcgetsid.3:26
msgid "tcgetsid - get session ID"
msgstr ""

#. type: Plain text
#: build/C/man3/tcgetsid.3:28
msgid "B<#define _XOPEN_SOURCE 500> /* See feature_test_macros(7) */"
msgstr ""

#. type: Plain text
#: build/C/man3/tcgetsid.3:30 build/C/man4/tty_ioctl.4:10
msgid "B<#include E<lt>termios.hE<gt>>"
msgstr ""

#. type: Plain text
#: build/C/man3/tcgetsid.3:32
msgid "B<pid_t tcgetsid(int >I<fd>B<);>"
msgstr ""

#. type: Plain text
#: build/C/man3/tcgetsid.3:40
msgid ""
"The function B<tcgetsid>()  returns the session ID of the current session "
"that has the terminal associated to I<fd> as controlling terminal.  This "
"terminal must be the controlling terminal of the calling process."
msgstr ""

#. type: Plain text
#: build/C/man3/tcgetsid.3:50
msgid ""
"When I<fd> refers to the controlling terminal of our session, the function "
"B<tcgetsid>()  will return the session ID of this session.  Otherwise, -1 is "
"returned, and I<errno> is set appropriately."
msgstr ""

#. type: Plain text
#: build/C/man3/tcgetsid.3:60
msgid ""
"The calling process does not have a controlling terminal, or it has one but "
"it is not described by I<fd>."
msgstr ""

#. type: Plain text
#: build/C/man3/tcgetsid.3:63
msgid "B<tcgetsid>()  is provided in glibc since version 2.1."
msgstr ""

#. type: Plain text
#: build/C/man3/tcgetsid.3:71
msgid ""
"This function is implemented via the B<TIOCGSID> B<ioctl>(2), present since "
"Linux 2.1.71."
msgstr ""

#. type: Plain text
#: build/C/man3/tcgetsid.3:73
msgid "B<getsid>(2)"
msgstr ""

#. type: TH
#: build/C/man5/termcap.5:30
#, no-wrap
msgid "TERMCAP"
msgstr ""

#. type: TH
#: build/C/man5/termcap.5:30
#, no-wrap
msgid "1996-10-21"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:33
msgid "termcap - terminal capability database"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:40
msgid ""
"The termcap database is an obsolete facility for describing the capabilities "
"of character-cell terminals and printers.  It is retained only for "
"capability with old programs; new ones should use the B<terminfo>(5)  "
"database and associated libraries."
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:53
msgid ""
"I</etc/termcap> is an ASCII file (the database master) that lists the "
"capabilities of many different types of terminals.  Programs can read "
"termcap to find the particular escape codes needed to control the visual "
"attributes of the terminal actually in use.  (Other aspects of the terminal "
"are handled by B<stty>(1).)  The termcap database is indexed on the B<TERM> "
"environment variable."
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:59
msgid ""
"Termcap entries must be defined on a single logical line, with \\(aq\\e\\(aq "
"used to suppress the newline.  Fields are separated by \\(aq:\\(aq.  The "
"first field of each entry starts at the left-hand margin, and contains a "
"list of names for the terminal, separated by \\(aq|\\(aq."
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:64
msgid ""
"The first subfield may (in BSD termcap entries from versions 4.3 and prior) "
"contain a short name consisting of two characters.  This short name may "
"consist of capital or small letters.  In 4.4BSD termcap entries this field "
"is omitted."
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:77
msgid ""
"The second subfield (first, in the newer 4.4BSD format) contains the name "
"used by the environment variable B<TERM>.  It should be spelled in lowercase "
"letters.  Selectable hardware capabilities should be marked by appending a "
"hyphen and a suffix to this name.  See below for an example.  Usual suffixes "
"are w (more than 80 characters wide), am (automatic margins), nam (no "
"automatic margins), and rv (reverse video display).  The third subfield "
"contains a long and descriptive name for this termcap entry."
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:80
msgid ""
"Subsequent fields contain the terminal capabilities; any continued "
"capability lines must be indented one tab from the left margin."
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:85
msgid ""
"Although there is no defined order, it is suggested to write first boolean, "
"then numeric, and then string capabilities, each sorted alphabetically "
"without looking at lower or upper spelling.  Capabilities of similar "
"functions can be written in one line."
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:88
#, no-wrap
msgid "Example for:\n"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:94
#, no-wrap
msgid ""
"Head line: vt|vt101|DEC VT 101 terminal in 80 character mode:\\e\n"
"Head line: Vt|vt101-w|DEC VT 101 terminal in (wide) 132 character mode:\\e\n"
"Boolean: :bs:\\e\n"
"Numeric: :co#80:\\e\n"
"String: :sr=\\eE[H:\\e\n"
msgstr ""

#. type: SS
#: build/C/man5/termcap.5:95
#, no-wrap
msgid "Boolean Capabilities"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:124
#, no-wrap
msgid ""
"5i\tPrinter will not echo on screen\n"
"am\tAutomatic margins which means automatic line wrap\n"
"bs\tControl-H (8 dec.) performs a backspace\n"
"bw\tBackspace on left margin wraps to previous line and right margin\n"
"da\tDisplay retained above screen\n"
"db\tDisplay retained below screen\n"
"eo\tA space erases all characters at cursor position\n"
"es\tEscape sequences and special characters work in status line\n"
"gn\tGeneric device\n"
"hc\tThis is a hardcopy terminal\n"
"HC\tThe cursor is hard to see when not on bottom line\n"
"hs\tHas a status line\n"
"hz\tHazeltine bug, the terminal can not print tilde characters\n"
"in\tTerminal inserts null bytes, not spaces, to fill whitespace\n"
"km\tTerminal has a meta key\n"
"mi\tCursor movement works in insert mode\n"
"ms\tCursor movement works in standout/underline mode\n"
"NP\tNo pad character\n"
"NR\tti does not reverse te\n"
"nx\tNo padding, must use XON/XOFF\n"
"os\tTerminal can overstrike\n"
"ul\tTerminal underlines although it can not overstrike\n"
"xb\tBeehive glitch, f1 sends ESCAPE, f2 sends B<^C>\n"
"xn\tNewline/wraparound glitch\n"
"xo\tTerminal uses xon/xoff protocol\n"
"xs\tText typed over standout text will be displayed in standout\n"
"xt\tTeleray glitch, destructive tabs and odd standout mode\n"
msgstr ""

#. type: SS
#: build/C/man5/termcap.5:125
#, no-wrap
msgid "Numeric Capabilities"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:146
#, no-wrap
msgid ""
"co\tNumber of columns\n"
"dB\tDelay in milliseconds for backspace on hardcopy terminals\n"
"dC\tDelay in milliseconds for carriage return on hardcopy terminals\n"
"dF\tDelay in milliseconds for form feed on hardcopy terminals\n"
"dN\tDelay in milliseconds for new line on hardcopy terminals\n"
"dT\tDelay in milliseconds for tabulator stop on hardcopy terminals\n"
"dV\tDelay in milliseconds for vertical tabulator stop on\n"
"\thardcopy terminals\n"
"it\tDifference between tab positions\n"
"lh\tHeight of soft labels\n"
"lm\tLines of memory\n"
"lw\tWidth of soft labels\n"
"li\tNumber of lines\n"
"Nl\tNumber of soft labels\n"
"pb\tLowest baud rate which needs padding\n"
"sg\tStandout glitch\n"
"ug\tUnderline glitch\n"
"vt\tvirtual terminal number\n"
"ws\tWidth of status line if different from screen width\n"
msgstr ""

#. type: SS
#: build/C/man5/termcap.5:147
#, no-wrap
msgid "String Capabilities"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:378
#, no-wrap
msgid ""
"!1\tshifted save key\n"
"!2\tshifted suspend key\n"
"!3\tshifted undo key\n"
"#1\tshifted help key\n"
"#2\tshifted home key\n"
"#3\tshifted input key\n"
"#4\tshifted cursor left key\n"
"%0\tredo key\n"
"%1\thelp key\n"
"%2\tmark key\n"
"%3\tmessage key\n"
"%4\tmove key\n"
"%5\tnext-object key\n"
"%6\topen key\n"
"%7\toptions key\n"
"%8\tprevious-object key\n"
"%9\tprint key\n"
"%a\tshifted message key\n"
"%b\tshifted move key\n"
"%c\tshifted next key\n"
"%d\tshifted options key\n"
"%e\tshifted previous key\n"
"%f\tshifted print key\n"
"%g\tshifted redo key\n"
"%h\tshifted replace key\n"
"%i\tshifted cursor right key\n"
"%j\tshifted resume key\n"
"&0\tshifted cancel key\n"
"&1\treference key\n"
"&2\trefresh key\n"
"&3\treplace key\n"
"&4\trestart key\n"
"&5\tresume key\n"
"&6\tsave key\n"
"&7\tsuspend key\n"
"&8\tundo key\n"
"&9\tshifted begin key\n"
"*0\tshifted find key\n"
"*1\tshifted command key\n"
"*2\tshifted copy key\n"
"*3\tshifted create key\n"
"*4\tshifted delete character\n"
"*5\tshifted delete line\n"
"*6\tselect key\n"
"*7\tshifted end key\n"
"*8\tshifted clear line key\n"
"*9\tshifted exit key\n"
"@0\tfind key\n"
"@1\tbegin key\n"
"@2\tcancel key\n"
"@3\tclose key\n"
"@4\tcommand key\n"
"@5\tcopy key\n"
"@6\tcreate key\n"
"@7\tend key\n"
"@8\tenter/send key\n"
"@9\texit key\n"
"al\tInsert one line\n"
"AL\tInsert %1 lines\n"
"ac\tPairs of block graphic characters to map alternate character set\n"
"ae\tEnd alternative character set\n"
"as\tStart alternative character set for block graphic characters\n"
"bc\tBackspace, if not B<^H>\n"
"bl\tAudio bell\n"
"bt\tMove to previous tab stop\n"
"cb\tClear from beginning of line to cursor\n"
"cc\tDummy command character\n"
"cd\tClear to end of screen\n"
"ce\tClear to end of line\n"
"ch\tMove cursor horizontally only to column %1\n"
"cl\tClear screen and cursor home\n"
"cm\tCursor move to row %1 and column %2 (on screen)\n"
"CM\tMove cursor to row %1 and column %2 (in memory)\n"
"cr\tCarriage return\n"
"cs\tScroll region from line %1 to %2\n"
"ct\tClear tabs\n"
"cv\tMove cursor vertically only to line %1\n"
"dc\tDelete one character\n"
"DC\tDelete %1 characters\n"
"dl\tDelete one line\n"
"DL\tDelete %1 lines\n"
"dm\tBegin delete mode\n"
"do\tCursor down one line\n"
"DO\tCursor down #1 lines\n"
"ds\tDisable status line\n"
"eA\tEnable alternate character set\n"
"ec\tErase %1 characters starting at cursor\n"
"ed\tEnd delete mode\n"
"ei\tEnd insert mode\n"
"ff\tFormfeed character on hardcopy terminals\n"
"fs\tReturn character to its position before going to status line\n"
"F1\tThe string sent by function key f11\n"
"F2\tThe string sent by function key f12\n"
"F3\tThe string sent by function key f13\n"
"\\&...\t\\&...\n"
"F9\tThe string sent by function key f19\n"
"FA\tThe string sent by function key f20\n"
"FB\tThe string sent by function key f21\n"
"\\&...\t\\&...\n"
"FZ\tThe string sent by function key f45\n"
"Fa\tThe string sent by function key f46\n"
"Fb\tThe string sent by function key f47\n"
"\\&...\t\\&...\n"
"Fr\tThe string sent by function key f63\n"
"hd\tMove cursor a half line down\n"
"ho\tCursor home\n"
"hu\tMove cursor a half line up\n"
"i1\tInitialization string 1 at login\n"
"i3\tInitialization string 3 at login\n"
"is\tInitialization string 2 at login\n"
"ic\tInsert one character\n"
"IC\tInsert %1 characters\n"
"if\tInitialization file\n"
"im\tBegin insert mode\n"
"ip\tInsert pad time and needed special characters after insert\n"
"iP\tInitialization program\n"
"K1\tupper left key on keypad\n"
"K2\tcenter key on keypad\n"
"K3\tupper right key on keypad\n"
"K4\tbottom left key on keypad\n"
"K5\tbottom right key on keypad\n"
"k0\tFunction key 0\n"
"k1\tFunction key 1\n"
"k2\tFunction key 2\n"
"k3\tFunction key 3\n"
"k4\tFunction key 4\n"
"k5\tFunction key 5\n"
"k6\tFunction key 6\n"
"k7\tFunction key 7\n"
"k8\tFunction key 8\n"
"k9\tFunction key 9\n"
"k;\tFunction key 10\n"
"ka\tClear all tabs key\n"
"kA\tInsert line key\n"
"kb\tBackspace key\n"
"kB\tBack tab stop\n"
"kC\tClear screen key\n"
"kd\tCursor down key\n"
"kD\tKey for delete character under cursor\n"
"ke\tturn keypad off\n"
"kE\tKey for clear to end of line\n"
"kF\tKey for scrolling forward/down\n"
"kh\tCursor home key\n"
"kH\tCursor hown down key\n"
"kI\tInsert character/Insert mode key\n"
"kl\tCursor left key\n"
"kL\tKey for delete line\n"
"kM\tKey for exit insert mode\n"
"kN\tKey for next page\n"
"kP\tKey for previous page\n"
"kr\tCursor right key\n"
"kR\tKey for scrolling backward/up\n"
"ks\tTurn keypad on\n"
"kS\tClear to end of screen key\n"
"kt\tClear this tab key\n"
"kT\tSet tab here key\n"
"ku\tCursor up key\n"
"l0\tLabel of zeroth function key, if not f0\n"
"l1\tLabel of first function key, if not f1\n"
"l2\tLabel of first function key, if not f2\n"
"\\&...\t\\&...\n"
"la\tLabel of tenth function key, if not f10\n"
"le\tCursor left one character\n"
"ll\tMove cursor to lower left corner\n"
"LE\tCursor left %1 characters\n"
"LF\tTurn soft labels off\n"
"LO\tTurn soft labels on\n"
"mb\tStart blinking\n"
"MC\tClear soft margins\n"
"md\tStart bold mode\n"
"me\tEnd all mode like so, us, mb, md and mr\n"
"mh\tStart half bright mode\n"
"mk\tDark mode (Characters invisible)\n"
"ML\tSet left soft margin\n"
"mm\tPut terminal in meta mode\n"
"mo\tPut terminal out of meta mode\n"
"mp\tTurn on protected attribute\n"
"mr\tStart reverse mode\n"
"MR\tSet right soft margin\n"
"nd\tCursor right one character\n"
"nw\tCarriage return command\n"
"pc\tPadding character\n"
"pf\tTurn printer off\n"
"pk\tProgram key %1 to send string %2 as if typed by user\n"
"pl\tProgram key %1 to execute string %2 in local mode\n"
"pn\tProgram soft label %1 to show string %2\n"
"po\tTurn the printer on\n"
"pO\tTurn the printer on for %1 (E<lt>256) bytes\n"
"ps\tPrint screen contents on printer\n"
"px\tProgram key %1 to send string %2 to computer\n"
"r1\tReset string 1 to set terminal to sane modes\n"
"r2\tReset string 2 to set terminal to sane modes\n"
"r3\tReset string 3 to set terminal to sane modes\n"
"RA\tdisable automatic margins\n"
"rc\tRestore saved cursor position\n"
"rf\tReset string filename\n"
"RF\tRequest for input from terminal\n"
"RI\tCursor right %1 characters\n"
"rp\tRepeat character %1 for %2 times\n"
"rP\tPadding after character sent in replace mode\n"
"rs\tReset string\n"
"RX\tTurn off XON/XOFF flow control\n"
"sa\tSet %1 %2 %3 %4 %5 %6 %7 %8 %9 attributes\n"
"SA\tenable automatic margins\n"
"sc\tSave cursor position\n"
"se\tEnd standout mode\n"
"sf\tNormal scroll one line\n"
"SF\tNormal scroll %1 lines\n"
"so\tStart standout mode\n"
"sr\tReverse scroll\n"
"SR\tscroll back %1 lines\n"
"st\tSet tabulator stop in all rows at current column\n"
"SX\tTurn on XON/XOFF flow control\n"
"ta\tmove to next hardware tab\n"
"tc\tRead in terminal description from another entry\n"
"te\tEnd program that uses cursor motion\n"
"ti\tBegin program that uses cursor motion\n"
"ts\tMove cursor to column %1 of status line\n"
"uc\tUnderline character under cursor and move cursor right\n"
"ue\tEnd underlining\n"
"up\tCursor up one line\n"
"UP\tCursor up %1 lines\n"
"us\tStart underlining\n"
"vb\tVisible bell\n"
"ve\tNormal cursor visible\n"
"vi\tCursor invisible\n"
"vs\tStandout cursor\n"
"wi\tSet window from line %1 to %2 and column %3 to %4\n"
"XF\tXOFF character if not B<^S>\n"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:381
msgid ""
"There are several ways of defining the control codes for string "
"capabilities:"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:384
msgid ""
"Every normal character represents itself, except \\(aq^\\(aq, \\(aq\\e\\(aq, "
"and \\(aq%\\(aq."
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:387
msgid "A B<^x> means Control-x.  Control-A equals 1 decimal."
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:390
msgid "\\ex means a special code.  x can be one of the following characters:"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:392
msgid "E Escape (27)"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:394
msgid "n Linefeed (10)"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:396
msgid "r Carriage return (13)"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:398
msgid "t Tabulation (9)"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:400
msgid "b Backspace (8)"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:402
msgid "f Form feed (12)"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:405
msgid "0 Null character.  A \\exxx specifies the octal character xxx."
msgstr ""

#. type: IP
#: build/C/man5/termcap.5:406
#, no-wrap
msgid "i"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:408
msgid "Increments parameters by one."
msgstr ""

#. type: IP
#: build/C/man5/termcap.5:408
#, no-wrap
msgid "r"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:410
msgid "Single parameter capability"
msgstr ""

#. type: IP
#: build/C/man5/termcap.5:410
#, no-wrap
msgid "+"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:412
msgid "Add value of next character to this parameter and do binary output"
msgstr ""

#. type: IP
#: build/C/man5/termcap.5:412
#, no-wrap
msgid "2"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:414
msgid "Do ASCII output of this parameter with a field with of 2"
msgstr ""

#. type: IP
#: build/C/man5/termcap.5:414
#, no-wrap
msgid "d"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:416
msgid "Do ASCII output of this parameter with a field with of 3"
msgstr ""

#. type: IP
#: build/C/man5/termcap.5:416
#, no-wrap
msgid "%"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:418
msgid "Print a \\(aq%\\(aq"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:423
msgid ""
"If you use binary output, then you should avoid the null character "
"(\\(aq\\e0\\(aq)  because it terminates the string.  You should reset "
"tabulator expansion if a tabulator can be the binary output of a parameter."
msgstr ""

#. type: IP
#: build/C/man5/termcap.5:423
#, no-wrap
msgid "Warning:"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:426
msgid ""
"The above metacharacters for parameters may be wrong, they document Minix "
"termcap which may not be compatible with Linux termcap."
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:428
msgid "The block graphic characters can be specified by three string capabilities:"
msgstr ""

#. type: IP
#: build/C/man5/termcap.5:428
#, no-wrap
msgid "as"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:430
msgid "start the alternative charset"
msgstr ""

#. type: IP
#: build/C/man5/termcap.5:430
#, no-wrap
msgid "ae"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:432
msgid "end it"
msgstr ""

#. type: IP
#: build/C/man5/termcap.5:432
#, no-wrap
msgid "ac"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:436
msgid ""
"pairs of characters.  The first character is the name of the block graphic "
"symbol and the second characters is its definition."
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:438
msgid "The following names are available:"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:465
#, no-wrap
msgid ""
"+\tright arrow (E<gt>)\n"
",\tleft arrow (E<lt>)\n"
"\\&.\tdown arrow (v)\n"
"0\tfull square (#)\n"
"I\tlantern (#)\n"
"-\tupper arrow (^)\n"
"\\&'\trhombus (+)\n"
"a\tchess board (:)\n"
"f\tdegree (')\n"
"g\tplus-minus (#)\n"
"h\tsquare (#)\n"
"j\tright bottom corner (+)\n"
"k\tright upper corner (+)\n"
"l\tleft upper corner (+)\n"
"m\tleft bottom corner (+)\n"
"n\tcross (+)\n"
"o\tupper horizontal line (-)\n"
"q\tmiddle horizontal line (-)\n"
"s\tbottom horizontal line (_)\n"
"t\tleft tee (+)\n"
"u\tright tee (+)\n"
"v\tbottom tee (+)\n"
"w\tnormal tee (+)\n"
"x\tvertical line (|)\n"
"~\tparagraph (???)\n"
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:469
msgid ""
"The values in parentheses are suggested defaults which are used by curses, "
"if the capabilities are missing."
msgstr ""

#. type: Plain text
#: build/C/man5/termcap.5:473
msgid "B<ncurses>(3), B<termcap>(3), B<terminfo>(5)"
msgstr ""

#. type: TH
#: build/C/man7/termio.7:25
#, no-wrap
msgid "TERMIO"
msgstr ""

#. type: TH
#: build/C/man7/termio.7:25
#, no-wrap
msgid "2006-12-28"
msgstr ""

#. type: Plain text
#: build/C/man7/termio.7:28
msgid "termio - System V terminal driver interface"
msgstr ""

#. type: Plain text
#: build/C/man7/termio.7:36
msgid ""
"B<termio> is the name of the old System V terminal driver interface.  This "
"interface defined a I<termio> structure used to store terminal settings, and "
"a range of B<ioctl>(2)  operations to get and set terminal attributes."
msgstr ""

#. type: Plain text
#: build/C/man7/termio.7:51
msgid ""
"The B<termio> interface is now obsolete: POSIX.1-1990 standardized a "
"modified version of this interface, under the name B<termios>.  The POSIX.1 "
"data structure differs slightly from the System V version, and POSIX.1 "
"defined a suite of functions to replace the various B<ioctl>(2)  operations "
"that existed in System V.  (This was done because B<ioctl>(2)  was "
"unstandardized, and its variadic third argument does not allow argument type "
"checking.)"
msgstr ""

#. type: Plain text
#: build/C/man7/termio.7:57
msgid ""
"If you're looking for page called \"termio\", then you can probably find "
"most of the information that you seek in either B<termios>(3)  or "
"B<tty_ioctl>(4)."
msgstr ""

#. type: Plain text
#: build/C/man7/termio.7:60
msgid "B<termios>(3), B<tty_ioctl>(4)"
msgstr ""

#. type: TH
#: build/C/man3/termios.3:41
#, no-wrap
msgid "TERMIOS"
msgstr ""

#. type: TH
#: build/C/man3/termios.3:41
#, no-wrap
msgid "2011-09-08"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:46
msgid ""
"termios, tcgetattr, tcsetattr, tcsendbreak, tcdrain, tcflush, tcflow, "
"cfmakeraw, cfgetospeed, cfgetispeed, cfsetispeed, cfsetospeed, cfsetspeed - "
"get and set terminal attributes, line control, get and set baud rate"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:49
#, no-wrap
msgid "B<#include E<lt>termios.hE<gt>>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:53
#, no-wrap
msgid "B<int tcgetattr(int >I<fd>B<, struct termios *>I<termios_p>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:56
#, no-wrap
msgid ""
"B<int tcsetattr(int >I<fd>B<, int >I<optional_actions>B<,>\n"
"B<              const struct termios *>I<termios_p>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:58
#, no-wrap
msgid "B<int tcsendbreak(int >I<fd>B<, int >I<duration>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:60
#, no-wrap
msgid "B<int tcdrain(int >I<fd>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:62
#, no-wrap
msgid "B<int tcflush(int >I<fd>B<, int >I<queue_selector>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:64
#, no-wrap
msgid "B<int tcflow(int >I<fd>B<, int >I<action>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:66
#, no-wrap
msgid "B<void cfmakeraw(struct termios *>I<termios_p>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:68
#, no-wrap
msgid "B<speed_t cfgetispeed(const struct termios *>I<termios_p>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:70
#, no-wrap
msgid "B<speed_t cfgetospeed(const struct termios *>I<termios_p>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:72
#, no-wrap
msgid "B<int cfsetispeed(struct termios *>I<termios_p>B<, speed_t >I<speed>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:74
#, no-wrap
msgid "B<int cfsetospeed(struct termios *>I<termios_p>B<, speed_t >I<speed>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:76
#, no-wrap
msgid "B<int cfsetspeed(struct termios *>I<termios_p>B<, speed_t >I<speed>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:86
msgid "B<cfsetspeed>(), B<cfmakeraw>(): _BSD_SOURCE"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:89
msgid ""
"The termios functions describe a general terminal interface that is provided "
"to control asynchronous communications ports."
msgstr ""

#. type: SS
#: build/C/man3/termios.3:89
#, no-wrap
msgid "The termios structure"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:94
msgid ""
"Many of the functions described here have a I<termios_p> argument that is a "
"pointer to a I<termios> structure.  This structure contains at least the "
"following members:"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:102
#, no-wrap
msgid ""
"tcflag_t c_iflag;      /* input modes */\n"
"tcflag_t c_oflag;      /* output modes */\n"
"tcflag_t c_cflag;      /* control modes */\n"
"tcflag_t c_lflag;      /* local modes */\n"
"cc_t     c_cc[NCCS];   /* special characters */\n"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:111
msgid ""
"The values that may be assigned to these fields are described below.  In the "
"case of the first four bit-mask fields, the definitions of some of the "
"associated flags that may be set are only exposed if a specific feature test "
"macro (see B<feature_test_macros>(7))  is defined, as noted in brackets "
"(\"[]\")."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:116
msgid ""
"In the descriptions below, \"not in POSIX\" means that the value is not "
"specified in POSIX.1-2001, and \"XSI\" means that the value is specified in "
"POSIX.1-2001 as part of the XSI extension."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:118
msgid "I<c_iflag> flag constants:"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:118
#, no-wrap
msgid "B<IGNBRK>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:121
msgid "Ignore BREAK condition on input."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:121
#, no-wrap
msgid "B<BRKINT>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:132
msgid ""
"If B<IGNBRK> is set, a BREAK is ignored.  If it is not set but B<BRKINT> is "
"set, then a BREAK causes the input and output queues to be flushed, and if "
"the terminal is the controlling terminal of a foreground process group, it "
"will cause a B<SIGINT> to be sent to this foreground process group.  When "
"neither B<IGNBRK> nor B<BRKINT> are set, a BREAK reads as a null byte "
"(\\(aq\\e0\\(aq), except when B<PARMRK> is set, in which case it reads as "
"the sequence \\e377 \\e0 \\e0."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:132
#, no-wrap
msgid "B<IGNPAR>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:135
msgid "Ignore framing errors and parity errors."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:135
#, no-wrap
msgid "B<PARMRK>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:142
msgid ""
"If B<IGNPAR> is not set, prefix a character with a parity error or framing "
"error with \\e377 \\e0.  If neither B<IGNPAR> nor B<PARMRK> is set, read a "
"character with a parity error or framing error as \\e0."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:142
#, no-wrap
msgid "B<INPCK>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:145
msgid "Enable input parity checking."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:145
#, no-wrap
msgid "B<ISTRIP>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:148
msgid "Strip off eighth bit."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:148
#, no-wrap
msgid "B<INLCR>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:151
msgid "Translate NL to CR on input."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:151
#, no-wrap
msgid "B<IGNCR>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:154
msgid "Ignore carriage return on input."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:154
#, no-wrap
msgid "B<ICRNL>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:157
msgid "Translate carriage return to newline on input (unless B<IGNCR> is set)."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:157
#, no-wrap
msgid "B<IUCLC>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:160
msgid "(not in POSIX) Map uppercase characters to lowercase on input."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:160
#, no-wrap
msgid "B<IXON>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:163
msgid "Enable XON/XOFF flow control on output."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:163
#, no-wrap
msgid "B<IXANY>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:167
msgid ""
"(XSI) Typing any character will restart stopped output.  (The default is to "
"allow just the START character to restart output.)"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:167
#, no-wrap
msgid "B<IXOFF>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:170
msgid "Enable XON/XOFF flow control on input."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:170
#, no-wrap
msgid "B<IMAXBEL>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:174
msgid ""
"(not in POSIX) Ring bell when input queue is full.  Linux does not implement "
"this bit, and acts as if it is always set."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:174
#, no-wrap
msgid "B<IUTF8> (since Linux 2.6.4)"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:178
msgid ""
"(not in POSIX) Input is UTF8; this allows character-erase to be correctly "
"performed in cooked mode."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:180
msgid "I<c_oflag> flag constants defined in POSIX.1:"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:180
#, no-wrap
msgid "B<OPOST>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:183
msgid "Enable implementation-defined output processing."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:186
msgid ""
"The remaining I<c_oflag> flag constants are defined in POSIX.1-2001, unless "
"marked otherwise."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:186
#, no-wrap
msgid "B<OLCUC>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:189
msgid "(not in POSIX) Map lowercase characters to uppercase on output."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:189
#, no-wrap
msgid "B<ONLCR>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:192
msgid "(XSI) Map NL to CR-NL on output."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:192
#, no-wrap
msgid "B<OCRNL>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:195
msgid "Map CR to NL on output."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:195
#, no-wrap
msgid "B<ONOCR>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:198
msgid "Don't output CR at column 0."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:198
#, no-wrap
msgid "B<ONLRET>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:201
msgid "Don't output CR."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:201
#, no-wrap
msgid "B<OFILL>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:204
msgid "Send fill characters for a delay, rather than using a timed delay."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:204
#, no-wrap
msgid "B<OFDEL>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:209
msgid ""
"(not in POSIX) Fill character is ASCII DEL (0177).  If unset, fill character "
"is ASCII NUL (\\(aq\\e0\\(aq).  (Not implemented on Linux.)"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:209
#, no-wrap
msgid "B<NLDLY>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:219
msgid ""
"Newline delay mask.  Values are B<NL0> and B<NL1>.  [requires B<_BSD_SOURCE> "
"or B<_SVID_SOURCE> or B<_XOPEN_SOURCE>]"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:219
#, no-wrap
msgid "B<CRDLY>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:229
msgid ""
"Carriage return delay mask.  Values are B<CR0>, B<CR1>, B<CR2>, or B<CR3>.  "
"[requires B<_BSD_SOURCE> or B<_SVID_SOURCE> or B<_XOPEN_SOURCE>]"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:229
#, no-wrap
msgid "B<TABDLY>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:241
msgid ""
"Horizontal tab delay mask.  Values are B<TAB0>, B<TAB1>, B<TAB2>, B<TAB3> "
"(or B<XTABS>).  A value of TAB3, that is, XTABS, expands tabs to spaces "
"(with tab stops every eight columns).  [requires B<_BSD_SOURCE> or "
"B<_SVID_SOURCE> or B<_XOPEN_SOURCE>]"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:241
#, no-wrap
msgid "B<BSDLY>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:252
msgid ""
"Backspace delay mask.  Values are B<BS0> or B<BS1>.  (Has never been "
"implemented.)  [requires B<_BSD_SOURCE> or B<_SVID_SOURCE> or "
"B<_XOPEN_SOURCE>]"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:252
#, no-wrap
msgid "B<VTDLY>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:256
msgid "Vertical tab delay mask.  Values are B<VT0> or B<VT1>."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:256
#, no-wrap
msgid "B<FFDLY>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:266
msgid ""
"Form feed delay mask.  Values are B<FF0> or B<FF1>.  [requires "
"B<_BSD_SOURCE> or B<_SVID_SOURCE> or B<_XOPEN_SOURCE>]"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:268
msgid "I<c_cflag> flag constants:"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:268
#, no-wrap
msgid "B<CBAUD>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:275
msgid ""
"(not in POSIX) Baud speed mask (4+1 bits).  [requires B<_BSD_SOURCE> or "
"B<_SVID_SOURCE>]"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:275
#, no-wrap
msgid "B<CBAUDEX>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:283
msgid ""
"(not in POSIX) Extra baud speed mask (1 bit), included in B<CBAUD>.  "
"[requires B<_BSD_SOURCE> or B<_SVID_SOURCE>]"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:299
msgid ""
"(POSIX says that the baud speed is stored in the I<termios> structure "
"without specifying where precisely, and provides B<cfgetispeed>()  and "
"B<cfsetispeed>()  for getting at it.  Some systems use bits selected by "
"B<CBAUD> in I<c_cflag>, other systems use separate fields, for example, "
"I<sg_ispeed> and I<sg_ospeed>.)"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:299
#, no-wrap
msgid "B<CSIZE>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:303
msgid "Character size mask.  Values are B<CS5>, B<CS6>, B<CS7>, or B<CS8>."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:303
#, no-wrap
msgid "B<CSTOPB>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:306
msgid "Set two stop bits, rather than one."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:306
#, no-wrap
msgid "B<CREAD>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:309
msgid "Enable receiver."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:309
#, no-wrap
msgid "B<PARENB>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:312
msgid "Enable parity generation on output and parity checking for input."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:312
#, no-wrap
msgid "B<PARODD>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:316
msgid ""
"If set, then parity for input and output is odd; otherwise even parity is "
"used."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:316
#, no-wrap
msgid "B<HUPCL>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:319
msgid "Lower modem control lines after last process closes the device (hang up)."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:319
#, no-wrap
msgid "B<CLOCAL>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:322
msgid "Ignore modem control lines."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:322
#, no-wrap
msgid "B<LOBLK>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:326
msgid ""
"(not in POSIX) Block output from a noncurrent shell layer.  For use by "
"B<shl> (shell layers).  (Not implemented on Linux.)"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:326
#, no-wrap
msgid "B<CIBAUD>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:342
msgid ""
"(not in POSIX) Mask for input speeds.  The values for the B<CIBAUD> bits are "
"the same as the values for the B<CBAUD> bits, shifted left B<IBSHIFT> bits.  "
"[requires B<_BSD_SOURCE> or B<_SVID_SOURCE>] (Not implemented on Linux.)"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:342
#, no-wrap
msgid "B<CMSPAR>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:355
msgid ""
"(not in POSIX)  Use \"stick\" (mark/space) parity (supported on certain "
"serial devices): if B<PARODD> is set, the parity bit is always 1; if "
"B<PARODD> is not set, then the parity bit is always 0).  [requires "
"B<_BSD_SOURCE> or B<_SVID_SOURCE>]"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:355
#, no-wrap
msgid "B<CRTSCTS>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:362
msgid ""
"(not in POSIX) Enable RTS/CTS (hardware) flow control.  [requires "
"B<_BSD_SOURCE> or B<_SVID_SOURCE>]"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:364
msgid "I<c_lflag> flag constants:"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:364
#, no-wrap
msgid "B<ISIG>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:368
msgid ""
"When any of the characters INTR, QUIT, SUSP, or DSUSP are received, generate "
"the corresponding signal."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:368
#, no-wrap
msgid "B<ICANON>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:371
msgid "Enable canonical mode (described below)."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:371
#, no-wrap
msgid "B<XCASE>"
msgstr ""

#.  glibc is probably now wrong to allow
#.  Define
#.  .B _XOPEN_SOURCE
#.  to expose
#.  .BR XCASE .
#. type: Plain text
#: build/C/man3/termios.3:384
msgid ""
"(not in POSIX; not supported under Linux)  If B<ICANON> is also set, "
"terminal is uppercase only.  Input is converted to lowercase, except for "
"characters preceded by \\e.  On output, uppercase characters are preceded by "
"\\e and lowercase characters are converted to uppercase.  [requires "
"_BSD_SOURCE or _SVID_SOURCE or _XOPEN_SOURCE]"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:384
#, no-wrap
msgid "B<ECHO>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:387
msgid "Echo input characters."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:387
#, no-wrap
msgid "B<ECHOE>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:391
msgid ""
"If B<ICANON> is also set, the ERASE character erases the preceding input "
"character, and WERASE erases the preceding word."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:391
#, no-wrap
msgid "B<ECHOK>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:394
msgid "If B<ICANON> is also set, the KILL character erases the current line."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:394
#, no-wrap
msgid "B<ECHONL>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:397
msgid "If B<ICANON> is also set, echo the NL character even if ECHO is not set."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:397
#, no-wrap
msgid "B<ECHOCTL>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:410
msgid ""
"(not in POSIX) If B<ECHO> is also set, terminal special characters other "
"than TAB, NL, START, and STOP are echoed as B<^X>, where X is the character "
"with ASCII code 0x40 greater than the special character.  For example, "
"character 0x08 (BS) is echoed as B<^H>.  [requires B<_BSD_SOURCE> or "
"B<_SVID_SOURCE>]"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:410
#, no-wrap
msgid "B<ECHOPRT>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:418
msgid ""
"(not in POSIX) If B<ICANON> and B<ECHO> are also set, characters are printed "
"as they are being erased.  [requires B<_BSD_SOURCE> or B<_SVID_SOURCE>]"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:418
#, no-wrap
msgid "B<ECHOKE>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:426
msgid ""
"(not in POSIX) If B<ICANON> is also set, KILL is echoed by erasing each "
"character on the line, as specified by B<ECHOE> and B<ECHOPRT>.  [requires "
"B<_BSD_SOURCE> or B<_SVID_SOURCE>]"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:426
#, no-wrap
msgid "B<DEFECHO>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:430
msgid ""
"(not in POSIX) Echo only when a process is reading.  (Not implemented on "
"Linux.)"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:430
#, no-wrap
msgid "B<FLUSHO>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:440
msgid ""
"(not in POSIX; not supported under Linux)  Output is being flushed.  This "
"flag is toggled by typing the DISCARD character.  [requires B<_BSD_SOURCE> "
"or B<_SVID_SOURCE>]"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:440
#, no-wrap
msgid "B<NOFLSH>"
msgstr ""

#.  Stevens lets SUSP only flush the input queue
#. type: Plain text
#: build/C/man3/termios.3:445
msgid ""
"Disable flushing the input and output queues when generating signals for the "
"INT, QUIT, and SUSP characters."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:445
#, no-wrap
msgid "B<TOSTOP>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:451
msgid ""
"Send the B<SIGTTOU> signal to the process group of a background process "
"which tries to write to its controlling terminal."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:451
#, no-wrap
msgid "B<PENDIN>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:462
msgid ""
"(not in POSIX; not supported under Linux)  All characters in the input queue "
"are reprinted when the next character is read.  (B<bash>(1)  handles "
"typeahead this way.)  [requires B<_BSD_SOURCE> or B<_SVID_SOURCE>]"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:462
#, no-wrap
msgid "B<IEXTEN>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:468
msgid ""
"Enable implementation-defined input processing.  This flag, as well as "
"B<ICANON> must be enabled for the special characters EOL2, LNEXT, REPRINT, "
"WERASE to be interpreted, and for the B<IUCLC> flag to be effective."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:471
msgid ""
"The I<c_cc> array defines the terminal special characters.  The symbolic "
"indices (initial values) and meaning are:"
msgstr ""

#. type: TP
#: build/C/man3/termios.3:471
#, no-wrap
msgid "B<VDISCARD>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:478
msgid ""
"(not in POSIX; not supported under Linux; 017, SI, Ctrl-O)  Toggle: "
"start/stop discarding pending output.  Recognized when B<IEXTEN> is set, and "
"then not passed as input."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:478
#, no-wrap
msgid "B<VDSUSP>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:491
msgid ""
"(not in POSIX; not supported under Linux; 031, EM, Ctrl-Y)  Delayed suspend "
"character (DSUSP): send B<SIGTSTP> signal when the character is read by the "
"user program.  Recognized when B<IEXTEN> and B<ISIG> are set, and the system "
"supports job control, and then not passed as input."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:491
#, no-wrap
msgid "B<VEOF>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:503
msgid ""
"(004, EOT, Ctrl-D)  End-of-file character (EOF).  More precisely: this "
"character causes the pending tty buffer to be sent to the waiting user "
"program without waiting for end-of-line.  If it is the first character of "
"the line, the B<read>(2)  in the user program returns 0, which signifies "
"end-of-file.  Recognized when B<ICANON> is set, and then not passed as "
"input."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:503
#, no-wrap
msgid "B<VEOL>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:510
msgid ""
"(0, NUL)  Additional end-of-line character (EOL).  Recognized when B<ICANON> "
"is set."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:510
#, no-wrap
msgid "B<VEOL2>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:517
msgid ""
"(not in POSIX; 0, NUL)  Yet another end-of-line character (EOL2).  "
"Recognized when B<ICANON> is set."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:517
#, no-wrap
msgid "B<VERASE>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:526
msgid ""
"(0177, DEL, rubout, or 010, BS, Ctrl-H, or also #)  Erase character "
"(ERASE).  This erases the previous not-yet-erased character, but does not "
"erase past EOF or beginning-of-line.  Recognized when B<ICANON> is set, and "
"then not passed as input."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:526
#, no-wrap
msgid "B<VINTR>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:536
msgid ""
"(003, ETX, Ctrl-C, or also 0177, DEL, rubout)  Interrupt character (INTR).  "
"Send a B<SIGINT> signal.  Recognized when B<ISIG> is set, and then not "
"passed as input."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:536
#, no-wrap
msgid "B<VKILL>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:544
msgid ""
"(025, NAK, Ctrl-U, or Ctrl-X, or also @)  Kill character (KILL).  This "
"erases the input since the last EOF or beginning-of-line.  Recognized when "
"B<ICANON> is set, and then not passed as input."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:544
#, no-wrap
msgid "B<VLNEXT>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:553
msgid ""
"(not in POSIX; 026, SYN, Ctrl-V)  Literal next (LNEXT).  Quotes the next "
"input character, depriving it of a possible special meaning.  Recognized "
"when B<IEXTEN> is set, and then not passed as input."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:553
#, no-wrap
msgid "B<VMIN>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:556
msgid "Minimum number of characters for noncanonical read (MIN)."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:556
#, no-wrap
msgid "B<VQUIT>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:566
msgid ""
"(034, FS, Ctrl-\\e)  Quit character (QUIT).  Send B<SIGQUIT> signal.  "
"Recognized when B<ISIG> is set, and then not passed as input."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:566
#, no-wrap
msgid "B<VREPRINT>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:575
msgid ""
"(not in POSIX; 022, DC2, Ctrl-R)  Reprint unread characters (REPRINT).  "
"Recognized when B<ICANON> and B<IEXTEN> are set, and then not passed as "
"input."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:575
#, no-wrap
msgid "B<VSTART>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:583
msgid ""
"(021, DC1, Ctrl-Q)  Start character (START).  Restarts output stopped by the "
"Stop character.  Recognized when B<IXON> is set, and then not passed as "
"input."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:583
#, no-wrap
msgid "B<VSTATUS>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:593
msgid ""
"(not in POSIX; not supported under Linux; status request: 024, DC4, "
"Ctrl-T).  Status character (STATUS).  Display status information at "
"terminal, including state of foreground process and amount of CPU time it "
"has consumed.  Also sends a B<SIGINFO> signal (not supported on Linux) to "
"the foreground process group."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:593
#, no-wrap
msgid "B<VSTOP>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:601
msgid ""
"(023, DC3, Ctrl-S)  Stop character (STOP).  Stop output until Start "
"character typed.  Recognized when B<IXON> is set, and then not passed as "
"input."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:601
#, no-wrap
msgid "B<VSUSP>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:611
msgid ""
"(032, SUB, Ctrl-Z)  Suspend character (SUSP).  Send B<SIGTSTP> signal.  "
"Recognized when B<ISIG> is set, and then not passed as input."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:611
#, no-wrap
msgid "B<VSWTCH>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:618
msgid ""
"(not in POSIX; not supported under Linux; 0, NUL)  Switch character "
"(SWTCH).  Used in System V to switch shells in I<shell layers>, a "
"predecessor to shell job control."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:618
#, no-wrap
msgid "B<VTIME>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:621
msgid "Timeout in deciseconds for noncanonical read (TIME)."
msgstr ""

#. type: TP
#: build/C/man3/termios.3:621
#, no-wrap
msgid "B<VWERASE>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:630
msgid ""
"(not in POSIX; 027, ETB, Ctrl-W)  Word erase (WERASE).  Recognized when "
"B<ICANON> and B<IEXTEN> are set, and then not passed as input."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:636
msgid ""
"An individual terminal special character can be disabled by setting the "
"value of the corresponding I<c_cc> element to B<_POSIX_VDISABLE>."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:652
msgid ""
"The above symbolic subscript values are all different, except that B<VTIME>, "
"B<VMIN> may have the same value as B<VEOL>, B<VEOF>, respectively.  In "
"noncanonical mode the special character meaning is replaced by the timeout "
"meaning.  For an explanation of B<VMIN> and B<VTIME>, see the description of "
"noncanonical mode below."
msgstr ""

#. type: SS
#: build/C/man3/termios.3:652
#, no-wrap
msgid "Retrieving and changing terminal settings"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:661
msgid ""
"B<tcgetattr>()  gets the parameters associated with the object referred by "
"I<fd> and stores them in the I<termios> structure referenced by "
"I<termios_p>.  This function may be invoked from a background process; "
"however, the terminal attributes may be subsequently changed by a foreground "
"process."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:667
msgid ""
"B<tcsetattr>()  sets the parameters associated with the terminal (unless "
"support is required from the underlying hardware that is not available) from "
"the I<termios> structure referred to by I<termios_p>.  I<optional_actions> "
"specifies when the changes take effect:"
msgstr ""

#. type: IP
#: build/C/man3/termios.3:667
#, no-wrap
msgid "B<TCSANOW>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:669
msgid "the change occurs immediately."
msgstr ""

#. type: IP
#: build/C/man3/termios.3:669
#, no-wrap
msgid "B<TCSADRAIN>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:675
msgid ""
"the change occurs after all output written to I<fd> has been transmitted.  "
"This function should be used when changing parameters that affect output."
msgstr ""

#. type: IP
#: build/C/man3/termios.3:675
#, no-wrap
msgid "B<TCSAFLUSH>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:680
msgid ""
"the change occurs after all output written to the object referred by I<fd> "
"has been transmitted, and all input that has been received but not read will "
"be discarded before the change is made."
msgstr ""

#. type: SS
#: build/C/man3/termios.3:680
#, no-wrap
msgid "Canonical and noncanonical mode"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:694
msgid ""
"The setting of the B<ICANON> canon flag in I<c_lflag> determines whether the "
"terminal is operating in canonical mode (B<ICANON> set) or noncanonical mode "
"(B<ICANON> unset).  By default, B<ICANON> set."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:696
msgid "In canonical mode:"
msgstr ""

#. type: IP
#: build/C/man3/termios.3:696 build/C/man3/termios.3:703 build/C/man3/termios.3:727 build/C/man3/termios.3:736 build/C/man3/termios.3:741 build/C/man3/termios.3:753
#, no-wrap
msgid "*"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:703
msgid ""
"Input is made available line by line.  An input line is available when one "
"of the line delimiters is typed (NL, EOL, EOL2; or EOF at the start of "
"line).  Except in the case of EOF, the line delimiter is included in the "
"buffer returned by B<read>(2)."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:716
msgid ""
"Line editing is enabled (ERASE, KILL; and if the B<IEXTEN> flag is set: "
"WERASE, REPRINT, LNEXT).  A B<read>(2)  returns at most one line of input; "
"if the B<read>(2)  requested fewer bytes than are available in the current "
"line of input, then only as many bytes as requested are read, and the "
"remaining characters will be available for a future B<read>(2)."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:727
msgid ""
"In noncanonical mode input is available immediately (without the user having "
"to type a line-delimiter character), and line editing is disabled.  The "
"settings of MIN (I<c_cc[VMIN]>)  and TIME (I<c_cc[VTIME]>)  determine the "
"circumstances in which a B<read>(2)  completes; there are four distinct "
"cases:"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:736
msgid ""
"MIN == 0; TIME == 0: If data is available, B<read>(2)  returns immediately, "
"with the lesser of the number of bytes available, or the number of bytes "
"requested.  If no data is available, B<read>(2)  returns 0."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:741
msgid ""
"MIN E<gt> 0; TIME == 0: B<read>(2)  blocks until the lesser of MIN bytes or "
"the number of bytes requested are available, and returns the lesser of these "
"two values."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:753
msgid ""
"MIN == 0; TIME E<gt> 0: TIME specifies the limit for a timer in tenths of a "
"second.  The timer is started when B<read>(2)  is called.  B<read>(2)  "
"returns either when at least one byte of data is available, or when the "
"timer expires.  If the timer expires without any input becoming available, "
"B<read>(2)  returns 0."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:764
msgid ""
"MIN E<gt> 0; TIME E<gt> 0: TIME specifies the limit for a timer in tenths of "
"a second.  Once an initial byte of input becomes available, the timer is "
"restarted after each further byte is received.  B<read>(2)  returns either "
"when the lesser of the number of bytes requested or MIN byte have been read, "
"or when the inter-byte timeout expires.  Because the timer is only started "
"after the initial byte becomes available, at least one byte will be read."
msgstr ""

#. type: SS
#: build/C/man3/termios.3:764
#, no-wrap
msgid "Raw mode"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:773
msgid ""
"B<cfmakeraw>()  sets the terminal to something like the \"raw\" mode of the "
"old Version 7 terminal driver: input is available character by character, "
"echoing is disabled, and all special processing of terminal input and output "
"characters is disabled.  The terminal attributes are set as follows:"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:781
#, no-wrap
msgid ""
"    termios_p-E<gt>c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP\n"
"                    | INLCR | IGNCR | ICRNL | IXON);\n"
"    termios_p-E<gt>c_oflag &= ~OPOST;\n"
"    termios_p-E<gt>c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN);\n"
"    termios_p-E<gt>c_cflag &= ~(CSIZE | PARENB);\n"
"    termios_p-E<gt>c_cflag |= CS8;\n"
msgstr ""

#. type: SS
#: build/C/man3/termios.3:782
#, no-wrap
msgid "Line control"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:792
msgid ""
"B<tcsendbreak>()  transmits a continuous stream of zero-valued bits for a "
"specific duration, if the terminal is using asynchronous serial data "
"transmission.  If I<duration> is zero, it transmits zero-valued bits for at "
"least 0.25 seconds, and not more that 0.5 seconds.  If I<duration> is not "
"zero, it sends zero-valued bits for some implementation-defined length of "
"time."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:796
msgid ""
"If the terminal is not using asynchronous serial data transmission, "
"B<tcsendbreak>()  returns without taking any action."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:801
msgid ""
"B<tcdrain>()  waits until all output written to the object referred to by "
"I<fd> has been transmitted."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:808
msgid ""
"B<tcflush>()  discards data written to the object referred to by I<fd> but "
"not transmitted, or data received but not read, depending on the value of "
"I<queue_selector>:"
msgstr ""

#. type: IP
#: build/C/man3/termios.3:808
#, no-wrap
msgid "B<TCIFLUSH>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:810
msgid "flushes data received but not read."
msgstr ""

#. type: IP
#: build/C/man3/termios.3:810
#, no-wrap
msgid "B<TCOFLUSH>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:812
msgid "flushes data written but not transmitted."
msgstr ""

#. type: IP
#: build/C/man3/termios.3:812
#, no-wrap
msgid "B<TCIOFLUSH>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:815
msgid ""
"flushes both data received but not read, and data written but not "
"transmitted."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:821
msgid ""
"B<tcflow>()  suspends transmission or reception of data on the object "
"referred to by I<fd>, depending on the value of I<action>:"
msgstr ""

#. type: IP
#: build/C/man3/termios.3:821
#, no-wrap
msgid "B<TCOOFF>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:823
msgid "suspends output."
msgstr ""

#. type: IP
#: build/C/man3/termios.3:823
#, no-wrap
msgid "B<TCOON>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:825
msgid "restarts suspended output."
msgstr ""

#. type: IP
#: build/C/man3/termios.3:825
#, no-wrap
msgid "B<TCIOFF>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:828
msgid ""
"transmits a STOP character, which stops the terminal device from "
"transmitting data to the system."
msgstr ""

#. type: IP
#: build/C/man3/termios.3:828
#, no-wrap
msgid "B<TCION>"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:831
msgid ""
"transmits a START character, which starts the terminal device transmitting "
"data to the system."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:834
msgid ""
"The default on open of a terminal file is that neither its input nor its "
"output is suspended."
msgstr ""

#. type: SS
#: build/C/man3/termios.3:834
#, no-wrap
msgid "Line speed"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:841
msgid ""
"The baud rate functions are provided for getting and setting the values of "
"the input and output baud rates in the I<termios> structure.  The new values "
"do not take effect until B<tcsetattr>()  is successfully called."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:845
msgid ""
"Setting the speed to B<B0> instructs the modem to \"hang up\".  The actual "
"bit rate corresponding to B<B38400> may be altered with B<setserial>(8)."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:848
msgid "The input and output baud rates are stored in the I<termios> structure."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:853
msgid ""
"B<cfgetospeed>()  returns the output baud rate stored in the I<termios> "
"structure pointed to by I<termios_p>."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:857
msgid ""
"B<cfsetospeed>()  sets the output baud rate stored in the I<termios> "
"structure pointed to by I<termios_p> to I<speed>, which must be one of these "
"constants:"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:879
#, no-wrap
msgid ""
"B<\tB0\n"
"\tB50\n"
"\tB75\n"
"\tB110\n"
"\tB134\n"
"\tB150\n"
"\tB200\n"
"\tB300\n"
"\tB600\n"
"\tB1200\n"
"\tB1800\n"
"\tB2400\n"
"\tB4800\n"
"\tB9600\n"
"\tB19200\n"
"\tB38400\n"
"\tB57600\n"
"\tB115200\n"
"\tB230400>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:889
msgid ""
"The zero baud rate, B<B0>, is used to terminate the connection.  If B0 is "
"specified, the modem control lines shall no longer be asserted.  Normally, "
"this will disconnect the line.  B<CBAUDEX> is a mask for the speeds beyond "
"those defined in POSIX.1 (57600 and above).  Thus, B<B57600> & B<CBAUDEX> is "
"nonzero."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:892 build/C/man3/termios.3:912
msgid ""
"B<cfgetispeed>()  returns the input baud rate stored in the I<termios> "
"structure."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:900
msgid ""
"B<cfsetispeed>()  sets the input baud rate stored in the I<termios> "
"structure to I<speed>, which must be specified as one of the B<Bnnn> "
"constants listed above for B<cfsetospeed>().  If the input baud rate is set "
"to zero, the input baud rate will be equal to the output baud rate."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:906
msgid ""
"B<cfsetspeed>()  is a 4.4BSD extension.  It takes the same arguments as "
"B<cfsetispeed>(), and sets both input and output speed."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:915
msgid ""
"B<cfgetospeed>()  returns the output baud rate stored in the I<termios> "
"structure."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:917
msgid "All other functions return:"
msgstr ""

#. type: IP
#: build/C/man3/termios.3:917
#, no-wrap
msgid "0"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:919
msgid "on success."
msgstr ""

#. type: IP
#: build/C/man3/termios.3:919
#, no-wrap
msgid "-1"
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:923
msgid "on failure and set I<errno> to indicate the error."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:932
msgid ""
"Note that B<tcsetattr>()  returns success if I<any> of the requested changes "
"could be successfully carried out.  Therefore, when making multiple changes "
"it may be necessary to follow this call with a further call to "
"B<tcgetattr>()  to check that all changes have been performed successfully."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:945
msgid ""
"B<tcgetattr>(), B<tcsetattr>(), B<tcsendbreak>(), B<tcdrain>(), "
"B<tcflush>(), B<tcflow>(), B<cfgetispeed>(), B<cfgetospeed>(), "
"B<cfsetispeed>(), and B<cfsetospeed>()  are specified in POSIX.1-2001."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:950
msgid ""
"B<cfmakeraw>()  and B<cfsetspeed>()  are nonstandard, but available on the "
"BSDs."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:955
msgid ""
"UNIX V7 and several later systems have a list of baud rates where after the "
"fourteen values B0, ..., B9600 one finds the two constants EXTA, EXTB "
"(\"External A\" and \"External B\").  Many systems extend the list with much "
"higher baud rates."
msgstr ""

#.  libc4 until 4.7.5, glibc for sysv: EINVAL for duration > 0.
#.  libc4.7.6, libc5, glibc for unix: duration in ms.
#.  glibc for bsd: duration in us
#.  glibc for sunos4: ignore duration
#. type: Plain text
#: build/C/man3/termios.3:977
msgid ""
"The effect of a nonzero I<duration> with B<tcsendbreak>()  varies.  SunOS "
"specifies a break of I<duration\\ *\\ N> seconds, where I<N> is at least "
"0.25, and not more than 0.5.  Linux, AIX, DU, Tru64 send a break of "
"I<duration> milliseconds.  FreeBSD and NetBSD and HP-UX and MacOS ignore the "
"value of I<duration>.  Under Solaris and UnixWare, B<tcsendbreak>()  with "
"nonzero I<duration> behaves like B<tcdrain>()."
msgstr ""

#. type: Plain text
#: build/C/man3/termios.3:982
msgid "B<stty>(1), B<console_ioctl>(4), B<tty_ioctl>(4), B<setserial>(8)"
msgstr ""

#. type: TH
#: build/C/man4/tty.4:27
#, no-wrap
msgid "TTY"
msgstr ""

#. type: TH
#: build/C/man4/tty.4:27
#, no-wrap
msgid "2003-04-07"
msgstr ""

#. type: Plain text
#: build/C/man4/tty.4:30
msgid "tty - controlling terminal"
msgstr ""

#. type: Plain text
#: build/C/man4/tty.4:34
msgid ""
"The file I</dev/tty> is a character file with major number 5 and minor "
"number 0, usually of mode 0666 and owner.group root.tty.  It is a synonym "
"for the controlling terminal of a process, if any."
msgstr ""

#. type: Plain text
#: build/C/man4/tty.4:41
msgid ""
"In addition to the B<ioctl>(2)  requests supported by the device that B<tty> "
"refers to, the B<ioctl>(2)  request B<TIOCNOTTY> is supported."
msgstr ""

#. type: SS
#: build/C/man4/tty.4:41
#, no-wrap
msgid "TIOCNOTTY"
msgstr ""

#. type: Plain text
#: build/C/man4/tty.4:43
msgid "Detach the calling process from its controlling terminal."
msgstr ""

#. type: Plain text
#: build/C/man4/tty.4:51
msgid ""
"If the process is the session leader, then B<SIGHUP> and B<SIGCONT> signals "
"are sent to the foreground process group and all processes in the current "
"session lose their controlling tty."
msgstr ""

#. type: Plain text
#: build/C/man4/tty.4:63
msgid ""
"This B<ioctl>(2)  call only works on file descriptors connected to "
"I</dev/tty>.  It is used by daemon processes when they are invoked by a user "
"at a terminal.  The process attempts to open I</dev/tty>.  If the open "
"succeeds, it detaches itself from the terminal by using B<TIOCNOTTY>, while "
"if the open fails, it is obviously not attached to a terminal and does not "
"need to detach itself."
msgstr ""

#. type: Plain text
#: build/C/man4/tty.4:65
msgid "/dev/tty"
msgstr ""

#. type: Plain text
#: build/C/man4/tty.4:75
msgid ""
"B<chown>(1), B<mknod>(1), B<ioctl>(2), B<termios>(3), B<console>(4), "
"B<tty_ioctl>(4), B<ttyS>(4), B<agetty>(8), B<mingetty>(8)"
msgstr ""

#. type: TH
#: build/C/man4/tty_ioctl.4:5
#, no-wrap
msgid "TTY_IOCTL"
msgstr ""

#. type: TH
#: build/C/man4/tty_ioctl.4:5
#, no-wrap
msgid "2008-10-29"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:8
msgid "tty_ioctl - ioctls for terminals and serial lines"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:12
msgid "B<int ioctl(int >I<fd>B<, int >I<cmd>B<, ...);>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:18
msgid ""
"The B<ioctl>(2)  call for terminals and serial ports accepts many possible "
"command arguments.  Most require a third argument, of varying type, here "
"called I<argp> or I<arg>."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:25
msgid ""
"Use of I<ioctl> makes for nonportable programs.  Use the POSIX interface "
"described in B<termios>(3)  whenever possible."
msgstr ""

#. type: SS
#: build/C/man4/tty_ioctl.4:25
#, no-wrap
msgid "Get and Set Terminal Attributes"
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:26
#, no-wrap
msgid "B<TCGETS\tstruct termios *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:30
msgid "Equivalent to I<tcgetattr(fd, argp)>."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:32
msgid "Get the current serial port settings."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:32
#, no-wrap
msgid "B<TCSETS\tconst struct termios *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:36
msgid "Equivalent to I<tcsetattr(fd, TCSANOW, argp)>."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:38
msgid "Set the current serial port settings."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:38
#, no-wrap
msgid "B<TCSETSW\tconst struct termios *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:42
msgid "Equivalent to I<tcsetattr(fd, TCSADRAIN, argp)>."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:45
msgid "Allow the output buffer to drain, and set the current serial port settings."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:45
#, no-wrap
msgid "B<TCSETSF\tconst struct termios *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:49
msgid "Equivalent to I<tcsetattr(fd, TCSAFLUSH, argp)>."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:52
msgid ""
"Allow the output buffer to drain, discard pending input, and set the current "
"serial port settings."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:62
msgid ""
"The following four ioctls are just like B<TCGETS>, B<TCSETS>, B<TCSETSW>, "
"B<TCSETSF>, except that they take a I<struct termio *> instead of a I<struct "
"termios *>."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:62
#, no-wrap
msgid "B<TCGETA\tstruct termio *>I<argp>"
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:64
#, no-wrap
msgid "B<TCSETA\tconst struct termio *>I<argp>"
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:66
#, no-wrap
msgid "B<TCSETAW\tconst struct termio *>I<argp>"
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:68
#, no-wrap
msgid "B<TCSETAF\tconst struct termio *>I<argp>"
msgstr ""

#. type: SS
#: build/C/man4/tty_ioctl.4:70
#, no-wrap
msgid "Locking the termios structure"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:78
msgid ""
"The I<termios> structure of a terminal can be locked.  The lock is itself a "
"I<termios> structure, with nonzero bits or fields indicating a locked value."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:78
#, no-wrap
msgid "B<TIOCGLCKTRMIOS\tstruct termios *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:83
msgid "Gets the locking status of the I<termios> structure of the terminal."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:83
#, no-wrap
msgid "B<TIOCSLCKTRMIOS\tconst struct termios *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:91
msgid ""
"Sets the locking status of the I<termios> structure of the terminal.  Only "
"root (more precisely: a process with the B<CAP_SYS_ADMIN> capability) can do "
"this."
msgstr ""

#. type: SS
#: build/C/man4/tty_ioctl.4:91
#, no-wrap
msgid "Get and Set Window Size"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:96
msgid ""
"Window sizes are kept in the kernel, but not used by the kernel (except in "
"the case of virtual consoles, where the kernel will update the window size "
"when the size of the virtual console changes, for example, by loading a new "
"font)."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:99
msgid ""
"The following constants and structure are defined in "
"I<E<lt>sys/ioctl.hE<gt>>."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:99
#, no-wrap
msgid "B<TIOCGWINSZ\tstruct winsize *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:102
msgid "Get window size."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:102
#, no-wrap
msgid "B<TIOCSWINSZ\tconst struct winsize *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:105
msgid "Set window size."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:107
msgid "The struct used by these ioctls is defined as"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:116
#, no-wrap
msgid ""
"struct winsize {\n"
"    unsigned short ws_row;\n"
"    unsigned short ws_col;\n"
"    unsigned short ws_xpixel;   /* unused */\n"
"    unsigned short ws_ypixel;   /* unused */\n"
"};\n"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:123
msgid ""
"When the window size changes, a B<SIGWINCH> signal is sent to the foreground "
"process group."
msgstr ""

#. type: SS
#: build/C/man4/tty_ioctl.4:123
#, no-wrap
msgid "Sending a Break"
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:124
#, no-wrap
msgid "B<TCSBRK\tint >I<arg>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:128
msgid "Equivalent to I<tcsendbreak(fd, arg)>."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:139
msgid ""
"If the terminal is using asynchronous serial data transmission, and I<arg> "
"is zero, then send a break (a stream of zero bits) for between 0.25 and 0.5 "
"seconds.  If the terminal is not using asynchronous serial data "
"transmission, then either a break is sent, or the function returns without "
"doing anything.  When I<arg> is nonzero, nobody knows what will happen."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:157
msgid ""
"(SVr4, UnixWare, Solaris, Linux treat I<tcsendbreak(fd,arg)> with nonzero "
"I<arg> like I<tcdrain(fd)>.  SunOS treats I<arg> as a multiplier, and sends "
"a stream of bits I<arg> times as long as done for zero I<arg>.  DG/UX and "
"AIX treat I<arg> (when nonzero) as a time interval measured in "
"milliseconds.  HP-UX ignores I<arg>.)"
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:157
#, no-wrap
msgid "B<TCSBRKP\tint >I<arg>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:165
msgid ""
"So-called \"POSIX version\" of B<TCSBRK>.  It treats nonzero I<arg> as a "
"timeinterval measured in deciseconds, and does nothing when the driver does "
"not support breaks."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:165
#, no-wrap
msgid "B<TIOCSBRK\tvoid>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:168
msgid "Turn break on, that is, start sending zero bits."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:168
#, no-wrap
msgid "B<TIOCCBRK\tvoid>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:171
msgid "Turn break off, that is, stop sending zero bits."
msgstr ""

#. type: SS
#: build/C/man4/tty_ioctl.4:171
#, no-wrap
msgid "Software flow control"
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:172
#, no-wrap
msgid "B<TCXONC\tint >I<arg>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:176
msgid "Equivalent to I<tcflow(fd, arg)>."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:184
msgid ""
"See B<tcflow>(3)  for the argument values B<TCOOFF>, B<TCOON>, B<TCIOFF>, "
"B<TCION>."
msgstr ""

#. type: SS
#: build/C/man4/tty_ioctl.4:184
#, no-wrap
msgid "Buffer count and flushing"
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:185
#, no-wrap
msgid "B<FIONREAD\tint *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:188
msgid "Get the number of bytes in the input buffer."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:188
#, no-wrap
msgid "B<TIOCINQ\tint *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:192
msgid "Same as B<FIONREAD>."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:192
#, no-wrap
msgid "B<TIOCOUTQ\tint *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:195
msgid "Get the number of bytes in the output buffer."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:195
#, no-wrap
msgid "B<TCFLSH\tint >I<arg>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:199
msgid "Equivalent to I<tcflush(fd, arg)>."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:206
msgid ""
"See B<tcflush>(3)  for the argument values B<TCIFLUSH>, B<TCOFLUSH>, "
"B<TCIOFLUSH>."
msgstr ""

#. type: SS
#: build/C/man4/tty_ioctl.4:206
#, no-wrap
msgid "Faking input"
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:207
#, no-wrap
msgid "B<TIOCSTI\tconst char *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:210
msgid "Insert the given byte in the input queue."
msgstr ""

#. type: SS
#: build/C/man4/tty_ioctl.4:210
#, no-wrap
msgid "Redirecting console output"
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:211
#, no-wrap
msgid "B<TIOCCONS\tvoid>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:233
msgid ""
"Redirect output that would have gone to I</dev/console> or I</dev/tty0> to "
"the given terminal.  If that was a pseudoterminal master, send it to the "
"slave.  In Linux before version 2.6.10, anybody can do this as long as the "
"output was not redirected yet; since version 2.6.10, only root (a process "
"with the B<CAP_SYS_ADMIN> capability) may do this.  If output was redirected "
"already B<EBUSY> is returned, but redirection can be stopped by using this "
"ioctl with I<fd> pointing at I</dev/console> or I</dev/tty0>."
msgstr ""

#. type: SS
#: build/C/man4/tty_ioctl.4:233
#, no-wrap
msgid "Controlling terminal"
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:234
#, no-wrap
msgid "B<TIOCSCTTY\tint >I<arg>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:248
msgid ""
"Make the given terminal the controlling terminal of the calling process.  "
"The calling process must be a session leader and not have a controlling "
"terminal already.  If this terminal is already the controlling terminal of a "
"different session group then the ioctl fails with B<EPERM>, unless the "
"caller is root (more precisely: has the B<CAP_SYS_ADMIN> capability) and "
"I<arg> equals 1, in which case the terminal is stolen, and all processes "
"that had it as controlling terminal lose it."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:248
#, no-wrap
msgid "B<TIOCNOTTY\tvoid>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:259
msgid ""
"If the given terminal was the controlling terminal of the calling process, "
"give up this controlling terminal.  If the process was session leader, then "
"send B<SIGHUP> and B<SIGCONT> to the foreground process group and all "
"processes in the current session lose their controlling terminal."
msgstr ""

#. type: SS
#: build/C/man4/tty_ioctl.4:259
#, no-wrap
msgid "Process group and session ID"
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:260
#, no-wrap
msgid "B<TIOCGPGRP\tpid_t *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:264
msgid "When successful, equivalent to I<*argp = tcgetpgrp(fd)>."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:266
msgid "Get the process group ID of the foreground process group on this terminal."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:266
#, no-wrap
msgid "B<TIOCSPGRP\tconst pid_t *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:270
msgid "Equivalent to I<tcsetpgrp(fd, *argp)>."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:272
msgid "Set the foreground process group ID of this terminal."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:272
#, no-wrap
msgid "B<TIOCGSID\tpid_t *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:280
msgid ""
"Get the session ID of the given terminal.  This will fail with B<ENOTTY> in "
"case the terminal is not a master pseudoterminal and not our controlling "
"terminal.  Strange."
msgstr ""

#. type: SS
#: build/C/man4/tty_ioctl.4:280
#, no-wrap
msgid "Exclusive mode"
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:281
#, no-wrap
msgid "B<TIOCEXCL\tvoid>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:292
msgid ""
"Put the terminal into exclusive mode.  No further B<open>(2)  operations on "
"the terminal are permitted.  (They will fail with B<EBUSY>, except for root, "
"that is, a process with the B<CAP_SYS_ADMIN> capability.)"
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:292
#, no-wrap
msgid "B<TIOCNXCL\tvoid>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:295
msgid "Disable exclusive mode."
msgstr ""

#. type: SS
#: build/C/man4/tty_ioctl.4:295
#, no-wrap
msgid "Line discipline"
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:296
#, no-wrap
msgid "B<TIOCGETD\tint *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:299
msgid "Get the line discipline of the terminal."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:299
#, no-wrap
msgid "B<TIOCSETD\tconst int *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:302
msgid "Set the line discipline of the terminal."
msgstr ""

#. type: SS
#: build/C/man4/tty_ioctl.4:302
#, no-wrap
msgid "Psuedoterminal ioctls"
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:303
#, no-wrap
msgid "B<TIOCPKT\tconst int *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:320
msgid ""
"Enable (when *I<argp> is nonzero) or disable packet mode.  Can be applied to "
"the master side of a pseudoterminal only (and will return B<ENOTTY> "
"otherwise).  In packet mode, each subsequent B<read>(2)  will return a "
"packet that either contains a single nonzero control byte, or has a single "
"byte containing zero (\\(aq\\0\\(aq) followed by data written on the slave "
"side of the pseudoterminal.  If the first byte is not B<TIOCPKT_DATA> (0), "
"it is an OR of one or more of the following bits:"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:328
#, no-wrap
msgid ""
"TIOCPKT_FLUSHREAD   The read queue for the terminal is flushed.\n"
"TIOCPKT_FLUSHWRITE  The write queue for the terminal is flushed.\n"
"TIOCPKT_STOP        Output to the terminal is stopped.\n"
"TIOCPKT_START       Output to the terminal is restarted.\n"
"TIOCPKT_DOSTOP      The start and stop characters are B<^S>/B<^Q>.\n"
"TIOCPKT_NOSTOP      The start and stop characters are not B<^S>/B<^Q>.\n"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:335
msgid ""
"While this mode is in use, the presence of control status information to be "
"read from the master side may be detected by a B<select>(2)  for exceptional "
"conditions."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:342
msgid ""
"This mode is used by B<rlogin>(1)  and B<rlogind>(8)  to implement a "
"remote-echoed, locally B<^S>/B<^Q> flow-controlled remote login."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:349
msgid ""
"The BSD ioctls B<TIOCSTOP>, B<TIOCSTART>, B<TIOCUCNTL>, B<TIOCREMOTE> have "
"not been implemented under Linux."
msgstr ""

#. type: SS
#: build/C/man4/tty_ioctl.4:349
#, no-wrap
msgid "Modem control"
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:350
#, no-wrap
msgid "B<TIOCMGET\tint *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:353
msgid "get the status of modem bits."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:353
#, no-wrap
msgid "B<TIOCMSET\tconst int *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:356
msgid "set the status of modem bits."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:356
#, no-wrap
msgid "B<TIOCMBIC\tconst int *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:359
msgid "clear the indicated modem bits."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:359
#, no-wrap
msgid "B<TIOCMBIS\tconst int *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:362
msgid "set the indicated modem bits."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:364
msgid "Bits used by these four ioctls:"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:377
#, no-wrap
msgid ""
"TIOCM_LE        DSR (data set ready/line enable)\n"
"TIOCM_DTR       DTR (data terminal ready)\n"
"TIOCM_RTS       RTS (request to send)\n"
"TIOCM_ST        Secondary TXD (transmit)\n"
"TIOCM_SR        Secondary RXD (receive)\n"
"TIOCM_CTS       CTS (clear to send)\n"
"TIOCM_CAR       DCD (data carrier detect)\n"
"TIOCM_CD         see TIOCM_CAR\n"
"TIOCM_RNG       RNG (ring)\n"
"TIOCM_RI         see TIOCM_RNG\n"
"TIOCM_DSR       DSR (data set ready)\n"
msgstr ""

#. type: SS
#: build/C/man4/tty_ioctl.4:378
#, no-wrap
msgid "Marking a line as local"
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:379
#, no-wrap
msgid "B<TIOCGSOFTCAR\tint *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:385
msgid ""
"(\"Get software carrier flag\")  Get the status of the CLOCAL flag in the "
"c_cflag field of the I<termios> structure."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:385
#, no-wrap
msgid "B<TIOCSSOFTCAR\tconst int *>I<argp>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:393
msgid ""
"(\"Set software carrier flag\")  Set the CLOCAL flag in the I<termios> "
"structure when *I<argp> is nonzero, and clear it otherwise."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:408
msgid ""
"If the B<CLOCAL> flag for a line is off, the hardware carrier detect (DCD)  "
"signal is significant, and an B<open>(2)  of the corresponding terminal will "
"block until DCD is asserted, unless the B<O_NONBLOCK> flag is given.  If "
"B<CLOCAL> is set, the line behaves as if DCD is always asserted.  The "
"software carrier flag is usually turned on for local devices, and is off for "
"lines with modems."
msgstr ""

#. type: SS
#: build/C/man4/tty_ioctl.4:408
#, no-wrap
msgid "Linux-specific"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:413
msgid "For the B<TIOCLINUX> ioctl, see B<console_ioctl>(4)."
msgstr ""

#. type: SS
#: build/C/man4/tty_ioctl.4:413
#, no-wrap
msgid "Kernel debugging"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:415
msgid "B<#include E<lt>linux/tty.hE<gt>>"
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:415
#, no-wrap
msgid "B<TIOCTTYGSTRUCT\tstruct tty_struct *>I<argp>"
msgstr ""

#
#.  .SS "Serial info"
#.  .BR "#include <linux/serial.h>"
#.  .sp
#.  .TP
#.  .BI "TIOCGSERIAL	struct serial_struct *" argp
#.  Get serial info.
#.  .TP
#.  .BI "TIOCSSERIAL	const struct serial_struct *" argp
#.  Set serial info.
#. type: Plain text
#: build/C/man4/tty_ioctl.4:431
msgid "Get the I<tty_struct> corresponding to I<fd>."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:438
msgid ""
"The B<ioctl>(2)  system call returns 0 on success.  On error it returns -1 "
"and sets I<errno> appropriately."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:442
msgid "Invalid command parameter."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:442
#, no-wrap
msgid "B<ENOIOCTLCMD>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:445
msgid "Unknown command."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:449
msgid "Inappropriate I<fd>."
msgstr ""

#. type: TP
#: build/C/man4/tty_ioctl.4:449
#, no-wrap
msgid "B<EPERM>"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:452
msgid "Insufficient permission."
msgstr ""

#. type: SH
#: build/C/man4/tty_ioctl.4:452 build/C/man5/ttytype.5:54
#, no-wrap
msgid "EXAMPLE"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:454
msgid "Check the condition of DTR on the serial port."
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:459
#, no-wrap
msgid ""
"#include E<lt>termios.hE<gt>\n"
"#include E<lt>fcntl.hE<gt>\n"
"#include E<lt>sys/ioctl.hE<gt>\n"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:464
#, no-wrap
msgid ""
"int\n"
"main(void)\n"
"{\n"
"    int fd, serial;\n"
msgstr ""

#. type: Plain text
#: build/C/man4/tty_ioctl.4:473
#, no-wrap
msgid ""
"    fd = open(\"/dev/ttyS0\", O_RDONLY);\n"
"    ioctl(fd, TIOCMGET, &serial);\n"
"    if (serial & TIOCM_DTR)\n"
"        puts(\"TIOCM_DTR is not set\");\n"
"    else\n"
"        puts(\"TIOCM_DTR is set\");\n"
"    close(fd);\n"
"}\n"
msgstr ""

#
#.  FIONBIO			const int *
#.  FIONCLEX			void
#.  FIOCLEX			void
#.  FIOASYNC			const int *
#.  from serial.c:
#.  TIOCSERCONFIG		void
#.  TIOCSERGWILD		int *
#.  TIOCSERSWILD		const int *
#.  TIOCSERGSTRUCT		struct async_struct *
#.  TIOCSERGETLSR		int *
#.  TIOCSERGETMULTI		struct serial_multiport_struct *
#.  TIOCSERSETMULTI		const struct serial_multiport_struct *
#.  TIOCGSERIAL, TIOCSSERIAL (see above)
#. type: Plain text
#: build/C/man4/tty_ioctl.4:493
msgid "B<ioctl>(2), B<termios>(3), B<console_ioctl>(4), B<pty>(7)"
msgstr ""

#. type: TH
#: build/C/man3/ttyname.3:26
#, no-wrap
msgid "TTYNAME"
msgstr ""

#. type: TH
#: build/C/man3/ttyname.3:26
#, no-wrap
msgid "2008-07-14"
msgstr ""

#. type: Plain text
#: build/C/man3/ttyname.3:29
msgid "ttyname, ttyname_r - return name of a terminal"
msgstr ""

#. type: Plain text
#: build/C/man3/ttyname.3:34
#, no-wrap
msgid "B<char *ttyname(int >I<fd>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/ttyname.3:36
#, no-wrap
msgid "B<int ttyname_r(int >I<fd>B<, char *>I<buf>B<, size_t >I<buflen>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/ttyname.3:51
msgid ""
"The function B<ttyname>()  returns a pointer to the null-terminated pathname "
"of the terminal device that is open on the file descriptor I<fd>, or NULL on "
"error (for example, if I<fd> is not connected to a terminal).  The return "
"value may point to static data, possibly overwritten by the next call.  The "
"function B<ttyname_r>()  stores this pathname in the buffer I<buf> of length "
"I<buflen>."
msgstr ""

#. type: Plain text
#: build/C/man3/ttyname.3:61
msgid ""
"The function B<ttyname>()  returns a pointer to a pathname on success.  On "
"error, NULL is returned, and I<errno> is set appropriately.  The function "
"B<ttyname_r>()  returns 0 on success, and an error number upon error."
msgstr ""

#. type: Plain text
#: build/C/man3/ttyname.3:63
msgid "B<ttyname_r>():"
msgstr ""

#. type: Plain text
#: build/C/man3/ttyname.3:66
msgid "Bad file descriptor."
msgstr ""

#. type: Plain text
#: build/C/man3/ttyname.3:69
msgid "File descriptor does not refer to a terminal device."
msgstr ""

#. type: Plain text
#: build/C/man3/ttyname.3:73
msgid "I<buflen> was too small to allow storing the pathname."
msgstr ""

#. type: Plain text
#: build/C/man3/ttyname.3:75
msgid "4.2BSD, POSIX.1-2001."
msgstr ""

#. type: Plain text
#: build/C/man3/ttyname.3:78
msgid "B<fstat>(2), B<isatty>(3)"
msgstr ""

#. type: TH
#: build/C/man3/ttyslot.3:26
#, no-wrap
msgid "TTYSLOT"
msgstr ""

#. type: Plain text
#: build/C/man3/ttyslot.3:29
msgid "ttyslot - find the slot of the current user's terminal in some file"
msgstr ""

#. type: Plain text
#: build/C/man3/ttyslot.3:31
msgid "B<#include E<lt>unistd.hE<gt>> /* on BSD-like systems, and Linux */"
msgstr ""

#. type: Plain text
#: build/C/man3/ttyslot.3:33
msgid "B<#include E<lt>stdlib.hE<gt>> /* on System V-like systems */"
msgstr ""

#. type: Plain text
#: build/C/man3/ttyslot.3:35
msgid "B<int ttyslot(void);>"
msgstr ""

#. type: Plain text
#: build/C/man3/ttyslot.3:43
msgid "B<ttyslot>():"
msgstr ""

#. type: Plain text
#: build/C/man3/ttyslot.3:45
msgid "_BSD_SOURCE ||"
msgstr ""

#. type: Plain text
#: build/C/man3/ttyslot.3:47
msgid ""
"_XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_\\ E<lt>\\ 500\\ &&\\ "
"_XOPEN_SOURCE_EXTENDED"
msgstr ""

#. type: Plain text
#: build/C/man3/ttyslot.3:53
msgid ""
"The legacy function B<ttyslot>()  returns the index of the current user's "
"entry in some file."
msgstr ""

#. type: Plain text
#: build/C/man3/ttyslot.3:56
msgid "Now \"What file?\" you ask.  Well, let's first look at some history."
msgstr ""

#. type: SS
#: build/C/man3/ttyslot.3:56
#, no-wrap
msgid "Ancient History"
msgstr ""

#. type: Plain text
#: build/C/man3/ttyslot.3:73
msgid ""
"There used to be a file I</etc/ttys> in UNIX V6, that was read by the "
"B<init>(8)  program to find out what to do with each terminal line.  Each "
"line consisted of three characters.  The first character was either "
"\\(aq0\\(aq or \\(aq1\\(aq, where \\(aq0\\(aq meant \"ignore\".  The second "
"character denoted the terminal: \\(aq8\\(aq stood for \"/dev/tty8\".  The "
"third character was an argument to B<getty>(8)  indicating the sequence of "
"line speeds to try (\\(aq-\\(aq was: start trying 110 baud).  Thus a typical "
"line was \"18-\".  A hang on some line was solved by changing the "
"\\(aq1\\(aq to a \\(aq0\\(aq, signaling init, changing back again, and "
"signaling init again."
msgstr ""

#. type: Plain text
#: build/C/man3/ttyslot.3:81
msgid ""
"In UNIX V7 the format was changed: here the second character was the "
"argument to B<getty>(8)  indicating the sequence of line speeds to try "
"(\\(aq0\\(aq was: cycle through 300-1200-150-110 baud; \\(aq4\\(aq was for "
"the on-line console DECwriter)  while the rest of the line contained the "
"name of the tty.  Thus a typical line was \"14console\"."
msgstr ""

#. type: Plain text
#: build/C/man3/ttyslot.3:86
msgid ""
"Later systems have more elaborate syntax.  System V-like systems have "
"I</etc/inittab> instead."
msgstr ""

#. type: SS
#: build/C/man3/ttyslot.3:86
#, no-wrap
msgid "Ancient History (2)"
msgstr ""

#. type: Plain text
#: build/C/man3/ttyslot.3:100
msgid ""
"On the other hand, there is the file I</etc/utmp> listing the people "
"currently logged in.  It is maintained by B<login>(1).  It has a fixed size, "
"and the appropriate index in the file was determined by B<login>(1)  using "
"the B<ttyslot>()  call to find the number of the line in I</etc/ttys> "
"(counting from 1)."
msgstr ""

#. type: SS
#: build/C/man3/ttyslot.3:100
#, no-wrap
msgid "The semantics of ttyslot"
msgstr ""

#. type: Plain text
#: build/C/man3/ttyslot.3:115
msgid ""
"Thus, the function B<ttyslot>()  returns the index of the controlling "
"terminal of the calling process in the file I</etc/ttys>, and that is "
"(usually) the same as the index of the entry for the current user in the "
"file I</etc/utmp>.  BSD still has the I</etc/ttys> file, but System V-like "
"systems do not, and hence cannot refer to it.  Thus, on such systems the "
"documentation says that B<ttyslot>()  returns the current user's index in "
"the user accounting data base."
msgstr ""

#. type: Plain text
#: build/C/man3/ttyslot.3:121
msgid ""
"If successful, this function returns the slot number.  On error (e.g., if "
"none of the file descriptors 0, 1 or 2 is associated with a terminal that "
"occurs in this data base)  it returns 0 on UNIX V6 and V7 and BSD-like "
"systems, but -1 on System V-like systems."
msgstr ""

#. type: Plain text
#: build/C/man3/ttyslot.3:124
msgid ""
"SUSv1; marked as LEGACY in SUSv2; removed in POSIX.1-2001.  SUSv2 requires "
"-1 on error."
msgstr ""

#. type: Plain text
#: build/C/man3/ttyslot.3:129
msgid ""
"The utmp file is found various places on various systems, such as "
"I</etc/utmp>, I</var/adm/utmp>, I</var/run/utmp>."
msgstr ""

#. type: Plain text
#: build/C/man3/ttyslot.3:138
msgid ""
"The glibc2 implementation of this function reads the file B<_PATH_TTYS>, "
"defined in I<E<lt>ttyent.hE<gt>> as \"/etc/ttys\".  It returns 0 on error.  "
"Since Linux systems do not usually have \"/etc/ttys\", it will always return "
"0."
msgstr ""

#.  .SH HISTORY
#.  .BR ttyslot ()
#.  appeared in UNIX V7.
#. type: Plain text
#: build/C/man3/ttyslot.3:144
msgid "Minix also has I<fttyslot>(I<fd>)."
msgstr ""

#. type: Plain text
#: build/C/man3/ttyslot.3:148
msgid "B<getttyent>(3), B<ttyname>(3), B<utmp>(5)"
msgstr ""

#. type: TH
#: build/C/man5/ttytype.5:28
#, no-wrap
msgid "TTYTYPE"
msgstr ""

#. type: TH
#: build/C/man5/ttytype.5:28
#, no-wrap
msgid "1993-07-24"
msgstr ""

#. type: Plain text
#: build/C/man5/ttytype.5:31
msgid "ttytype - terminal device to default terminal type mapping"
msgstr ""

#. type: Plain text
#: build/C/man5/ttytype.5:39
msgid ""
"The I</etc/ttytype> file associates termcap/terminfo terminal type names "
"with tty lines.  Each line consists of a terminal type, followed by "
"whitespace, followed by a tty name (a device name without the I</dev/>) "
"prefix."
msgstr ""

#. type: Plain text
#: build/C/man5/ttytype.5:46
msgid ""
"This association is used by the program B<tset>(1)  to set the environment "
"variable B<TERM> to the default terminal name for the user's current tty."
msgstr ""

#. type: Plain text
#: build/C/man5/ttytype.5:50
msgid ""
"This facility was designed for a traditional time-sharing environment "
"featuring character-cell terminals hardwired to a UNIX minicomputer.  It is "
"little used on modern workstation and personal UNIX systems."
msgstr ""

#. type: TP
#: build/C/man5/ttytype.5:51
#, no-wrap
msgid "I</etc/ttytype>"
msgstr ""

#. type: Plain text
#: build/C/man5/ttytype.5:54
msgid "the tty definitions file."
msgstr ""

#. type: Plain text
#: build/C/man5/ttytype.5:58
msgid "A typical I</etc/ttytype> is:"
msgstr ""

#. type: Plain text
#: build/C/man5/ttytype.5:61
msgid "con80x25 tty1"
msgstr ""

#. type: Plain text
#: build/C/man5/ttytype.5:63
msgid "vt320 ttys0"
msgstr ""

#. type: Plain text
#: build/C/man5/ttytype.5:69
msgid "B<termcap>(5), B<terminfo>(5), B<agetty>(8), B<mingetty>(8)"
msgstr ""

#. type: TH
#: build/C/man3/unlockpt.3:4
#, no-wrap
msgid "UNLOCKPT"
msgstr ""

#. type: Plain text
#: build/C/man3/unlockpt.3:7
msgid "unlockpt - unlock a pseudoterminal master/slave pair"
msgstr ""

#. type: Plain text
#: build/C/man3/unlockpt.3:14
#, no-wrap
msgid "B<int unlockpt(int >I<fd>B<);>\n"
msgstr ""

#. type: Plain text
#: build/C/man3/unlockpt.3:21
msgid ""
"The B<unlockpt>()  function unlocks the slave pseudoterminal device "
"corresponding to the master pseudoterminal referred to by I<fd>."
msgstr ""

#. type: Plain text
#: build/C/man3/unlockpt.3:24
msgid ""
"B<unlockpt>()  should be called before opening the slave side of a "
"pseudoterminal."
msgstr ""

#. type: Plain text
#: build/C/man3/unlockpt.3:31
msgid ""
"When successful, B<unlockpt>()  returns 0.  Otherwise, it returns -1 and "
"sets I<errno> appropriately."
msgstr ""

#. type: Plain text
#: build/C/man3/unlockpt.3:37
msgid "The I<fd> argument is not a file descriptor open for writing."
msgstr ""

#. type: Plain text
#: build/C/man3/unlockpt.3:42
msgid "The I<fd> argument is not associated with a master pseudoterminal."
msgstr ""

#. type: Plain text
#: build/C/man3/unlockpt.3:45
msgid "B<unlockpt>()  is provided in glibc since version 2.1."
msgstr ""

#. type: Plain text
#: build/C/man3/unlockpt.3:53
msgid "B<grantpt>(3), B<posix_openpt>(3), B<ptsname>(3), B<pts>(4), B<pty>(7)"
msgstr ""
