Click here to Skip to main content
13,301,619 members (67,786 online)
Click here to Skip to main content
Add your own
alternative version


78 bookmarked
Posted 14 Mar 2006

Terminal Control Project (C# VT100 SSH Telnet)

, 14 Mar 2006
Rate this:
Please Sign up or sign in to vote.
An article on implementing Telnet and SSH, and displaying it on a VT100 Terminal Emulation control created using GDI+.

Sample Image


This article demonstrates how to implement SSH and Telnet through a VT100 Emulator designed using Microsoft GDI+ and Microsoft C#.


I'm *not* a professional programmer. I enjoy programming as a hobby. My trade is in Network Engineering. I use various tools, some I've written, some commercial. This project started when I wanted to integrate some SSH capabilities into a tool I had written. After struggling with SSH, I decided it was probably beyond my capacity to understand enough to write my own SSH library. I couldn't justify spending money on some of the commercially available SSH components, and I eventually found the Granados SSH library.

After implementing Granados SSH library into my application, I realized the need to interpret and emulate VT100. That... is immensely more difficult than you think. I discovered a project at SourceForge, called "Ackterm". The person who created the Ackterm project had mostly implemented VT100 with Telnet.

I combined Granados with Ackterm to a *.dll control that I could drag onto a Windows Form in Visual C# (or C++ or Visual Basic). It needs a *lot* of work still, such as finishing up the scrolling, text selection, implementing a clipboard copy, etc. Some control codes still aren't programmed in. But, it's basically functional enough that a moderately skilled C# programmer should be able to finish where I left off. Recently, I discovered that my company already has a license for one of the commercial Terminal Emulators, so I stopped work on this project. I would be thrilled if anyone finished it up, as I have no plans to do so. Maybe in the future I may have time, but it's not likely.

Using the code

When you download the project, you'll find two directories, "TerminalControl" and "TerminalControlTest". The Visual Studio Solution file is in the "TerminalControl" directory.

The "TerminalControl" project produces the DLL file. The "TerminalControlTest" is just a Windows form to use while developing the DLL.

You will need the .NET Framework v1.1, and Visual C# 2003. I guess you could use the free compiler, but I've not tried it. The source code will probably be really hard to navigate without Microsoft's IDE and intellisense.

Points of Interest


  • March 14th, uploaded the project.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

United States United States
No Biography provided

You may also be interested in...


Comments and Discussions

QuestionLicense Pin
Member 121168011-Dec-15 5:19
memberMember 121168011-Dec-15 5:19 
QuestionMay I know the about Licensing terms of this project ?? Is It Open Source ? Pin
Explicating1-Dec-15 4:37
memberExplicating1-Dec-15 4:37 
QuestionLove this! Would you be willing to add support for HTOP? Pin
Member 1123666316-Nov-14 11:25
memberMember 1123666316-Nov-14 11:25 
GeneralAWESOME! Pin
cavalin xucro12-Aug-13 9:55
membercavalin xucro12-Aug-13 9:55 
GeneralMy vote of 5 Pin
Member 1002960720-Jun-13 1:20
memberMember 1002960720-Jun-13 1:20 
GeneralMy vote of 4 Pin
Member 43208446-Jan-12 1:42
memberMember 43208446-Jan-12 1:42 
Thanks for Sharing.
NewsArticle outdated - See follow up for this article Pin
Elmue2-Nov-11 15:42
memberElmue2-Nov-11 15:42 
GeneralRe: Article outdated - See follow up for this article Pin
Member 440167615-Jan-13 11:01
memberMember 440167615-Jan-13 11:01 
GeneralPoderosa full of bugs and misdesigns Pin
Elmue16-Jan-13 6:55
memberElmue16-Jan-13 6:55 
QuestionSerial port connection Pin
falander1-Sep-11 12:08
memberfalander1-Sep-11 12:08 
AnswerRe: Serial port connection Pin
Columbus-MCSD2-Sep-11 1:20
memberColumbus-MCSD2-Sep-11 1:20 
GeneralMy vote of 5 Pin
(BlackBox) Ethical Hacker31-Oct-10 6:37
member(BlackBox) Ethical Hacker31-Oct-10 6:37 
GeneralUser authentication failed Pin
mk_bt6-Apr-10 11:42
membermk_bt6-Apr-10 11:42 
GeneralIs this source code freely available. Pin
Timothy Scott Ayers2-Mar-10 14:49
memberTimothy Scott Ayers2-Mar-10 14:49 
GeneralSSH and telnet don't seem to be working :( Pin
macgeorge5-Nov-09 20:06
membermacgeorge5-Nov-09 20:06 
QuestionRun Command Without UI Pin
mahdavi26-Jun-09 5:26
membermahdavi26-Jun-09 5:26 
GeneralChar and unicode Pin
afterburn8-Jun-09 6:01
memberafterburn8-Jun-09 6:01 
GeneralRe: Char and unicode Pin
diamond_delight22-Feb-10 6:20
memberdiamond_delight22-Feb-10 6:20 
GeneralRe: Char and unicode Pin
afterburn22-Feb-10 7:54
memberafterburn22-Feb-10 7:54 
GeneralRemote Port Pin
kayagG9-Mar-09 12:19
memberkayagG9-Mar-09 12:19 
GeneralRemote Port Pin
Member 437021613-Apr-09 17:36
memberMember 437021613-Apr-09 17:36 
GeneralRe: Remote Port Pin
kayaG14-Apr-09 2:43
memberkayaG14-Apr-09 2:43 
QuestionHow to Upload/Download File for SFTP Pin
Giri20013-Feb-09 11:11
memberGiri20013-Feb-09 11:11 
Generalworking with ssh programmatically Pin
caradri22-Sep-08 20:06
membercaradri22-Sep-08 20:06 
GeneralClipboard request Pin
Rob Chartier10-Sep-08 14:27
memberRob Chartier10-Sep-08 14:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.171207.1 | Last Updated 14 Mar 2006
Article Copyright 2006 by Columbus-MCSD
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid