Home » Developing U++ » U++ Developers corner » Q: howto incorporate a native console window in GUI
Re: Q: howto incorporate a native console window in GUI [message #31166 is a reply to message #31164] |
Fri, 11 February 2011 11:32  |
 |
kohait00
Messages: 939 Registered: July 2009 Location: Germany
|
Experienced Contributor |
|
|
thanks,
seems like in cmd it's the same, cmd.exe is only the command interpreter thar react on commands when '\n' arrives. echoing must be done by terminal.. @echo off will probably modify the global terminal setting in that case.
yes i agree with you in terms of sending a whole string at once..
but what about the arbitrary cases they are there.. i.e. starting telnet which would connect to another terminal, or even ssh..they expect char by char, and they echo them back.
i was thinking of an additional TerminalCtrl, which could do what you suggested. where one can hook up an interpreter to a 'Callback1<const String&> WhenCommand;'
and has Stream to which generated output can be written. it directly prints where the cursor is moving it along..
cursor handling is another important topic..not quite trivial, as you see during linux boot sequence or anywhere in a build script run.. this comes from the composed echoing and printing..
ofcorse, the char commands are there to move the cursor..
we could consider implementing such things in a simple manner..
an important issue is the separation of print view and input buffer of the command though..
[Updated on: Fri, 11 February 2011 11:33] Report message to a moderator
|
|
|
 |
|
Q: howto incorporate a native console window in GUI
By: kohait00 on Thu, 10 February 2011 10:39
|
 |
|
Re: Q: howto incorporate a native console window in GUI
|
 |
|
Re: Q: howto incorporate a native console window in GUI
By: kohait00 on Thu, 10 February 2011 13:33
|
 |
|
Re: Q: howto incorporate a native console window in GUI
|
 |
|
Re: Q: howto incorporate a native console window in GUI
By: kohait00 on Thu, 10 February 2011 14:04
|
 |
|
Re: Q: howto incorporate a native console window in GUI
By: mdelfede on Thu, 10 February 2011 14:10
|
 |
|
Re: Q: howto incorporate a native console window in GUI
By: kohait00 on Thu, 10 February 2011 14:45
|
 |
|
Re: Q: howto incorporate a native console window in GUI
|
 |
|
Re: Q: howto incorporate a native console window in GUI
By: kohait00 on Thu, 10 February 2011 15:02
|
 |
|
Re: Q: howto incorporate a native console window in GUI
|
 |
|
Re: Q: howto incorporate a native console window in GUI
By: kohait00 on Thu, 10 February 2011 15:34
|
 |
|
Re: Q: howto incorporate a native console window in GUI
|
 |
|
Re: Q: howto incorporate a native console window in GUI
By: kohait00 on Thu, 10 February 2011 20:52
|
 |
|
Re: Q: howto incorporate a native console window in GUI
By: kohait00 on Thu, 10 February 2011 21:58
|
 |
|
Re: Q: howto incorporate a native console window in GUI
By: mdelfede on Thu, 10 February 2011 14:03
|
 |
|
Re: Q: howto incorporate a native console window in GUI
|
 |
|
Re: Q: howto incorporate a native console window in GUI
By: kohait00 on Fri, 11 February 2011 11:32
|
Goto Forum:
Current Time: Tue Sep 16 11:36:44 CEST 2025
Total time taken to generate the page: 1.46208 seconds
|