home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!spool.mu.edu!umn.edu!lynx!SantaFe!laguna!andy
- From: andy@laguna.santafe.edu (Andy Mell)
- Newsgroups: comp.sys.acorn.tech
- Subject: Re: MicroEmacs 3.11c/RISCiX
- Message-ID: <xnnrfaj@SantaFe.edu>
- Date: 28 Dec 92 20:59:24 GMT
- References: <1hlfkeINNbu1@swan.doc.ic.ac.uk>
- Organization: Santa Fe Institute
- Lines: 24
-
- In article <1hlfkeINNbu1@swan.doc.ic.ac.uk> mybg@doc.ic.ac.uk (M Y Ben Gershon) writes:
- >RISCiX 1.21 comes with MicroEmacs 3.9. It works in an xterm window, being
- >resized whenever the window is resized. I have tried without much success to
- >get MicroEmacs 3.11c todo the same. I can get it to work properly, but
- >without responding to the xterm window being resized. Having seen it work
- >on oter systems, I cannot believe that this is a RISCiX 'exclusive'. Does
-
- Window resizing has nothing at all to do with termcap, you are mistaken, it
- relies on a SIGWINCH signal being sent to the process when its window is
- resized. The key to making microemacs refresh properly in a differently
- sized window is to intercept SIGWINCH with signal() or other somesuch,
- obtain the window sizes and refresh.
-
- It is more than likely you are not using the correct #defines, so go through
- the source again, and find what #define that SIGWINCH use is conditional on.
-
- Andy
-
-
- --
- -------------------------------------------------------------------------------
- Andy Mell, Applied Physics Department, | andy@santafe.edu
- University of Hull, Hull, HU7 6RX | amell@nyx.cs.du.edu
- England. | torq@gnu.ai.mit.edu
-