diff options
Diffstat (limited to 'src/socket.c')
-rw-r--r-- | src/socket.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/socket.c b/src/socket.c index dcca395..b50950e 100644 --- a/src/socket.c +++ b/src/socket.c @@ -798,10 +798,6 @@ CreateTempDisplay(struct msg *m, int recvfd, struct win *win) if (attach) Kill(pid, SIGCONT); -#if defined(ultrix) || defined(pyr) || defined(NeXT) - brktty(i); /* for some strange reason this must be done */ -#endif - if (attach) { if (display || win) @@ -1125,28 +1121,6 @@ ReceiveRaw(int s) close(s); } -#if defined(_SEQUENT_) && !defined(NAMEDPIPE) -#undef connect -/* - * sequent_ptx socket emulation must have mode 000 on the socket! - */ -static int -sconnect(int s, struct sockaddr *sapp, int len) -{ - register struct sockaddr_un *sap; - struct stat st; - int x; - - sap = (struct sockaddr_un *)sapp; - if (stat(sap->sun_path, &st)) - return -1; - chmod(sap->sun_path, 0); - x = connect(s, (struct sockaddr *) sap, len); - chmod(sap->sun_path, st.st_mode); - return x; -} -#endif - /* * Set the mode bits of the socket to the current status @@ -1215,16 +1189,6 @@ FinishAttach(struct msg *m) ) FinishDetach(m); -#if defined(pyr) || defined(xelos) || defined(sequent) - /* - * Kludge for systems with braindamaged termcap routines, - * which evaluate $TERMCAP, regardless weather it describes - * the correct terminal type or not. - */ - debug("unsetenv(TERMCAP) in case of a different terminal"); - unsetenv("TERMCAP"); -#endif - /* * We reboot our Terminal Emulator. Forget all we knew about * the old terminal, reread the termcap entries in .screenrc |