home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6356 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.5 KB

  1. Path: sparky!uunet!zephyr.ens.tek.com!uw-beaver!news.u.washington.edu!serval!phys1.physics.wsu.edu!hlu
  2. From: hlu@phys1.physics.wsu.edu (Hongjiu Lu)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Good comm program?
  5. Message-ID: <1992Jul21.235057.14132@serval.net.wsu.edu>
  6. Date: 21 Jul 92 23:50:57 GMT
  7. References: <arumble.711622204@extro.ucc.su.OZ.AU> <9207201343@myamig2.myamiga.mixcom.com>
  8. Sender: news@serval.net.wsu.edu (USENET News System)
  9. Organization: Washington State University
  10. Lines: 32
  11.  
  12. In article <9207201343@myamig2.myamiga.mixcom.com>, smp@myamig2.myamiga.mixcom.com (Steve Palm) writes:
  13. |> arumble@extro.ucc.su.OZ.AU (Anthony Rumble) writes:
  14. |> : 
  15. |> : If *SOMONE* could post a *GOOD* port of Minicom (One that works) we
  16. |> : might just have a good Comms package..
  17. |> 
  18. |>  Before I post . . .
  19. |>  
  20. |>  I have Minicom working just great.  It only has ONE problem on my system.
  21. |>  
  22. |>  For up/downloads, it opens a window to show status.  It's opening a pipe
  23. |>  to capture the output of the transfer command, and sending that to the
  24. |>  input of the window...
  25. |>  
  26. |>  Are pipes buffered?  Because output to that window is only updated after
  27. |>  quite some stuff has flowed through, making it useless as a status box.
  28. |>  
  29.  
  30. If you use stdio, I believe everything is buffered by default. You can use
  31.  
  32. 1. setbuf (fp, NULL);
  33. 2. setbuffer (fp, NULL, 0);
  34. 3. setvbuf (fp, NULL, _IONBF, 0);
  35.  
  36. to turn off the buffering for status window. Pick one you like.
  37.  
  38. |>  If this doesn't bother anyone, I'll put it up somewhere.
  39.  
  40.  
  41. -- 
  42. H.J.
  43. Gcc/libc maintainer for Linux.
  44.