home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / sysv386 / 14440 < prev    next >
Encoding:
Text File  |  1992-09-13  |  1.6 KB  |  37 lines

  1. Newsgroups: comp.unix.sysv386
  2. Path: sparky!uunet!wupost!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!unidui!Germany.EU.net!mcsun!sunic!seunet!compound!smith
  3. From: smith@compound.se (Bjorn Smith)
  4. Subject: How do I debug a curses prog with sdb ?
  5. Message-ID: <BuK4n3.6qt@compound.se>
  6. Organization: Compound Systems AB
  7. X-Newsreader: Tin 1.1 PL5
  8. Date: Mon, 14 Sep 1992 07:25:51 GMT
  9. Lines: 26
  10.  
  11. Is there any way to start sdb having the application to use one tty
  12. (xterm window) and sdb another ?
  13. We are currently trying to debug sc (the spread sheet calculator)
  14. but since both sc and sdb talks to the current tty everything gets
  15. a mess on the screen. As far as I remember gdb solved the problem
  16. by some sort of tty redirect command but as far as I can see sdb
  17. does not have this feature. On the other hand it seems unlikely that
  18. this fundamental problem is not solved in the SVR4/sdb environment.
  19.  
  20. Thanks in advance for any kind of help in this matter !
  21.  
  22. PS
  23. We are trying to run sc with 8 bit character set (using character
  24. values > 127) on a SVR4 UNIX (Consensys). A minimal test of the
  25. curses package indicates that it is capable of handling 8-bit chars.
  26. After fixing the toascii() function in the sc code I tried it by
  27. entering a "leftstring" inserting a three character string where one
  28. contained the hex value 0xe5. When sc redraws the screen it gets stuck
  29. in a loop filling the screen with garbage (in reverse video).
  30.  
  31. Anyone succeeded to run sc in 8-bit mode ?
  32. DS
  33. -- 
  34. Bj|rn Smith    Compound Systems, phone +46 8 7923689
  35. UUCP:         {uunet,mcsun}!seunet!comsys!smith
  36. Domain Address:    smith@compound.se
  37.