Re: [dev] st patch for draw() etc.

From: Bjartur Thorlacius <>
Date: Sat, 23 Apr 2011 00:42:05 +0000

On Fri, Apr 22, 2011 at 3:12 PM, Aurélien Aptel
<> wrote:
> On Fri, Apr 22, 2011 at 1:38 PM, Bjartur Thorlacius
> <> wrote:
>> While I believe we need a simple text UIO widget that doesn't
>> interpret terminal escapes et cetera, I can't see why the shell should
>> even be awere of user keystrokes. Or are you suggesting something like
>> rlwrap read | rc?
> It's just how it works. The terminal emulator doesn't interpret the
> keystrokes, it just writes them (as escape sequence) to the stdin of
> the shell. The shell can either ignore them or interpret them
> accordingly.
> On the other hand, the terminal reads and interprets the shell output
> (including escape sequences).
Ah, that makes sense. Putting all of the line editing in the shell
seems wrong, but I guess it's necessary for things like deleting whole
words (as only the shell knows about such syntactic details).
Received on Sat Apr 23 2011 - 02:42:05 CEST

This archive was generated by hypermail 2.2.0 : Sat Apr 23 2011 - 02:48:03 CEST