home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.atari.st.tech
- Path: sparky!uunet!gatech!rpi!utcsri!torn!nott!uotcsi2!news
- From: cbbrowne@csi.uottawa.ca (Christopher Browne)
- Subject: Curses/CRT problems
- Message-ID: <1993Jan9.222508.13357@csi.uottawa.ca>
- Sender: news@csi.uottawa.ca
- Nntp-Posting-Host: prge
- Organization: Dept. of Computer Science, University of Ottawa
- Date: Sat, 9 Jan 93 22:25:08 GMT
- Lines: 66
-
-
- I've got 3 problems that are kind of troubling me right now. All of
- 'em have to do with text i/o, and particularly that which relates to
- things like termcap/curses.
-
- By the way, I'm using GCC 2.3.1, the version that I think was ported
- by Howard Chu. It's the one that supports -mbaserel. I'm also using
- the MiNT libs version 0.25, gotten from a.a.u.e.
-
- 1: Missing BCRT0.O
- I haven't really searched this one out too far:
-
- In trying to compile stuff with -mbaserel, I get some complaints that
- BCRT0.O doesn't exist. CRT0.O does, as well as GCRT0.O.
-
- Correspondingly, I haven't gotten anything compiled with -mbaserel.
-
- I'm trying to get some of the Infocom interpreters ported. Partial
- success; I've got pinfo, the Portable Infocom interpreter v4.01
- sort of working. I'm also trying to get the other one, that supports
- more versions of ZIL, working. Two problems, #2 and #3:
-
- 2: Some constants from termcap/curses:
- There's some constants called stuff like:
- A_BOLD, A_NORMAL, A_DIM, A_BLINK, and other such text attributes.
- I can't find these strings ANYWHERE. Not in /gnu/include/*.h, not in
- /gnu/include/sys/*.h.
-
- And the main I/O subroutine therefore won't compile. I couldn't find
- them in the Sun's /usr/include, or its subdirectories, either. The
- names aren't consistent with either termcap/curses naming conventions
- either (as far as my Ultrix manual set tells me).
-
- Where are they supposed to be?
-
- 3: Some difficulties with stream input.
-
- The other interpreter that IS working is only compatible with MiNT,
- and not TOS.
-
- The problem is in text input. Under TOS, commands seem to get
- terminated as soon as I hit the FIRST character. No chance to wait
- until I hit <Return>. Is there some typical "why" that this would
- happen, and that can be easily fixed?
-
- Under MiNT, life is rosier, but not perfect. I THINK that I've gotten
- the input spot located in a particular fscanf command; which SHOULD be
- ok. The problem right now is the unfortunate fact that I SHOULD be
- able to use some combination of <BackSpace/Delete> to correct typing
- errors, but that it doesn't accept it. Could there by a stty that I
- ought to do? Or do I take out the fscanf, and put in my own function?
-
- I'd really much rather that the programs work under BOTH MiNT and TOS.
- By the way, there IS an incentive to get 'em working: The
- "Undiscovered Treasures of Infocom" are now available on the IBM PC
- for about $60 per volume. Each of the two volumes has about 15-20 of
- the classic Infocom adventure games. Adds up to a little over $3 per
- game... Great deal! Unfortunately, there's no Atari version planned
- :-(. However, between the two interpreters I'm trying to port, it
- should be possible to run MOST of the games on the Atari.
-
- --
- Christopher Browne | PGP 2.0 key available
- cbbrowne@csi.uottawa.ca |======================================
- University of Ottawa | Genius may have its limitations, but
- Master of System Science Program | stupidity is not thus handicapped.
-