[Gambas-devel] BUG: Recent changes to TerminalView stop you from responding to certain prompts
    Tony Morehen 
    tmorehen at ...755...
       
    Fri Aug 25 22:32:17 CEST 2017
    
    
  
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.
Cheers,
Tony
    
    
More information about the Devel
mailing list