home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / question / 10572 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  1.4 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!udecc.engr.udayton.edu!blackbird.afit.af.mil!dsacg3.dsac.dla.mil!nto0302
  2. From: nto0302@dsacg3.dsac.dla.mil (Bob Fisher)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: 80/132 column modes with curses
  5. Message-ID: <5527@dsacg3.dsac.dla.mil>
  6. Date: 31 Aug 92 17:03:33 GMT
  7. References: <BtpytJ.7KG@research.teleride.on.ca>
  8. Organization: Defense Logistics Agency Systems Automation Center, Columbus
  9. Lines: 19
  10.  
  11. From article <BtpytJ.7KG@research.teleride.on.ca>, by louk@research.teleride.on.ca (Lou Kates):
  12. > Is it  possible to write an  application using curses that has as
  13. > one of  its  functions  the ability  to toggle  a VT100  terminal
  14. > between  80  and  132   column  modes? It appears that there  are
  15. > different termcap/terminfo entries for 80  and  132   column mode
  16. > effectively preventing the above.
  17.  
  18. The shell variables LINES and COLUMNS can be used to over-ride the
  19. terminfo/termcap definition of screen size.  The user will need to
  20. manually set the terminal itself.
  21.  
  22. I'm using an archaic system with an old version of curses.  I believe
  23. that newer versions of curses provide other ways of resizing a window
  24. for variable environments such as X, but I can't swear to this.
  25. -- 
  26. Bob Fisher
  27. EMAIL:    bfisher@dsac.dla.mil          osu-cis!dsacg1!bfisher
  28. VOICE:    Commercial 1-614-692-9071    Autovon 850-9071
  29. USPS:     Defense Logistics Agency, DSAC-TOL, Box 1605, Columbus OH 43216-5002
  30.