Home
last modified time | relevance | path

Searched refs:termfd (Results 1 – 10 of 10) sorted by relevance

/dports/net/vde2/vde2-2.3.2/src/lib/
H A Dlibvdehist.c61 int termfd; /* fd to the terminal */ member
99 vdehist_termwrite(termfd,buf,strlen(buf)); in showexpand()
244 vdehist_termwrite(st->termfd,buf,bufsize); in erase_line()
265 vdehist_termwrite(st->termfd,buf,bufsize); in redraw_line()
352 vdehist_termwrite(st->termfd,"\r\n",2); in hist_sendcmd()
429 telnet_option_send3(st->termfd,DONT,*(s+1)); in telnet_options()
431 telnet_option_send3(st->termfd,WONT,*(s+1)); in telnet_options()
440 n=vdehist_termread(st->termfd,buf,BUFSIZE); in vdehist_term_to_mgmt()
543 vdehist_termwrite(st->termfd,"\033[@",3); in vdehist_term_to_mgmt()
589 st->termfd=termfd; in vdehist_new()
[all …]
/dports/net/latd/latd-1.31/
H A Dllogin.cc371 int termfd = STDIN_FILENO; in terminal() local
376 tcgetattr(termfd, &old_term); in terminal()
400 tcsetattr(termfd, TCSANOW, &new_term); in terminal()
407 FD_SET(termfd, &in_set); in terminal()
416 if (FD_ISSET(termfd, &in_set)) in terminal()
456 write(termfd, inbuf, len); in terminal()
473 int termfd; in do_use_port() local
488 termfd = open(portname, O_RDWR); in do_use_port()
489 if (termfd < 0) in do_use_port()
498 tcgetattr(termfd, &old_term); in do_use_port()
[all …]
H A Dmoprc.cc391 int termfd = STDIN_FILENO; in do_moprc() local
395 tcgetattr(termfd, &old_term); in do_moprc()
406 tcsetattr(termfd, TCSANOW, &new_term); in do_moprc()
554 tcsetattr(termfd, TCSANOW, &old_term); in do_moprc()
/dports/mail/courier/courier-0.65.3/cgi/
H A Dcgidaemond.c43 static void run_daemon(int fd, int termfd, int connfd, void (*handler)(void *),
223 static void run_daemon(int fd, int termfd, int acceptedfd, in run_daemon() argument
240 if (termfd >= 0) in run_daemon()
242 if (termfd > maxfd) in run_daemon()
243 maxfd=termfd; in run_daemon()
245 FD_SET(termfd, &fdr); in run_daemon()
250 if (termfd >= 0 && in run_daemon()
251 FD_ISSET(termfd, &fdr)) /* Terminate all child procs */ in run_daemon()
264 if (termfd >= 0) in run_daemon()
265 close(termfd); in run_daemon()
/dports/mail/sqwebmail/sqwebmail-6.0.6/libs/cgi/
H A Dcgidaemond.c42 static void run_daemon(int fd, int termfd, int connfd, void (*handler)(void *),
222 static void run_daemon(int fd, int termfd, int acceptedfd, in run_daemon() argument
239 if (termfd >= 0) in run_daemon()
241 if (termfd > maxfd) in run_daemon()
242 maxfd=termfd; in run_daemon()
244 FD_SET(termfd, &fdr); in run_daemon()
249 if (termfd >= 0 && in run_daemon()
250 FD_ISSET(termfd, &fdr)) /* Terminate all child procs */ in run_daemon()
263 if (termfd >= 0) in run_daemon()
264 close(termfd); in run_daemon()
/dports/net/vde2/vde2-2.3.2/src/
H A Dvdeterm.c82 static char *copy_header_prompt (int vdefd,int termfd,char *sock) in copy_header_prompt() argument
97 write(termfd,buf,n+1); in copy_header_prompt()
101 write(termfd,buf,n); in copy_header_prompt()
/dports/comms/morse/morse-2.5/morse.d/
H A Dmorse.c1737 static int termfd; variable
1746 termfd = open (terminal, O_RDWR | O_NDELAY, 0); in openterminal()
1747 tcgetattr(termfd, &termgtty); in openterminal()
1754 tcsetattr(termfd, TCSADRAIN, &termgtty); in openterminal()
1765 n = read (termfd, line, sizeof (line) - 1); in readterminal()
1781 tcsetattr(termfd, TCSADRAIN, &oldtermgtty); in closeterminal()
1782 close (termfd); in closeterminal()
/dports/net/vde2/vde2-2.3.2/include/
H A Dlibvdehist.h42 struct vdehiststat *vdehist_new(int termfd,int mgmtfd);
/dports/lang/yabasic/yabasic-2.90.1/unix/lang/
H A Dio.c320 int winfd, termfd; in inkey() local
342 termfd = fileno (stdin); in inkey()
343 maxfd = (termfd > winfd) ? termfd : winfd; in inkey()
391 FD_SET(termfd, &readfds); in inkey()
434 if (FD_ISSET(termfd, &readfds)) { in inkey()
/dports/devel/notcurses/notcurses-3.0.1/src/lib/
H A Din.c60 int termfd; // terminal fd: -1 with no controlling terminal, or member
1620 i->termfd = tty_check(i->stdinfd) ? -1 : get_tty_fd(infp);
1647 logdebug("input descriptors: %d/%d\n", i->stdinfd, i->termfd);
1680 if(i->termfd >= 0){
1681 close(i->termfd);
1828 return ictx->termfd >= 0;
2177 if(ictx->termfd >= 0){
2178 pfds[pfdcount].fd = ictx->termfd;
2216 }else if(pfds[pfdcount].fd == ictx->termfd){
2237 read_input_nblock(ictx->termfd, ictx->tbuf, sizeof(ictx->tbuf),