| Dart Home | PowerTCP Emulation for .NET | Custom Development | Reply | PowerTCP Emulation for .NET Topics | Forums |
| Author | Forum: PowerTCP Emulation for .NET Topic: Scraping to a File? |
| Wynder From: Philadelphia, PA USA Posts: 3 Member Since: 04/21/04 |
posted April 21, 2004 5:45 PM Greetings... I'm currently evaluating the VT Emulation Control for .NET for my corporation. We're testing it with a few custom telnet applications, however we're looking for the ability to provide logging functionality -- however, we're looking for it to output VT parsed text, ie. without the escape codes. Is this functionality available or planned? And, if not, are there any suggestions for a solution? Regards, Bob Wiltbank |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted April 21, 2004 5:49 PM The functionality is already there. Please see the "ScreenScrape" sample. |
| Wynder From: Philadelphia, PA USA Posts: 3 Member Since: 04/21/04 |
posted April 21, 2004 6:05 PM Tony, I don't see a way to output directly to the file without having the user select the text first. The functionality I'm looking for is... when the output is written to the VT Window, it's also written to the output file already parsed without user intervention. The ScreenScrape sample requires user interaction from what I'm seeing. Rob |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted April 21, 2004 7:14 PM I'm sorry, I did not mean the sample was a solution. I was merely saying to use it as a starting point. You also need to look at the Client sample. See where we write the data? That's where you would put the code to output to a file. |
| Wynder From: Philadelphia, PA USA Posts: 3 Member Since: 04/21/04 |
posted April 21, 2004 9:20 PM I see.. I'd like to make the suggestion of perhaps adding a second argument to the Capture() method that specifies whether the output should include the escape codes or not. Then the only way I'm seeing to do this is output to the VT screen, select the new portion of text automatically through scraping (Which is proving to be an interesting task...), and output to a file. Thank you for your suggestions, Bob |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted April 22, 2004 3:01 PM Thanks. I have issued a feature request. It's issue #2578. For info on what's being done regarding this request, please contact David Harry (sales@dart.com) |
| Reply | PowerTCP Emulation for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|