home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / editors / 2803 < prev    next >
Encoding:
Text File  |  1992-11-18  |  1.7 KB  |  50 lines

  1. Newsgroups: comp.editors
  2. Path: sparky!uunet!mcsun!sun4nl!sci.kun.nl!cs.kun.nl!hansm
  3. From: hansm@cs.kun.nl (Hans Mulder)
  4. Subject: Re: How can I resize Elvis in a xterm window?
  5. Message-ID: <Bxx473.7K1@sci.kun.nl>
  6. Sender: news@sci.kun.nl (NUnet News Owner)
  7. Organization: University of Nijmegen, The Netherlands
  8. References: <1992Oct21.131950.16914@ugle.unit.no> <1992Oct23.145352.6439@Celestial.COM> <1992Oct28.073011.17480@ugle.unit.no> <ellis.721949068@nova> <Bxv49o.9L0@sci.kun.nl> <1eb886INN2ic@lambda.db.erau.edu>
  9. Distribution: inet
  10. Date: Wed, 18 Nov 1992 15:25:50 GMT
  11. Lines: 37
  12.  
  13. In <1eb886INN2ic@lambda.db.erau.edu> ralp@db.erau.edu (Ralph E. Bugg) writes:
  14.  
  15. >hansm@cs.kun.nl (Hans Mulder) writes:
  16. >>I have tested vi variants.  The one that comes with SunOS 4.0.x does react
  17. >>to SIGWINCH; the one that comes with 4.1.x doesn't.  Weird, but true.
  18. >>Sun's explanation is that the "new" version of vi (since when does SVR3.1
  19. >>count as "new" ???) is 8-bit clean and the other one isn't.  And who would
  20. >>run X windows on a Sun anyway :-?
  21. >Hey I do...
  22.  
  23. You might want to tell Sun about it.  Then maybe they make it work again
  24. in the next release.
  25.  
  26. >BTW... I myself have never gotten vi on 4.1.x to work resizing either...
  27.  
  28. You have to type:
  29.  
  30.     Q
  31.     set term=xterm
  32.     vi
  33.  
  34. You can't :map these commands, but you can yank the lower two lines
  35. into "q and use Q@Q<return>.
  36.  
  37. Yes, it's absurd to set term=xterm when it is xterm already, but that's the
  38. way to tell the SunOS 4.1.x version of vi that the window size has changed.
  39.  
  40. I'd be surprised if this works for Elvis....
  41.  
  42. >but then I don't have a need to resize my windows...
  43.  
  44. Lucky you.  It's a pain.
  45.  
  46. --
  47. Hope this helps,
  48.  
  49. Hans Mulder            hansm@cs.kun.nl
  50.