home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / atari / st / tech / 6564 < prev    next >
Encoding:
Text File  |  1993-01-09  |  3.3 KB  |  78 lines

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