home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / graphics / gnuplot / 319 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.5 KB  |  61 lines

  1. Newsgroups: comp.graphics.gnuplot
  2. Path: sparky!uunet!mcsun!Germany.EU.net!Urmel.Informatik.RWTH-Aachen.DE!kaa!arndt
  3. From: arndt@kaa.informatik.rwth-aachen.de (Stefan Arndt)
  4. Subject: Problems with readline
  5. Message-ID: <arndt.721150718@kaa>
  6. Sender: news@Urmel.Informatik.RWTH-Aachen.DE (Newsfiles Owner)
  7. Nntp-Posting-Host: kaa
  8. Organization: Rechnerbetrieb Informatik  /  RWTH Aachen
  9. Date:  7 Nov 92 15:38:38 GMT
  10. Lines: 49
  11.  
  12.  
  13.  
  14. Hello again!
  15.  
  16. We have a problem with gnuplot V3.2
  17. We are running ISC SysV R3.2 and we have X11R4 Roells server.
  18.  
  19. There is  bug (?) in readline.c
  20. --------
  21.  
  22. /* SIGTSTP defines job control */
  23. /* if there is job control then we need termios.h instead of termio.h */
  24.  
  25. #ifdef SIGTSTP
  26. #define TERMIOS  ---> causes wrong include
  27. #endif
  28.  
  29.  
  30. #ifndef MSDOS
  31.  
  32. /* UNIX specific stuff */
  33. #ifdef TERMIOS
  34. #include <termios.h>
  35. static struct termios orig_termio, rl_termio;
  36. #else
  37. #include <termio.h>
  38. static struct termio orig_termio, rl_termio;
  39. #endif /* TERMIOS */
  40.  
  41. --------
  42.  
  43. On our system SIGTSTP is defined and therefor <termios.h> is included.
  44. But in termios.h IUCLC and ONOCR are not defined.
  45.  
  46. I have fixed this by undef TERMIOS to cause the proper include.
  47.  
  48. Anyway, apart from that we have problems with readline.
  49. ( Actually we have problems with this function with EVERY gnuish software
  50. i.e gdb ).
  51. When we are using ^P to get the last command line we still get it but
  52. it isn't echoed, so it is a bit like walking in the dark.
  53.  
  54. So, what is the right way for our system to get readline and
  55. an updating plot window under X11?
  56.  
  57.  
  58. Stefan
  59.  
  60. arndt@pool.informatik.rwth-aachen.de
  61.