home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / openloo / 4894 < prev    next >
Encoding:
Text File  |  1992-12-22  |  2.5 KB  |  68 lines

  1. Newsgroups: comp.windows.open-look
  2. Path: sparky!uunet!ftpbox!mothost!white!rtsg.mot.com!guppie58!marocchi
  3. From: marocchi@rtsg.mot.com (Jim Marocchi)
  4. Subject: Re: Spell Checker
  5. Message-ID: <marocchi.725053840@guppie58>
  6. Sender: news@rtsg.mot.com
  7. Nntp-Posting-Host: guppie58
  8. Reply-To: marocchi@rtsg.mot.com
  9. Organization: Motorola Inc., Cellular Infrastructure Group
  10. References: <1992Dec16.170650.11441@keinstr.uucp> <1gptr2INNot8@coral.bucknell.edu>
  11. Date: Tue, 22 Dec 1992 19:50:40 GMT
  12. Lines: 54
  13.  
  14. mead@bucknell.edu (Jerry Mead) writes:
  15.  
  16. >In article 11441@keinstr.uucp, chaplin@keinstr.uucp (Roger Chaplin) writes:
  17. >>John D. Mireley (mireley@arnou.cem.msu.edu.brewery) wrote:
  18. >>: Is there a spelling checker integrated into the OL 3.0 DeskSet from
  19. >>: Sun? If there is, I missed it. Can someone enlighten me. If not, is
  20. >>: there one available on the net?
  21. >>
  22. >>I haven't found one in DeskSet.  I use ispell (freely available) and
  23. >>have hooked it into the `Extras' menu in text windows :-)
  24. >>
  25. >>-- 
  26. >>Roger Chaplin / Instruments Division Engineering / "Though I'd been lost now I
  27. >>chaplin@keinstr.uucp / CI$: 76307,3506          / felt I was found when He
  28. >>#include <disclaimer.h>                        / looked at me with His
  29. >>#include "disclaimer.h" /* cover all bases */ / forgiving eyes." - Michael Card
  30.  
  31.  
  32. >Could Roger please post the code used in the text_extras_menu file to hook
  33. >ispell into text windows?  Thanks
  34.  
  35. >jerry
  36.  
  37.  
  38. Here is one (admittedly crude) method to tie into spell (I would assume ispell
  39. would work the same way) from the extras menu.  I'm sure there are other ways,
  40. but this may get you started.  What I really wanted to do was to pipe the 
  41. spell output to it's own window, but I never got around to that....
  42.  
  43. -----------------  Begin Included Text  -----------------
  44.  
  45. #
  46. #    Copyright (c) 1987 by Sun Microsystems, Inc.
  47. #
  48. #    Text "Extras" menu
  49. #
  50. #    Modified: 4/29/92 by JAM
  51. #
  52.  
  53. "Format-72"    fmt
  54. "Format 60"    fmt -60
  55. #"Format-80"    fmt -80
  56.  
  57. "Insert Signature"    MENU    $HOME/.menu/text_signatures.menu
  58.  
  59. "Spell Check Selected Text"    csh -c 'echo " *** spell check start ***" > /dev/console; spell > /dev/console; echo "*** spell check complete ***" > /dev/console'
  60.  
  61. -----------------  End Included Text  -----------------
  62.  
  63. --
  64. ----------------------------------------------------------------------
  65. Jim Marocchi    |  708/632-2407   | Motorola Cellular Infrastructure 
  66. marocchi@rtsg.mot.com             | Arlington Heights, IL  60004   USA
  67. ----------------------------------------------------------------------
  68.