hyperterminal

Nov 15, 2007 38 Replies

OK, I'm programming this little serially-controlled gadget, and talking to it direct-connect RS-232, through Hyperterminal. Ht is set up in asr-33 tty mode, bog simple. The box is spitting out plain ascii text.



There's a white box on the screen that shows my current conversation with El Gadget, and it all looks right. But the "backscroll buffer", the grey stuff above which shows older text, tends to be garbled, even though it rolled out of the white box correct. And there are snippets of really old text stirred in. Why?



And once I managed to aim a pointer at code instead of text (it would be impolite to ask) so my box actually shot out binary glop. So Ht printed junk on the screen, fair enough. But after that it also garbled local echo text! WTF?


Oh, wait, I figured out what's wrong:



(c) Microsoft


John


Try another terminal like TeraTerm. It took me a while to get that to accept ports past COM4 but then it really worked well.

Regards, Joerg http://www.analogconsultants.com/

This is a known glitch. You can capture the text to a file and the file appears to be correct.

BTW, hyperterminal is NOT from Microsoft.

(c) Hilgraeve Communications, Inc. "High Performance Software to Advance Communications"

formatting link

VLV

Ok, so everything is working normally.....

Cuz you used hyperterminal.

Exactly. I use PUTTY. It's free and it works, what more can anyone ask?

The one in XP has apparently been trashed by Microsoft. The "about" box says "Portions (c) Hilgraeve Inc", presumably the portions that work.

If it's a Known Glitch, do you suppose anybody will ever bother to fix it?

John

Of course when Hilgraeve owned it, it worked right. Sorta like VB, IE (spyglass) and a host of other M$ products.

For a terminal program? In 2007? I wouldn't count on it.

Regards, Joerg http://www.analogconsultants.com/

I tried Putty, but it's about as weird as Hyperterminal, except that Putty is Unix weird, and Ht is Windows weird.

It was handy in that I right-clicked the mouse and it sent something truly weird to my box - can't figure out exactly what - and my box did something it's not supposed to do, so that's a good thing to know.

All I want to do is type, have the chars go to my box, and display what comes back. That's not a lot to ask, is it?

John

Look, ma, I can make it smoke .... :-)

Then use TeraTerm or something like that. The last terminal program from MS that I found to really work reliably was the one that came with MS-Works around 1990. Good old DOS.

Regards, Joerg http://www.analogconsultants.com/

I have the same problem. If you turn on Text Capture though, it will correctly capture as it rolls off the screen. Not sure if this is a workable solution for your application though.

And I agree - this is a completely stupid bug, er, undocumented "feature". Leave it to Microsoft.

Oh wait, I have one even better that I bet half you guys didn't even know. When you have a text box or a label in a VBA app, (even just a form in VB) and you try to set the Font Size for a control to a size that's not supported in the actual FONT family, even though you set it at say

11pt, if you later read the control's font.size property it will say something like 11.25 or 10.75. But every third integer increase in font size will actually read back correctly to what you set it to - and where the series actually picks up and leaves off is dependent on which font you're using.

It's completely brainless and stupid!!!! You set a variable, and Windows changes it without telling you. (Actually, now that I think about it, I don't really know why I'm all that surprised?)

But LOOK at the physical screen. The actual text DOES NOT resize, even though the properties windows says is has. When you first notice this, you'll wonder why you never noticed it before. (And unless you were relying on the control to store the variable, I don't know how you'd ever see this one coming.)

It is retarded. Plain and simple. Although in Windows' defense, they claim it's because they can't paint a partial pixel to the screen.

It also just occured to me that maybe they just need to put "HyperTerminal" on Ritalin. :)

-mpm

Many terminals include a set of control character sequences used to select colors and alternate character sets. If a binary data stream happens to mimic the character sequence enabling one of these modes, the terminal will oblige.

You need to find the character sequence that resets the terminal to its default. Either enter it at your keyboard (that may confuse the connected device) or arrange to have the device generate that sequence occasionally to 'clean up' after such a hiccup.

On a Linux (UNIX) system, running `stty sane` usually cleans up a borked terminal.

Paul Hovnanian mailto:Paul@Hovnanian.com ------------------------------------------------------------------ This isn\'t right. This isn\'t even wrong. -- Wolfgang Pauli

Could I trouble you for some version numbers?

I've used Hyperterminal 5.1 with Windoze XP Home as a terminal emulator for packet (ham) radio for years. I have a 2000 line buffer set and can scroll back into ancient history without any garbage or weirdness. However, I have seen what you describe with some video cards and/or drivers. Sorry, I don't recall which ones.

If you want to do some tinkering, try version Hyperterminal PE 6.4 directly from the original vendor at:

Unfortunately, they want $43 for the update with no trial version.

Note that the feature list has: "Corrects video driver problems introduced by Microsoft Internet Explorer 5.0" Hmmm....

You mumbled that you also tried Putty. If that does roughly the same think as Hyperterminal, that's a possible indication that it's NOT the terminal emulator that's causing the problem. My guess(tm) would be the common video driver or associated card.

# Jeff Liebermann 150 Felker St #D Santa Cruz CA 95060 # 831-336-2558 jeffl@comix.santa-cruz.ca.us # http://802.11junk.com jeffl@cruzio.com # http://www.LearnByDestroying.com AE6KS

I had Ht set to TTY33, namely teletype mode. As I recall, I sent bazillions of binary characters to ASR33's, and it never once changed the font or the character set of the printer.

It's been Microsofted; it's crap.

John

On a sunny day (Thu, 15 Nov 2007 18:39:39 -0800) it happened John Larkin wrote in :

Get some old PC (like a Intel Quad 3.4 GHz LOL), and install Linux. I run minicom 24/7 on one for example. Minicom is OK (but not perfect). But is is OK to test embedded systems. It also has zmodem, xmodem, ymodem, kermit protocols. And you can have configure files for each system, minicom my_embedded_system will start it up fully configured for my_embedded_system. No idea why anyone still puts up with MS wing clipped stuff. All you need as a new HD and 10 minutes to install something like Debian or, like I use grml (but grml is for nerds, better try Debian first).

fer

ame

be

snipped-for-privacy@comix.santa-cruz.ca.us

=EF=BF=BD =EF=BF=BD snipped-for-privacy@cruzio.com

=EF=BF=BD =EF=BF=BD =EF=BF=BD AE6KS- Hide quoted text -

The backscroll buffer size (in this instance) is not the issue. You go back about 20 lines or so, and this problem materializes no matter what buffer size has been set. (I think 500 lines is the default). FYI, my HT version is 5.1 (XP Home Edition SP-1) Not sure what it is at the office, but same problem there too.

And yes, I know I should be at SP-2 (if for nothing else to fix another MS disaster relating to wireless connections hopping to inaccessible WEP protected networks every time a stronger wireless signal comes along.) The folks at Microsoft must be brain-dead?. There's really no other explanation for how they get the simplest stuff wrong! -mpm

Realterm is another.

A good workman chooses his or her tools carefully. ;-)

Best regards, Spehro Pefhany

"it\'s the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com

Dunno, but I'm sure not waiting.

Best regards, Spehro Pefhany

"it\'s the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com

Bah..... Windows is weird, Unix is esoteric. ;-)

See, Unix is useful. It sent whatever text was hiding in the cut/paste buffer. I'm not a really big fan of that feature either, but it's how it has worked since the days of text terminal screens in Linux w/gpm mouse support. See, Unix is also consistent. ;-)

Don't right-click if you don't want to paste, is that too much to ask? ;-) I settled on PUTTY because:

1) I already used it for SSH access 2) It lets you set custom screen heights/widths and gigantic scrollback buffers 3) Most importantly, it's free and it works.

Unix is extremely user friendly. It's just picky about who its friends are. [unattributed]

Thanks, I hadn't found that one. Trying to find a decent one thru Google is definitely on the order of the classic needle/haystack problem.

Oh yeah, tools are everything when mind-melding with computers. Thank God for multi-gigabyte USB flash drives. :-)

Join the Discussion

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

Didn't find your answer?

Ask the community — no account required