home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.elm
- Path: sparky!uunet!math.fu-berlin.de!fub!obh.in-berlin.de!aeon.in-berlin.de!thomas
- From: thomas@aeon.in-berlin.de (Thomas Wolfram)
- Subject: Elm 2.4dev PL17, SIGWINCH on ISC 3.0
- Message-ID: <BzrpJC.CG@aeon.in-berlin.de>
- Keywords: Elm2.4dev,PL17,SIGWINCH,ISC
- Organization: Cities in Dust
- Date: Thu, 24 Dec 1992 14:28:23 GMT
- Lines: 56
-
- Hi,
- I've compiled Elm 2.4dev PL17 on ISC 3.0 and I encounter following
- I had to fix:
-
- Elm didn't recognize changing the window size if it was running
- within a xterm. I found that there where two problems:
-
- - the Configure script prefers the POSIX-style header "termios.h",
- unfortunatly this header doesn't define TIOCGWINSZ on ISC 3.0.
- Hence I changed it manually in config.h for using instead
- "termio.h" and it worked (#define TERMIO)
-
- - ISC 3.0 (a SVR3.2 derived system) doesn't restore the signal
- action to the user function by itself, this must be done by
- the signal handler and the SIGWINCH handler in signals.c
- does it not, hence I changed it from:
-
- #ifdef SIGWINCH
- sighan_type
- winch_signal()
- {
- resize_screen = 1;
- }
- #endif
-
- to:
-
- #ifdef SIGWINCH
- sighan_type
- winch_signal()
- {
- resize_screen = 1;
- #ifndef BSD
- signal(SIGWINCH, winch_signal);
- #endif
-
- }
- #endif
-
-
- With this little changes Elm 2.4dev PL17 works fine on ISC 3.0.
- (I didn't try all the features yet.) Perhaps I should also mention
- that I had to use "-lc_s -lcposix -linet" for the libraries and I
- used gcc 2.2.2 with -O2 and -fpcc-struct-return in standard (ANSI/GCC)
- mode.
-
- Maybe this helps someone.
-
- BTW, is 2.4dev PL17 the last version? What means that "dev"?
-
- Thank you,
- Merry Christmas and happy new year,
- Thomas
- --
- Thomas Wolfram, thomas@aeon.in-berlin.de
- EANTC, TU Berlin, wolf@prz.tu-berlin.de, +49 030 31421294
-