 |
|
 |
Anyone know how to utilize only the terminal emulator portion of this control? I just want to leverage the terminal emulator capabilities and not be tied to an ssh service. If so, how would I then access/send data to the emulator gui portion?
|
|
|
|
 |
|
 |
I downloaded your c# example (newer version). and it comes with ssh example only. it works perfectly. could you pls add telnet and serial port example in c#?
|
|
|
|
 |
|
 |
Hi,
Great control. Thanks for posting it.
Is there a way to simply connect to a unix server, send a command and capture the response without using the GUI. Apparently other people have asked that question, but I don't see any answers.
I would appreciate any help. Thanks
Denson.
|
|
|
|
 |
|
 |
HI,
I am also having the same kind of requirement. If there is any solution kindly, let me know. What I noticed is that the entire codes works in an asynchronus manner Which makes it difficult to separate out commands and responses.
|
|
|
|
 |
|
 |
Hello I what I do is: Everything what appears in the terminal, remains recorded in a string that is updated by a timer, them remove what I do not want. For example I throw the command "ls" and with String.IndexOf("ls") from the command ls included backward I erase it of the string. It would also be using #,$.. and with a list of specific commands, to extract positions of the string.
To synchronize and to realize searches in this string, I do a kind of timeout. I take the date, add micro-seconds that I want and tell the program that do events. System. WinForms. Application. DoEvents (); Until it spends the micro-seconds that I want to synchronize.
This system me has been useful to realize a system of macros, seemed to the scripts of the machine and that is throwing commands depending on the answers that of the machine.
I wait to have helped
pd.Sardaan thanks for the code if you need help with anything you say memodified on Monday, March 1, 2010 12:23 AM
|
|
|
|
 |
|
 |
Sardaan,
I need to replace existing Dart components (in one of our product) by some other open source terminal emulator. We come across Poderosa and went through its code base. I had a same experience with the code and their documentation that u faced. I googled for some components based on Poderosa and i found yours. I downloaded your demo project and made a build and ran it but i could not connect to the SSH terminal session.
I have made chnages to the code to use port 57 for SSH instead of 22 in the code. No other changes were made.
I have debugged the same and identified the spot where the issue happens.
In fact MakeConnection() ensures that the Socket is opened and SSH session is enabled. But after that when Negotiate() is called , SSH session gets disconnected somehow. I have narrowed it town to observe that as soon as it returns from r.OpenShell() , SSH session gets disconnected.
Please can you narrowed it down further or let me know the root cause of this ?
Thanks in advance Ajay
|
|
|
|
 |
|
 |
Hi There this looks cool I just have one question how can I grab the text out of the terminal and store it in a string If you could help would be great Many Thanks
|
|
|
|
 |
|
 |
Hello,
I want to use the terminal control and allow using of PF1 to PF4 key. (replaced by F1 to F4)
I tried, but this is not working with the new terminal control.
The previous version of terminal control was working fine with these keys, but, with the new version, this not working anymore.
The old version was not supporting the cursor key, this is why I switched to the new one.
Can anyone help me ?
Thanks.
|
|
|
|
 |
|
 |
hello ,
i'm looking for only the graphic control for display terminal . What is the control wich you are using ???
For the VT100 protocol and other , it's me with my class .
I need this for the personal application .
I'm testing Richtextbox . It's very hard for this application . I have the problem with CHAR(32).
Excuse for my english ....
Lol
Best regard ....
|
|
|
|
 |
|
 |
Hi Sardaan,
How I can use your code for run some Command without GUI ? I need send some command to my Server, but I dont need show UI. I must send a string of my commands.
Can you help me ?
http://www.mahdavy.com
|
|
|
|
 |
|
 |
Hello, Great JOB.
How extport the content in string or file.
And please, how can change the port??
THX!
|
|
|
|
 |
|
 |
This is a great app. If there anyway I could read the output in the terminal pane into a file?
Thanks.
NK
|
|
|
|
 |
|
 |
When trying to attempt a vi edit session I will get the following error message that appears to be generated from vi : "screen too large for internal buffer". What seems strange is that this error will occur when the terminal control's screen is made larger or smaller prior to a vi edit.
Any thoughts?
I have tried changing the TERM environment variable as per one suggestion, that had no effect.
Thanks, WMB
|
|
|
|
 |
|
 |
Has anyone used the unix vi editor within this terminal control? I am getting mixed results. When the terminal window is resized sometimes the screen will just go blank when entering the vi editor. Other times I will get a buffer error. Also when returning from a vi edit the cursor will be completely off the screen (beyond where you can scroll to), so I have to type "clear" to regain the cursor within the control window.
Are there some terminal commands that have to be run prior to entering vi? Are there some preferences that have to be set within vi?
Thanks, WMB
|
|
|
|
 |
|
 |
Hi,
I am getting the following expeption when I try run the C# sample in the new archive:
System.NullReferenceException: Object reference not set to an instance of an object.
at WalburySoftware.TerminalControl.SetPaneColors(Color TextColor, Color BackColor) in c:\Terminal_Control\Terminal Control\TerminalControl.cs:line 209
at C_Sharp_Usage_Eample.Form1.button1_Click(Object sender, EventArgs e) in c:\Terminal_Control\C-Sharp Usage Eample\Form1.cs:line 29
I think the ConnectionTag is not properly initialized. I am not sure why. Anyone having the same problem?
Thanks
|
|
|
|
 |
|
 |
Same problen connectionTag = null
|
|
|
|
 |
|
 |
The reason , in my case, was that the connection failed, because the server required keyboard-interactive authentication (there is no message indicating connection timeout). It works fine now.
|
|
|
|
 |
|
 |
You say "It works fine now". I am having the same issue when trying to connect to an old Alpha server. What did you do to get it to work?
|
|
|
|
 |
|
 |
This is great! How would I scale the font?
|
|
|
|
 |
|
 |
I ran into the same question, implemented it... and completely forgot I left it out of the public TerminalControl....... sorry
anyway, if you get to it before I update the control, there's a dialog box in the Poderosa library that has options for changing font size, color, background color... hell they even LET YOU PUT A PICTURE IN THE BACKGROUND....... it's way cool and it's something else i need to update my library with
|
|
|
|
 |
|
 |
k, check the updates, I put in an example of how to modify the display (font, colors, etc). Refer to the "C# Usage Example" project
|
|
|
|
 |
|
 |
Hi, I've been working on similar (but closed) project some years ago I have some questions:
- Are there any example or test applications (running on emulators or unix) to do some regression tests? how are you testing the library itself? - Would it be possible to port this project (or the core at least) in java?
Thanx
|
|
|
|
 |
|
 |
To answer your questions
1a.) no 1b.) I tested it on Sun Solaris servers 2.) knock yourself out
|
|
|
|
 |
|
 |
How did you ever get any of it to work. It looks like the open source sight has had little activity since 2006. I downloaded the latest version found, which was apparently built for VisualStudio 2005. There are two solutions at the top directory. Both do not build with different issues. The Ponderosa_monolithic.sln appears to have several files missing, including an entire sub project (which I am not sure is needed). The other solution Ponderosa.sln has several build errors with obvious errors that would have made it impossible to build. For example, one object is trying to call private methods of another object. Even after fixing the basic errors all I got was exceptions being thrown. I could not find any help or manual to explain the startup commands for the "Executable" (which seems to be the only project in the solution that has an EXE). It seems to need parameters passed in, but what? Sorry, I am completely lost with this version. Any help out there? WMB
|
|
|
|
 |
|
 |
If I understand what you're asking... it's that you can't compile the Poderosa source you downloaded?
and how I did it?
i don't remember exactly but it wasn't a simple download->compile
the Poderosa people are awesome for putting their project out there for the public. Regardless of how much trouble we have getting it up and running, I can allmost guarantee it's a hell of a lot cleaner than some of the "professional" clients. Hell, go download Putty and let me know how that works out
anyway i'm deviating from your question... the answer is... i had to modify a lot of stuff. Poderosa doesn't lend itself well to integration (or i'm just not seeing the hooks)
but it is very hackable..... so easy to chop and dice and make it act anyway you want to. the trick is getting a starting point
3 common things i've heard about............
-- make sure you have ALL the associated projects and that they're referenced correctly (through the namespaces, using statements, etc) -- get the culture locales straightened out (this won't stop it from compiling but you will get some runtime errors) -- i forgot the last one.....
|
|
|
|
 |