This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> Also, the base guile interpreter was getting pretty useful for > interactive work, but not without readline. I've been playing with a front-end processor using ptys. It would watch the state of the terminal flags; when the terminal is in cooked mode, it would pass any input to readline; when the terminal is in raw mode, input characters are passed straight throw to the inferior. I think this would be quite nice, since it would give readline support to *all* programs that used cooked mode, without interfering with programs that use raw mode (or readline). The tricky part before it is useable is that echo coming back from the inferior needs to be suppressed, since readline does the echoing, but the terminal driver does not know that. (The front-end cannot safely turn off echoing, because might confuse the inferior.) --Per Bothner Cygnus Solutions bothner@cygnus.com http://www.cygnus.com/~bothner