Login  
Search All Forums
Dart Home | PowerTCP SFTP & SSH for .NET | Custom Development Reply | PowerTCP SFTP & SSH for .NET Topics | Forums   
AuthorForum: PowerTCP SFTP & SSH for .NET
Topic: How do you write special characters via SSH?
sergiogcx

From: USA
Posts: 2
Member Since: 04/15/15
posted April 15, 2015 8:42 PM

Hello, I am liking DartSSH very much. I was wondering if there is a way to send (write) special keys over SSH? for instance F1-F8 (keyboard), PageUp/Dowb or Arrow Keys ... thank you.

sergiogcx

From: USA
Posts: 2
Member Since: 04/15/15
posted April 16, 2015 8:06 PM

I've figured it out, at least for the F8 key that I needed. It would be something like this:

// C# Code, char 27 is Ascii for Escape
// The remaining sequence is map code for F8
// in a ksh terminal

session.write("" + (char)27 + "[19~");
Jamie Powell (Admin)

From: Rome, NY USA
Posts: 380
Member Since: 03/13/07

Extra Support Options
Custom Application Development

posted April 17, 2015 4:21 PM

Thank you for the update and your interest in Dart's PowerTCP SSH and SFTP for .NET product! Please feel free to email any pre-sale questions to sales@dart.com

All the best,
Jamie
Reply | PowerTCP SFTP & SSH for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX