Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 15:04 25 May 2024 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 : MMEdit V5

     Page 3 of 19    
Author Message
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1597
Posted: 05:15am 03 Feb 2022
Copy link to clipboard 
Print this post

Thanks Jim,
Sorry I should not have posted here, I'm still on V4 for now.

I'm only looking for a way to run either version of MMBASIC for Windows to use until the dust settles on Peter's version. It's not important. Your Action menu is adequate but I would still like the 'gear' icon to run (perhaps) the first item in the list if it's not still there and doing it.

I use 'Open with' to load either the same program into notepad or a different one so I can look at two places in the program at once or copy and paste from another one.

Bill
Keep safe. Live long and prosper.
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 844
Posted: 04:20am 06 Feb 2022
Copy link to clipboard 
Print this post

  TassyJim said  
MMEdit5 allows you to keep Teraterm connected and still use MMEdit/MMCC to transfer files
Jim

Hi Jim,
Any tips on how to do this. I have not been able to work it out.
I have switched over to MMEdit5 now.
Regards
Gerry
Latest F4 Latest H7
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5931
Posted: 05:17am 06 Feb 2022
Copy link to clipboard 
Print this post

Use the latest version that I put on my website a couple of days ago.

Start MMCC and it will tell you what port number the Data server is listening on.
Use that port to connect TeraTerm to.

Change MCC to External VT helper and you can send from MMEdit without disturbing Teraterm.

Help files will come soon.

Jim
VK7JH
MMedit   MMBasic Help
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5931
Posted: 05:53am 06 Feb 2022
Copy link to clipboard 
Print this post

Next hint:
With the MMCC connected to your device,
drag any BAS file onto the MMCC terminal window.
There are a few rules that decide if it will get transferred using AUTOSAVE or XMODEM
If you drag more than one file, they will all go by XMODEM.
If there is only one file and it is a BAS file, it will go using AUTOSAVE but you can change that to always use XMODEM.
If the file is not BAS, XMODEM gets used.

In the MMCC.inf file there are some options
[General]
TextTypes = bas txt inc
Use XMODEM for Drag&Drop = 0

TextTYpes lists files that are treated as BAS
Use XMODEM for Drag&Drop = 1 would force all D&D to use XMODEM, even for one file.

Jim

I had intended to get some help info up by now but it has taken me 3 days to install a charging point in the garage. That has priority.
VK7JH
MMedit   MMBasic Help
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 844
Posted: 07:16am 06 Feb 2022
Copy link to clipboard 
Print this post

I have to turn on local echo in TeraTerm to see the commands being typed. Is this expected?

I also noticed that when you change syntax from the menu in MMEdit it looks like the syntax is cumulative and the previous one is not removed. I noticed with #DEFINE which is a keyword for CMM2. If your set default syntax to picomite in  the ini , #DEFINE is not shown as a keyword at startup, but once you select cmm2, it remains a keyword when you return the syntax to picomite.
Edited 2022-02-06 19:27 by disco4now
Latest F4 Latest H7
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5931
Posted: 08:38pm 06 Feb 2022
Copy link to clipboard 
Print this post

  disco4now said  I have to turn on local echo in TeraTerm to see the commands being typed. Is this expected?

You have to change the mode in MMCC to external VT (I need a better name for that).
Any mode other than VT will allow the external terminal to run.
I also am considering blocking the incoming for the external terminal when in inbuilt VT mode.

  disco4now said  I also noticed that when you change syntax from the menu in MMEdit it looks like the syntax is cumulative and the previous one is not removed.

That looks like a bug for me to fix.
Thanks

Jim
VK7JH
MMedit   MMBasic Help
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 844
Posted: 09:45pm 06 Feb 2022
Copy link to clipboard 
Print this post

  disco4now said  I have to turn on local echo in TeraTerm to see the commands being typed.

Ok works nicely with GFxTerm connecting to 127.0.0.1:50900

I am not sure what is happening with my TeraTerm. It like its in Block mode, nothing transmitted until Enter key pressed, so that is why it looked like no echo coming back.
I saw this using the MMCC monitor mode,a handy feature.

Regards
Gerry
Latest F4 Latest H7
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5931
Posted: 10:09pm 06 Feb 2022
Copy link to clipboard 
Print this post

  disco4now said  I am not sure what is happening with my TeraTerm. It like its in Block mode, nothing transmitted until Enter key pressed, so that is why it looked like no echo coming back.
I saw this using the MMCC monitor mode,a handy feature.

Regards
Gerry

In the Teraterm ini file, look for

; Line at a time mode
EnableLineMode=off

Yours will be set to on.

Jim
VK7JH
MMedit   MMBasic Help
 
Romeo

Newbie

Joined: 11/02/2022
Location: France
Posts: 24
Posted: 11:13am 19 Feb 2022
Copy link to clipboard 
Print this post

  TassyJim said  
Help files will come soon.
Jim

Thanks for your nice MMBasic editor.
Will you notify here when the help will be available? Currently we have to check thru many (dozens! ) outdated .pdf files + TBS forum threads to know how any Command/Function works, and I guess using MMEdit help files is the best option to not go crazy (at least for me). Cheers  
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1032
Posted: 09:20pm 20 Feb 2022
Copy link to clipboard 
Print this post

Hi Jim

Thanks for the program.

Quick questions.

Is there an Auto-Backup and/or a Save before load function available? I found there features invaluable in the previous version (except when W10 wouldn't recognise the network BU drive & the program wouldn't save)

I can't see anything in the Settings/Preferences. Of course, I may have missed it somewhere.

Brian
ChopperP
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5931
Posted: 09:38pm 20 Feb 2022
Copy link to clipboard 
Print this post

Auto-backup is on the list but the multiple tabs got in the way. The backup was getting too intrusive. I do have a cunning plan to fix that but it hasn't happened yet.

The bas files ARE saved before sending to MMCC but the editor doesn't know that it happened. I will fix that.
If you are experimenting and don't want to stuff up your masterpiece, make a 'clone' and play with that instead of the main file.

I will probably give you an option to "send as temp.bas" in which case the file won't get saved.

Jim
VK7JH
MMedit   MMBasic Help
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1032
Posted: 09:55pm 20 Feb 2022
Copy link to clipboard 
Print this post

Thanks for that Jim.

A small point with Find.

If I have Find going & highlight another search object & hit the Find Icon again, the Find box clears & the Editor returns to the start of the program. I have to close Find first then highlight the new search.

A minor problem

Edit

One thing that has been fixed for me is that I can now save a loaded file from the network drive to another PC. MMEdit 4 didn't seem to allow me to do that.

Brian
Edited 2022-02-21 07:59 by Chopperp
ChopperP
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5931
Posted: 11:37pm 20 Feb 2022
Copy link to clipboard 
Print this post

Found the FIND problem, thanks.
Have you tried the 'find in files' option?

Liberty Basic was always a problem with network drives, another reason for changing to PureBasic.

Jim
VK7JH
MMedit   MMBasic Help
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1032
Posted: 07:43am 21 Feb 2022
Copy link to clipboard 
Print this post

Hi Jim

Good you found a problem & it wasn't me

Yes, Find all in open files is great.

I used to curse sometimes of Find always being on top & in the way. Now it doesn't appear to be so and can get hidden, so is there anyway of making this an option please?

Another good point along with the network drives is that the Editor doesn't seem to need a double click to gain full focus when returning to it.

Ref MMCC
In the first selection box on the top left, the Armmites are not listed.
Also, the terminal size does not always come up to a previously saved value. Defaults to the normal size.

Thanks

Brian
ChopperP
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 3608
Posted: 10:28pm 25 Feb 2022
Copy link to clipboard 
Print this post

Hi Jim,

Just tried the MMEdit from your website, linux version (you tested on Mint 20.3) on Ubuntu 20.04 (64 bit). Using picomite. Selected picomite from language pulldown.

do
 print "hello ";
loop while inkey$=""


Should print "hello" until a key hit.

When I run this from the editor (load and run symbol) it prints only one "hello"
When I run it from MMCC then it behaves as intended (repeats hello's).

Any idea ? Did I forget some setting ?

Regards,

Volhout
PicomiteVGA PETSCII ROBOTS
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 844
Posted: 10:50pm 25 Feb 2022
Copy link to clipboard 
Print this post

  Volhout said  Hi Jim,

do
 print "hello ";
loop while inkey$=""


Should print "hello" until a key hit.

When I run this from the editor (load and run symbol) it prints only one "hello"
When I run it from MMCC then it behaves as intended (repeats hello's).

Volhout


I can see same thing on on windows 10 into the ARMMite F4.

LIST of loaded code looks OK, and if RUN is entered will loop, but on first deploy  only prints once.


> list
'target port\com7:115200 s\armite
Do
Print "hello ";
Loop While Inkey$=""
>  



Latest F4 Latest H7
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1597
Posted: 11:53pm 25 Feb 2022
Copy link to clipboard 
Print this post

Try:
do: loop until inkey$ = ""
do
print "hello ";
loop while inkey$=""


Bill
Keep safe. Live long and prosper.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5931
Posted: 04:51am 26 Feb 2022
Copy link to clipboard 
Print this post

  Volhout said  Hi Jim,

Just tried the MMEdit from your website, linux version (you tested on Mint 20.3) on Ubuntu 20.04 (64 bit). Using picomite. Selected picomite from language pulldown.

do
 print "hello ";
loop while inkey$=""


Should print "hello" until a key hit.

When I run this from the editor (load and run symbol) it prints only one "hello"
When I run it from MMCC then it behaves as intended (repeats hello's).

Any idea ? Did I forget some setting ?

Regards,

Volhout

The "load and run" is sending a CRLF pair which can cause an extra character to end up in the keyboard buffer when the program starts.
MMCC behaves better and uses whatever line ending you have set.

That is something I have fixed and will be in the next update.

Edit: For the pico, use LF for the line ending, not CR

Jim
Edited 2022-02-26 15:03 by TassyJim
VK7JH
MMedit   MMBasic Help
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1032
Posted: 11:19pm 01 Mar 2022
Copy link to clipboard 
Print this post

Hi Jim

Couple more issues.

I lost the FIND window a couple of times. I had to change the *.inf file to get that back. Had large negative values for the screen position.

I just lost the main window. W10 task bar said it was there (as it did with the FIND window).

Checked the *.inf file & that also had large negative values for the screen position. Entered some realistic numbers, saved & rebooted & resized the small screen that came up.

Just wondering if running a dual screen & turning one off was upsetting the system.

I just created a BU copy of the inf file for next time :-)

Apart from that, a good program.

Brian.
ChopperP
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5931
Posted: 12:45am 02 Mar 2022
Copy link to clipboard 
Print this post

I'll put some sanity checks in for the window placement.
Thanks.
VK7JH
MMedit   MMBasic Help
 
     Page 3 of 19    
Print this page
© JAQ Software 2024