home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / 20672 < prev    next >
Encoding:
Text File  |  1992-12-31  |  1.4 KB  |  44 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!qualix!optimism!anand
  3. From: anand@qualix.com (Vinay Anand)
  4. Subject: Help: Limit filesize in xview.
  5. Message-ID: <1992Dec31.171054.8100@qualix.com>
  6. Keywords: xview
  7. Sender: usenet@qualix.com
  8. Reply-To: anand@qualix.com
  9. Organization: QUALiX Group, Inc.
  10. Distribution: na
  11. Date: Thu, 31 Dec 1992 17:10:54 GMT
  12. Lines: 30
  13.  
  14.  
  15. Greetings !
  16.  
  17. We have an xview based network management software that(among other things)
  18. does the following:
  19.  
  20. It collects packet data from the network and scrolls the same in a window on 
  21. the console. It also saves this data to a file in /tmp. The problem is that 
  22. eventually, /tmp is full and I get a write error. Also, the window system
  23. freezes, i.e., the mouse can be moved, but no window will accept focus.
  24. Once the application is killed, the system is back to normal.
  25.  
  26. What I want to know is: 
  27. Is there a way to limit the size of the file being written to /tmp ? I 
  28. would like to do this from within the application itself. 
  29. Ideally, I would like the user to be able to specify the size of the file
  30. at the time of invocation of the application.
  31.  
  32. We run this application on SPARCstations in OpenWindows version 3.0.
  33.  
  34. Any pointers to solve this problem appreciated.
  35. Please send your reply to anand@qualix.com
  36.  
  37. Cheers !
  38. Vinay.
  39.  
  40. -----------
  41. Vinay Anand                                        Tel: (415) 570-2999
  42. anand@qualix.com                                   FAX: (415) 572-1300 
  43.  
  44.