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