Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
kohait00 is currently offline  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 Smile 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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Issue tracking...
Next Topic: Question: Simple plugin implementation
Goto Forum:
  


Current Time: Tue Sep 16 09:45:05 CEST 2025

Total time taken to generate the page: 2.10345 seconds