home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / apollo / 4176 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  1.6 KB

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