cputtyuser-experiencetouchscreenhyperterminal

Working with Putty


I have decided to use PuTTY instead of hyper terminal because it is open source, and where I could manipulate the code. http://www.putty.org/

What I am trying to achieve is the following: The following locks http://www.southco.com/en-ph/em-05/em-05-11-111

would be connected to a windows tablet using a usb adapter, and upon entering a pin the locks would unlock.

I know with hyper terminal you connect the usb from the adapter to the computer and then you can turn it on or off, but what I am trying to achieve is quite complicated, so let me just start with this first question:

If I want to change the ux/ui of putty which files in the source file should I touch. I am quite familiar with php/javascript/html/java and not so much with the c programming language. Do I need visual basic? Is there a visual editor? How then make it an executable after the change?

Any help would be greatly appreciated.

enter image description here


Solution

  • If I understand you correctly, you want a terminal emulator to connect to a remote device and start a program when it connects. For this task I recommend ComBomb, and a custom script that you write. (Full disclosure: I wrote ComBomb)

    http://blog.chrisd.info/combomb/

    Your script can be written in any language, I don't think I would recommend php for this task, as it will require a big of i/o from stdin/stdout maybe some string parsing. I usually go with python these days for this type of thing.

    But the basic idea is that you use ComBomb to connect, and then your script just reads from stdin and searches the input for the command prompt. When the command prompt is found it writes the desired command to stdout which ComBomb will send to the remote end, and that will effectively cause your program to run on the remote end.

    There is already an example python script (addons/safetofile.py) included with ComBomb and maybe you can use it as a starting point. If you decide to go this route and have specific ComBomb questions I recommend opening an issue on github:

    https://github.com/cdesjardins/ComBomb