home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / fj / maillis / apollo / 3102 < prev    next >
Encoding:
Text File  |  1992-12-23  |  1.7 KB  |  40 lines

  1. Newsgroups: fj.mail-lists.apollo
  2. Path: sparky!uunet!stanford.edu!sun-barr!sh.wide!wnoc-tyo-news!etl.go.jp!johnb
  3. From: johnb@hobbes.mdc.com (John Breen)
  4. Subject: Re: spice3e2 on hp700
  5. Message-ID: <1992Dec24.005927.23370@etl.go.jp>
  6. Sender: news@etl.go.jp
  7. Organization: McDonnell Douglas Missile Systems Company
  8. References: <1992Dec17.221809.4725@hobbes.mdc.com>
  9. Distribution: fj
  10. Date: Wed, 23 Dec 1992 21:30:05 GMT
  11. Return-Path: <apollo-list-errors@srvr1.engin.umich.edu>
  12. Approved: kato@etl.go.jp
  13. Lines: 25
  14.  
  15. In article <1992Dec17.221809.4725@hobbes.mdc.com> johnb (John Breen) writes:
  16. >Has anyone compiled spice3e2 on an hp700?  I recently tried it, and ran into
  17. >a few problems.  I was able to work around all but one:
  18. >
  19. >    When using the X interface (ie, if DISPLAY is set) all commands require
  20. >    two carriage returns before they'll execute.
  21. >
  22. >In other words, if I type "help <cr>", it sits there & stares at me; if I
  23. >type "<cr>" again, it then gives me help (but echoes two prompts).  I assume
  24. >it can be fixed with the proper combination of #defines, but I wasn't able
  25. >to hit upon it.
  26. >
  27. >If anyone has any hints, I'd really appreciate it!
  28.  
  29. Just in case someone else tries this later, I found the solution to the above.
  30. I haven't gotten everything back to the lowest common denominator, but I'm
  31. pretty sure the trick was the following define:
  32.  
  33.     #define    TIOCSTI        _IOW('t', 114, char)    /* simulate terminal input */
  34.  
  35. The spice code has a whole function that is eliminated if this isn't defined.
  36. -- 
  37. John A. Breen                           |  johnb@hobbes.mdc.com
  38. McDonnell Douglas Missile Systems Co.   | "I have no personal opinions;
  39. Tel: (314)234-4341                      |  I'm a product of my environment."
  40.