Searched refs:tty (Results 51 - 75 of 259) sorted by relevance

1234567891011

/macosx-10.10/pam_modules-140/modules/pam_uwtmp/
H A Dpam_uwtmp.c52 char *tty; local
66 if (PAM_SUCCESS != (status = pam_get_item(pamh, PAM_TTY, (const void **)&tty))) {
67 openpam_log(PAM_LOG_DEBUG, "Unable to obtain the tty.");
70 if (NULL == tty) {
71 openpam_log(PAM_LOG_DEBUG, "The tty is NULL.");
74 strlcpy(u->ut_line, tty, sizeof(u->ut_line));
/macosx-10.10/sudo-73/src/
H A Daix.c169 aix_prep_user(user, tty)
171 char *tty;
178 user, '\0', user, '\0', user, '\0', tty ? tty : "", '\0');
H A Dsiglist.in47 TTIN Stopped (tty input)
48 TTOU Stopped (tty output)
/macosx-10.10/remote_cmds-47/rlogin.tproj/
H A Drlogin.c160 struct termios tty; local
311 if (len < (sizeof(term) - 1) && tcgetattr(0, &tty) == 0) {
313 for (ospeed = i = cfgetospeed(&tty), len2 = 2; i > 9; len2++)
768 struct termios tty; local
802 (void)tcgetattr(0, &tty);
803 tty.c_iflag &= ~IXON;
804 (void)tcsetattr(0, TCSANOW, &tty);
810 (void)tcgetattr(0, &tty);
811 tty.c_iflag |= (deftty.c_iflag & IXON);
812 (void)tcsetattr(0, TCSANOW, &tty);
923 struct termios tty; local
[all...]
/macosx-10.10/OpenSSH-189/openssh/
H A Dauth-sia.c83 session_setup_sia(struct passwd *pw, char *tty) argument
91 tty, 0, NULL) != SIASUCCESS)
H A Dsession.h39 /* tty */
43 char tty[TTYSZ]; member in struct:Session
/macosx-10.10/bash-94.1.2/bash-3.2/tests/
H A Drun-all26 if stty < /dev/tty >/dev/null; then
/macosx-10.10/efax-38/efax/
H A Defax.rc18 DEVANSWER=`echo $DEV|sed -e "s/cu\.\(.*\)/tty.\1/g"`
22 DEVANSWER=tty.usbmodem
/macosx-10.10/emacs-93/emacs/lisp/url/
H A Durl-privacy.el32 (defun url-device-type (&optional device) (or window-system 'tty)))
57 (tty "TTY")
/macosx-10.10/file_cmds-242/gzip/
H A Dzmore62 if tty -s && test -n "$oterm" -a $# -gt 0; then
/macosx-10.10/OpenSSL098-52/src/crypto/ui/
H A Dui_openssl.c219 # define TTY_get(tty,data) tcgetattr(tty,data)
220 # define TTY_set(tty,data) tcsetattr(tty,TCSANOW,data)
227 # define TTY_get(tty,data) ioctl(tty,TCGETA,data)
228 # define TTY_set(tty,data) ioctl(tty,TCSETA,data)
235 # define TTY_get(tty,data) ioctl(tty,TIOCGET
667 noecho_fgets(char *buf, int size, FILE *tty) argument
[all...]
/macosx-10.10/CPANInternal-159.1/Perl4-CoreLibs-0.003/lib/
H A Dchat2.pl118 ## opens a /bin/sh on a pseudo-tty
125 local($pty,$tty) = &_getpty(S,TTY);
132 if (open(DEVTTY, "/dev/tty")) {
347 # ($pty,$tty) = $chat'_getpty(PTY,TTY):
349 # opens pty on handle PTY, and matching tty on handle TTY.
357 local($pty, $tty, $kind);
369 ($tty = $pty) =~ s/pty/tty/;
370 open($_TTY,"+>$tty") || next;
372 system "stty nl>$tty";
[all...]
/macosx-10.10/adv_cmds-158/finger/
H A Dsprint.c117 if (*w->tty)
119 (strncmp(w->tty, "tty", 3)
120 && strncmp(w->tty, "cua", 3))
121 ? w->tty : w->tty + 3);
/macosx-10.10/gnuserv-7/gnuserv/
H A Ddevices.el75 ((eq type 'tty)
88 tty A standard TTY connection or terminal. CONNECTION should be
90 the Unix command `tty') or nil for XEmacs' standard input
105 (defun make-tty-device (&optional tty terminal-type)
107 TTY should be the name of a tty device file (e.g. \"/dev/ttyp3\" under
108 SunOS et al.), as returned by the `tty' command. A value of nil means
111 type of the terminal attached to the specified tty. If it is nil,
113 (make-device 'tty tty (lis
[all...]
/macosx-10.10/remote_cmds-47/talkd.tproj/
H A Dprocess.c197 find_user(const char *name, char *tty) argument
215 if (*tty == '\0') {
217 /* no particular tty was requested */
223 (void) strcpy(tty, line);
228 if (strcmp(line, tty) == 0) {
254 if (*tty == '\0' || best != 0) {
257 /* no particular tty was requested */
265 (void) strcpy(tty, line);
271 if (strcmp(line, tty) == 0) {
/macosx-10.10/ruby-106/ruby/lib/rubygems/
H A Duser_interaction.rb138 def tty?
142 @usetty && @ins.tty?
181 # to a tty, raises an exception if default is nil, otherwise returns
185 unless tty? then
188 "Not connected to a tty and no default specified"
218 # Ask a question. Returns an answer if connected to a tty, nil otherwise.
221 return nil if not tty?
236 return nil if not tty?
252 return nil if not tty?
264 return nil if not tty
[all...]
/macosx-10.10/OpenPAM-20/openpam/bin/su/
H A Dsu.c70 const char *user, *tty; local
106 tty = ttyname(STDERR_FILENO);
107 if ((pam_err = pam_set_item(pamh, PAM_TTY, tty)) != PAM_SUCCESS)
/macosx-10.10/shell_cmds-179/killall/
H A Dkillall.c69 " [-u user] [-t tty] [-c cmd] [-SIGNAL] [cmd]...\n");
181 char *tty = NULL; local
254 tty = optarg;
274 if (user == NULL && tty == NULL && cmd == NULL && ac == 0)
276 if (user == NULL && tty == NULL && cmd == NULL && !jflag && ac == 0)
280 if (tty) {
281 if (strncmp(tty, "/dev/", 5) == 0)
282 snprintf(buf, sizeof(buf), "%s", tty);
283 else if (strncmp(tty, "tty",
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/dev/i386/
H A Dcons.c33 * the console device, which can be any tty class device. It does this by
35 * console tty device.
38 * back to the "km" device, which is a tty BSD wrapper device for the
40 * to the tty device device instead.
47 * controlling tty, since you will get a reference to a device which does
54 #include <sys/tty.h>
58 struct tty *constty; /* current console device */
64 extern struct tty *km_tty[1];
129 * XXX it back to the fake tty.
/macosx-10.10/emacs-93/emacs/lisp/emulation/
H A Dedt-mapper.el162 (if (and edt-window-system (not (eq edt-window-system 'tty)))
171 (if (and edt-window-system (not (eq edt-window-system 'tty)))
197 (if (and edt-window-system (not (eq edt-window-system 'tty)))
270 (if (and edt-window-system (not (eq edt-window-system 'tty)))
/macosx-10.10/emacs-93/emacs/lisp/gnus/
H A Dsieve-mode.el74 '((((type tty) (class color)) (:foreground "blue" :weight light))
89 '((((type tty) (class color)) (:foreground "blue" :weight bold))
102 '((((type tty) (class color)) (:foreground "magenta"))
119 '((((type tty) (class color)) (:foreground "cyan" :weight bold))
/macosx-10.10/libtelnet-13/
H A Dforward.c47 char *tty;
/macosx-10.10/shell_cmds-179/test/
H A DTEST.csh14 echo 't -c /dev/tty'
15 t -c /dev/tty
29 echo 't -f /dev/tty'
30 t -f /dev/tty
/macosx-10.10/xnu-2782.1.97/bsd/man/man4/
H A DMakefile42 tty.4 \
/macosx-10.10/Heimdal-398.1.2/appl/login/
H A Dlogin.c267 char *tty, char *ttyn)
272 if (utmpx_login(tty, username, hostname) != 0 && !f_flag) {
310 * information about the user. `ttyn' is the complete name of the tty
311 * and `tty' the short name.
315 do_login(const struct passwd *pwd, char *tty, char *ttyn) argument
334 tty, ttyn);
336 gr = getgrnam ("tty");
606 /* Default tty settings. */
644 char *tty, *ttyn; local
708 tty
266 update_utmp(const char *username, const char *hostname, char *tty, char *ttyn) argument
[all...]

Completed in 366 milliseconds

1234567891011