[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch proposal: force line editing behavior
From: |
David Bateman |
Subject: |
Re: Patch proposal: force line editing behavior |
Date: |
Mon, 01 Oct 2007 18:00:03 +0200 |
User-agent: |
Thunderbird 1.5.0.7 (X11/20060921) |
Michael Goffioul wrote:
> Hi,
>
> I'd like to propose the attached patch, which adds the possibility
> to force line editing behavior. The context is the following. I'm
> experimenting the possibility to embed and octave terminal/console
> into some GUI component, in the way John wants it (with terminal
> emulation). I found some terminal emulation component on the web
> and after some hacks, I could get something that works. The main
> problem is that the concept of pseudo-terminal does not exist under
> Windows. However, terminal emulation can works correctly through
> regular pipes between the terminal and octave, with readline
> working OK. The problem is that isatty then returns false, which
> disables line editing behavior unconditionally. The proposed patch
> allows to force line editing, even if isatty returns false.
>
> Michael.
>
> PS: I implemented this using the less intrusive way; another possibility
> would be to implement it in the same way as interactive/forced_interactive
> options, but this implied touching several files, like parse.cc as well.
>
Given, John's go ahead I applied this patch.
D.
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Patch proposal: force line editing behavior,
David Bateman <=