[twsocket] Using TTnEmulVT
1) In the Delphi 2005 version GetScreenText appears to have been dropped? We have some projects that started with an earlier version which used it. Its easy enough to cut/paste in from a previous version, but it there a reason it was dropped? 2) Is it possible to change the default screen colours (sorry colors). There appear to be several places you can change both the font and brush color - but if you do this in the form show event you still revert to white characters on black; 3) Is there a re-sizeable font option we haven't found yet? Or do we have to manually change the font size as the overall screen image changes? Regards Dr John M Porteous Chemigraphic LtdTele: 01293 543517 (office) The Fleming Centre Tele: 01293 843385 (DDI) Fleming Way Fax: 01293 552859 Crawley Mobile: 07802 402 226 RH10 9NFEmail: [EMAIL PROTECTED] -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Using TTnEmulVT
1) In the Delphi 2005 version GetScreenText appears to have been dropped? We have some projects that started with an earlier version which used it. Its easy enough to cut/paste in from a previous version, but it there a reason it was dropped? Only an error. But I'm not sure I understand. Are you talking about Delphi2005.Win32 ? If yes, then it is the same version as Delphi7 and all others. As far as I remember. 2) Is it possible to change the default screen colours (sorry colors). There appear to be several places you can change both the font and brush color - but if you do this in the form show event you still revert to white characters on black; Long time I haven't looked at TEmulVT source code. There is probably a constant somewhere with this value. I don't think there is a published property. 3) Is there a re-sizeable font option we haven't found yet? Or do we have to manually change the font size as the overall screen image changes? Look at the options form source code and see how it handle font selection. You have to use the resize event to change dynamically the font. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Using TTnEmulVT
On Fri, 15 Jul 2005 21:06:06 +0200 Francois PIETTE [EMAIL PROTECTED] wrote: Can I remove string EmulVT from the top line when I dragdrop this component on the form? You must write the Clear Screen escape sequence at runtime. For example from the FormCreate event handler: TnEmulVT1.WriteStr(#27 + '[2J'); Thanks! Question about security: as I read, TTnEmulVT it's TELNET and ANSI terminal emulation combined component. So, it does not support SSH protocol. How I can do it more security, if I want to work via Internet? Best regards, Artem Antonov. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Using TTnEmulVT
Question about security: as I read, TTnEmulVT it's TELNET and ANSI terminal emulation combined component. So, it does not support SSH protocol. How I can do it more security, if I want to work via Internet? There is an SSH implementation for TTnEmulVT available from the usermade page. It is rather old so probably need some rework to work with current ICS and OpenSSL version. btw: I never tryed this implementation. -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Using TTnEmulVT
Is it possible to do with TTnEmulVT: 1) Hide from Terminal some output of host computer (Telnet server), so user can not view result of command he send to the host computer, but this command is executed; You should bette use separate TTnCnx (Telnet protocol) and TEmulVT (Terminal emulation) components. You then can filter what you receive to display it or not. 2) Send to the host computer command without displaying it in Terminal window; Yes, using Send. But be aware that the host may echo the data you send. Again, using separate component would give you better control. 3) Write to the Terminal window without sending command to the host computer? Yes, use Write, just as clear screen I showed you. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Using TTnEmulVT
Is it possible to do with TTnEmulVT: 1) Hide from Terminal some output of host computer (Telnet server), so user can not view result of command he send to the host computer, but this command is executed; You should bette use separate TTnCnx (Telnet protocol) and TEmulVT (Terminal emulation) components. You then can filter what you receive to display it or not. How I can filter data? If I understand I can do it on OnDataAvialable event of TTnCnx component. You receive data from the OnDataAvailable event and then you filter it as you like. That is you write code to analyse data before passing it to TEmulVT component for display. 2) Send to the host computer command without displaying it in Terminal window; Yes, using Send. But be aware that the host may echo the data you send. Again, using separate component would give you better control. Now I use separetely these two components and if I want to display data I use Send and WriteBuffer method of TEmulVT component. Is it right way ? (but it works!) :-) Well, It's been a long time that I haven't serioulsy used those component. Look into TTnEmulVT source code. -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Using TTnEmulVT
Can I remove string EmulVT from the top line when I dragdrop this component on the form? You must write the Clear Screen escape sequence at runtime. For example from the FormCreate event handler: TnEmulVT1.WriteStr(#27 + '[2J'); And can I use my own settings instead EditOptions method. Just look into the source code to see how the values entered in the options form are set into the component. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Artem Antonov [EMAIL PROTECTED] To: twsocket@elists.org Sent: Friday, July 15, 2005 3:36 PM Subject: [twsocket] Using TTnEmulVT Hello! I use TTnEmulVT, and have some question. Can I remove string EmulVT from the top line when I dragdrop this component on the form? In the source file (TNEMULVT.PAS) I didn't find this string. And can I use my own settings instead EditOptions method. How in this case this settings should be apply to open terminal window (Repaint method to use)? Thanks. -- Best regards, Artem Antonov. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be