[Gambas-devel] BUG: Recent changes to TerminalView stop you from responding to certain prompts

Fabien Bodard gambas.fr at ...176...
Sat Aug 26 19:19:59 CEST 2017


2017-08-26 14:51 GMT+02:00 Tony Morehen <tmorehen at ...755...>:
> I know.  One of the first programs I wrote back in the early 80s was a
> terminal program to let my first IBM-compatible, a 12 mHz 80286, talk to my
> other computer, a Z80 CP/M machine.
>
> Don't get me started on wiring a serial cable.  Back then, nothing was
> plug'n'play.  Everything, including serial ports, was custom.
>

You have the luck to known these beautifull years :-). In these days i
was only a baby and i've known my first computer only at 12 :-/
So it was in 1990... on m$dos 6 and W3.11. just before linux was born
:-). The first computer i've used was a 86286 20Mhz.

It took 2 sec to excel to show a letter after pressing the keyboard
!!!. In fact, i've discovered the terminals on the late but i keep a
good feeling about them for true productivity interconnected
programs... better for that than actual cloudified web products.


>
> On 2017-08-26 02:37 AM, Fabien Bodard wrote:
>>
>> 2017-08-25 23:10 GMT+02:00 Benoît Minisini via Gambas-devel
>> <gambas-devel at lists.sourceforge.net>:
>>>
>>> Le 25/08/2017 à 22:32, Tony Morehen a écrit :
>>>>
>>>> When using terminalview in a terminal program, you cannot respond to
>>>> prompts such as git's requests for username and password. Bash's
>>>> built-in
>>>> read command also doesn't work properly.  You can type in text ok, but
>>>> when
>>>> you press enter, all you see is "^M" and nothing happens. All you can do
>>>> is
>>>> press control-C to abort.
>>>>
>>>> To duplicate:
>>>> 1) run FTerminalView in gb.form.terminal
>>>> 2) enter "read -p '>'
>>>> 3) type some text, press enter
>>>> 4) all you see is your text + ^M
>>>>
>>>> Potential fix:
>>>>
>>>> line 673 in TerminalFilter_VT100, change the False action of the IIf
>>>> from
>>>> "\r" to "\n"
>>>>
>>>> gb.form.terminal must be driving you guys nuts.
>>
>> Yes but it's so interresting ! And available emulator are not so numerous
>> too.
>>
>>
>>>> Cheers,
>>>> Tony
>>>>
>>> OK, fixed.
>>>
>>> --
>>> Benoît Minisini
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> Gambas-devel mailing list
>>> Gambas-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-devel
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel



-- 
Fabien Bodard




More information about the Devel mailing list