home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / misc / 12748 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.3 KB  |  38 lines

  1. Newsgroups: comp.sys.amiga.misc
  2. Path: sparky!uunet!ftpbox!mothost!lmpsbbs!supra.comm.mot.com!rittle
  3. From: rittle@supra.comm.mot.com (Loren James Rittle)
  4. Subject: Re: csh 5.19 and LS 4.5 ljr
  5. Organization: Land Mobile Products Sector, Motorola Inc.
  6. Date: Mon, 17 Aug 1992 15:46:21 GMT
  7. Message-ID: <1992Aug17.154621.5469@lmpsbbs.comm.mot.com>
  8. References: <1992Aug15.061941.21435@ccu.umanitoba.ca>
  9. Sender: news@lmpsbbs.comm.mot.com (Net News)
  10. Nntp-Posting-Host: 145.1.80.40
  11. Lines: 25
  12.  
  13. In article <1992Aug15.061941.21435@ccu.umanitoba.ca> kaarts@ccu.umanitoba.ca (Kenneth John Aarts) writes:
  14. >I am having a slight difficulty here.  In shell-startup I have
  15. >
  16. >    ;file exe
  17. >    set ls_highlight-5.on ""
  18. >    set ls_highlight-5.off *
  19. >    ;dir
  20. >    set ls_highlight2.on  ""
  21. >    set ls_highlight2.off /
  22. >
  23. >which mostly works.  Unfortunately, if I use Ls, the curser color is lost. (set
  24. >to background)  Works fine in the C= shell, but not with CSH.  (I am using %c
  25. >in my csh prompt)
  26.  
  27. Bug in csh (confirmed by WSH and C=).  The shell must Flush() Output,
  28. C='s shell always has, WShell always has.  Many other 3rd party shells
  29. do/did not...  I reported this problem to csh and sksh authors.
  30.  
  31. The workaround if you have SAS/C is to add the following line in
  32. the cleanup code and recompile:
  33.  
  34. Flush (Output ());
  35.  
  36. Regards,
  37. Loren, author of ls-4.5ljr
  38.