home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: fj.mail-lists.apollo
- Path: sparky!uunet!stanford.edu!sun-barr!sh.wide!wnoc-tyo-news!etl.go.jp!johnb
- From: johnb@hobbes.mdc.com (John Breen)
- Subject: Re: spice3e2 on hp700
- Message-ID: <1992Dec24.005927.23370@etl.go.jp>
- Sender: news@etl.go.jp
- Organization: McDonnell Douglas Missile Systems Company
- References: <1992Dec17.221809.4725@hobbes.mdc.com>
- Distribution: fj
- Date: Wed, 23 Dec 1992 21:30:05 GMT
- Return-Path: <apollo-list-errors@srvr1.engin.umich.edu>
- Approved: kato@etl.go.jp
- 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."
-