home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / acorn / tech / 1140 < prev    next >
Encoding:
Internet Message Format  |  1992-12-28  |  1.5 KB

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