Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 21:46 13 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Editor and TeraTerm

Author Message
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 10:51pm 06 Apr 2015
Copy link to clipboard 
Print this post

Hi All

I am one those users that uses the built in editor most of the time.
But I now have a really annoying issue that is driving me insane.

While using the editor via TeraTerm if I scroll up, down, left, right,
page up or page down keys quickly over a few lines I get kicked out to what looks like the normal prompt but when I press enter I get an error as per the pic below
The up arrow seems to produce "[A" while the down arrow produces "[B"
sometimes I get the Save Y/N prompt in the editor pressing ESC makes it goway


Anybody got any ideas setting in TeraTerm somewhere ?
I have tried different serial ports with the same result




Thanks
Jman


 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9593
Posted: 10:55pm 06 Apr 2015
Copy link to clipboard 
Print this post

Hi jman.

Is TT set to VT100 mode?

SETUP menu, then Terminal...




Smoke makes things work. When the smoke gets out, it stops!
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 10:59pm 06 Apr 2015
Copy link to clipboard 
Print this post

Hi
Yip settings are as below









Thanks
Jman
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9593
Posted: 11:06pm 06 Apr 2015
Copy link to clipboard 
Print this post

I don't have the coding boxes on my TT - what version are you using?

Smoke makes things work. When the smoke gets out, it stops!
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 11:30pm 06 Apr 2015
Copy link to clipboard 
Print this post





Jman
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1114
Posted: 11:37pm 06 Apr 2015
Copy link to clipboard 
Print this post

jman,

MMB 4.5 manual states tx delay of 50mS - that might help.

Also, don't quite understand the screen dimensions show? Again, from the manual, use 80 x 36 (assuming MM, miniMM or CMM).

Cheers,
Doug.

... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
BobD

Guru

Joined: 07/12/2011
Location: Australia
Posts: 935
Posted: 11:42pm 06 Apr 2015
Copy link to clipboard 
Print this post

I have v4.82 and it shows the same setup page as Jman. The latest is V4.86 from SEP 14.
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9593
Posted: 11:46pm 06 Apr 2015
Copy link to clipboard 
Print this post

You could try another terminal program - I don't really like TT for it's complexity, but it is a nice stable system that works.

Other terminal programs

Microchip Forums thread about terminal software Edited by Grogster 2015-04-08
Smoke makes things work. When the smoke gets out, it stops!
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 11:56pm 06 Apr 2015
Copy link to clipboard 
Print this post

  panky said   jman,

MMB 4.5 manual states tx delay of 50mS - that might help.

Also, don't quite understand the screen dimensions show? Again, from the manual, use 80 x 36 (assuming MM, miniMM or CMM).

Cheers,
Doug.


Well Bugger me
I set to 50mS and it is really BAD now set it to 2mS and it seems all good :)

Thanks for the help
Jman

EDIT: Still not perfect but better @ 2msEdited by jman 2015-04-08
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9593
Posted: 12:07am 07 Apr 2015
Copy link to clipboard 
Print this post

But.....50ms is the correct timing....

That's interesting.

However, if it works......
Smoke makes things work. When the smoke gets out, it stops!
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4038
Posted: 01:48am 07 Apr 2015
Copy link to clipboard 
Print this post

It looks to be not understanding escape sequences, which to me suggests you should reduce the msec/char number.

For example, the sequence
ESC [ A
if sent slowly is 3 separate chars but quickly is one group - which is what you want.

JohnEdited by JohnS 2015-04-08
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3285
Posted: 04:18am 07 Apr 2015
Copy link to clipboard 
Print this post

The mSec/char entry in Tera Term should be zero. The reason is that MMBasic measures the delay between characters to determine if they are the result of an escape code or not. If the delay is too great MMBasic will decide that they are being typed by a human and treat them as normal text (which is what you are seeing on the screen in your examples).

This is mentioned somewhere in the manual... but so is a lot of other stuff therefore it is easy to miss a detail like this.

If you want to slow down the speed of transmission use the mSec/line entry in Tera Term.

I don't know if this is your issue but it is a good candidate.

Geoff

P.S. It is nice to hear from someone who appreciates the built in editor. I like it too - but then I am biased (not to take away from MMEdit which is great).
Geoff Graham - http://geoffg.net
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9593
Posted: 04:24am 07 Apr 2015
Copy link to clipboard 
Print this post

The built-in editor is fantastic, and a really good selling point for the MM chip - that you can write the code and try it out instantly - just like the computers of old.

I too prefer MMEdit, but I still think the internal editor is a great feature, especially for newcomers to the platform.
Smoke makes things work. When the smoke gets out, it stops!
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025