Greatly reworked the POSIX_TTY code that puts the terminal into cbreak mode.  Now, initially both the original and modified terminal states are saved.  When the terminal goes into graphics mode, it is also put into cbreak mode.  This ensures that the program gets character-at-a-time input, which is good for quitting <Q> PLplot or for paging in plrender. When the terminal goes into text mode, the original terminal state (canonical input, typically) is restored, which is good for reading user input or command interpreters.  Just make sure you use plgra() and pltext() for switching; if you switch the terminal locally it may get confused until the next plgra() or pltext().
Greatly reworked the POSIX_TTY code that puts the terminal into cbreak
mode.  Now, initially both the original and modified terminal states are
saved.  When the terminal goes into graphics mode, it is also put into
cbreak mode.  This ensures that the program gets character-at-a-time
input, which is good for quitting <Q> PLplot or for paging in plrender.
When the terminal goes into text mode, the original terminal state
(canonical input, typically) is restored, which is good for reading user
input or command interpreters.  Just make sure you use plgra() and
pltext() for switching; if you switch the terminal locally it may get
confused until the next plgra() or pltext().

svn path=/trunk/; revision=1007

FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot