Solaris adjustment.

svn path=/trunk/kdebase/konsole/; revision=16214
wilder-portage
Lars Doelle 28 years ago
parent 00348d25b5
commit 0e815587c0
  1. 2
      CONTRIBUTORS
  2. 2
      ChangeLog
  3. 13
      src/TEShell.C

@ -1,4 +1,4 @@
CONTRIBUTORS
CONTRIBUTORS. See ChangeLog also
- Warwick Allison <warwick@troll.no>
- 16 color SGR codes (xterm-83)

@ -1,3 +1,5 @@
30 Jan 1998 Kyle Haight <khaight@netcom.com>
- Solaris 2.6 adjustment
30 Jan 1998 Warwick Allison <warwick@troll.no>
- character classes (removing word_characters code)
- "word" selection based on character classes

@ -44,6 +44,11 @@
#include <bsdtty.h>
#endif
#ifdef HAVE_SYS_STROPTS_H
#include <sys/stropts.h>
#define _NEW_TTY_CTRL
#endif
#include <assert.h>
#include <time.h>
#include <signal.h>
@ -103,7 +108,13 @@ void Shell::makeShell(const char* dev, QStrList & args,
{ int sig; char* t;
// open and set all standard files to master/slave tty
int tt = open(dev, O_RDWR | O_EXCL);
// Solaris apparently needs this
#if defined(SVR4) || defined(__SVR4)
ioctl(tt, I_PUSH, "ptem");
ioctl(tt, I_PUSH, "ldterm");
#endif
//reset signal handlers for child process
for (sig = 1; sig < NSIG; sig++) signal(sig,SIG_DFL);

Loading…
Cancel
Save