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++ » UppHub » Using TerminalCtrl - does not compile
Re: Using TerminalCtrl - does not compile [message #57926 is a reply to message #57925] Tue, 28 December 2021 13:12 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1093
Registered: August 2007
Senior Contributor
Hello slashupp,

Thank you for your observations. They will certainly help me improve and polish the ctrl.

As for the specific issues you've pointed out:

Quote:
I want to do my own tests of this ctrl - always best way


I respectfully disagree. Playing with the reference examples first would be the recommended way, if not the best. Always. Because the provided reference examples demonstrate the different aspects and use-cases of the package. And they are meant to run out-of-the box. Not to mention they are well-tested over different platforms.


Quote:

0. initially blank box with blinking box-caret and right-click menu & nothing much to do
1. should by default open either at user's home-dir or in root(/) if user is root


Again, the reference examples already demonstrate this. IT is the job of pty process to provide the environment, not of TerminalCtrl.
Have you connected the TerminalCtrl to a "source"? (e.g. a pty, via the provided ptyprocess class. See the TerminalExample)


Quote:
2. no clear and obvious way to specify in code where/what the ctrl should display
...browsing the source & can find no way to specify initial display...


Documentation certainly needs improvements. While the package already comes with an API doc, which you can display with TheIDE, ReFerence examples alredy show how to do this and more (e.g. even tabbed or splitted displays).

If you need more help let me know.


Best regards,
Oblivion


[Updated on: Tue, 28 December 2021 13:16]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problems
Next Topic: AutoScroller package update
Goto Forum:
  


Current Time: Thu May 09 14:49:38 CEST 2024

Total time taken to generate the page: 0.02341 seconds