question about Putty

Nov 16, 2017 31 Replies

You could easily add any special features you need to my "connect" program in C (for Linux/OS-X), which you can download here:

It's very simple-minded, just something I threw together once to connect to a Gumstix ARM board. The almost complete lack of features should make it very suitable for you to extend.

It it helps you, please tell me.

Clifford Heath.

Realterm crashes at startup.

I just wrote a dumb glass-teletype program in PowerBasic. Now I can do whatever I want. Maybe I'll add F1 = send a file, or something.

Thanks for the offer.

John Larkin Highland Technology, Inc picosecond timing precision measurement jlarkin att highlandtechnology dott com http://www.highlandtechnology.com

It turns out that tip/cu is just too darned old to port to cygwin. rickman's "on the money" with using PuTTY on both Windows and BSD. Good bye tip. There's one less app for me to maintain competence in. Anyhow, you run putty from a cygwin X-server session within Windows. A dll called libusb handles the FTDI RS-232 dongle interface for cygwin PuTTY. Non-cygwin Windows PuTTY used to crash on me when too many lines were displayed on the screen by the DCE. This release of cygwin PuTTY doesn't crash when put to the same test.

Thank you,

Don Kuenz, KB7RPU

Shouldn't copy/paste work?

For reference putty on linux follows the standard X Window System idiom of left click start right click end (or alternatively left drag) to select and and middle click paste to paste the selection. the clipboard does not seem to be involved.

This email has not been checked by half-arsed antivirus software

OK, cygwin-Xserver-Putty actually took me down the rabbit hole. (There's some footprints here that look suspiciously like John's.) The no longer pastes from the clipboard. There's some jazz on the Inet about selecting "paste" from a menu, but that's a lot of work. There's also no "paste" on /my/ popup menu. There's some other jazz on the Inet about using ?mintty? in place of PuTTY. Apparently an old version of PuTTY was loaded on my Vista "beater." In the interim between the old version and now it looks like PuTTY's "paste" was "improved." PuTTY sans "paste" is useless to me. It's looney tunes. It's time for me to play some of my own jazz and "roll my own," just like John.

Thank you,

Don Kuenz, KB7RPU

My PowerBasic thing looks OK. It has the virtue of being simple, and under my control.

It's available if anyone is interested, source or Windows exe. It runs now at 115 kbaud, but it would be easy to make that programmable.

It handles COM1 to COM99. It appears to allow pasting text into the display window, to send out to the DUT (gotta test that today), but I could add an explicit file input too.

formatting link

John Larkin Highland Technology, Inc lunatic fringe electronics

That's very generous of you. Gracias. It's always good to see minimalist software in a world cluttered with fat apps. A large part of my motivation to change serial comm apps is to use identical software on both BSD and Windows. PuTTY runs on both platforms. It turns out that my paste problem only occurs on laptops and tablets, which lack a middle mouse button. When a mouse is used with my Vista tablet, everything works OK just as Jason said earlier. But sometimes fate puts me up on top of a ten foot, splintered, rickety, shaking ladder with my tablet balanced on my thigh. There's just no place for a mouse. For such precarious scenarios, it turns out that pastes the clipboard contents onto a PuTTY window.

Thank you,

Don Kuenz, KB7RPU

Make that . The magical combination is to paste the clipboard contents into a cygwin-x PuTTY window.

Thank you,

Don Kuenz, KB7RPU

You could give this a try, sort of beta test it for me.

formatting link

I could add a local-echo switch, or a file shooter.

I have a much fancier version that is application-specific to a Linux- based instrument that we have in development. That box is USB with an FTDI serial converter chip inside, so Windows recognizes it as a USB-serial dongle.

It seems to work. If you right-click in the terminal session window, you can paste text from the clipboard. Under Win7 anyhow.

I can make reasonable changes. Not many people run PowerBasic any more.

John Larkin Highland Technology, Inc lunatic fringe electronics

Everything runs great on Vista. It's nice touch how you made SCUT intelligent enough to enumerate available COM ports (instead of making users play Sherlock Holmes yet again).

Thank you,

Don Kuenz, KB7RPU

That version is a little hacked, stripped out from another application. I'll clean it up in the next few days and add optional local echo and just generally pretty up the code.

John Larkin Highland Technology, Inc lunatic fringe electronics

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required