home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sun / misc / 4229 < prev    next >
Encoding:
Text File  |  1992-09-15  |  1.3 KB  |  35 lines

  1. Newsgroups: comp.sys.sun.misc
  2. Path: sparky!uunet!gumby!wupost!monsanto.com!albert.monsanto.com!nghoff
  3. From: nghoff@albert.monsanto.com (Norman G. Hoffman)
  4. Subject: Can one resize cmdtool windows from cmd line?
  5. Message-ID: <1992Sep15.155220.19031@tin.monsanto.com>
  6. Keywords: cmdtool
  7. Sender: news@tin.monsanto.com (USENET News System)
  8. Organization: Monsanto Company
  9. X-Newsreader: Tin 1.1 PL5
  10. Date: Tue, 15 Sep 1992 15:52:20 GMT
  11. Lines: 22
  12.  
  13. Is there a way to resize cmdtool windows from the command line?
  14.  
  15. I open cmdtool windows 80 columns wide by default.  At times I will 
  16. widen one to view extra-wide output, then set it back when done.  
  17. To do the latter, I display an 80-column ruler, manually resize the 
  18. window to 80 columns, then scroll back down to the prompt (which 
  19. usually gets scrolled off the screen by the resize operation).  
  20. Is there a better way to do this?  Is there, for example, a command 
  21. which can be issued to set the window to 80 columns or back to its 
  22. original size?
  23.  
  24. (In anticipation of responses which suggest I just run another, 
  25. wider cmdtool, I'll respond now that sometimes I do this, but I 
  26. still would like to know if there is a way to resize cmdtool from
  27. the command line.)
  28.  
  29. I'm running SunOS 4.1.1 and OpenWindows 3.0 on a Sparc 1+.
  30.  
  31. Thanks,
  32.  
  33. Norm Hoffman
  34. nghoff@bb1t.monsanto.com
  35.