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: AustraliaPosts: 1597 |
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: AustraliaPosts: 844 |
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: AustraliaPosts: 5931 |
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: AustraliaPosts: 5931 |
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: AustraliaPosts: 844 |
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: AustraliaPosts: 5931 |
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. That looks like a bug for me to fix. Thanks Jim VK7JH MMedit MMBasic Help |
||||
disco4now Guru Joined: 18/12/2014 Location: AustraliaPosts: 844 |
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: AustraliaPosts: 5931 |
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: FrancePosts: 24 |
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: AustraliaPosts: 1032 |
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: AustraliaPosts: 5931 |
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: AustraliaPosts: 1032 |
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: AustraliaPosts: 5931 |
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: AustraliaPosts: 1032 |
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: NetherlandsPosts: 3608 |
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: AustraliaPosts: 844 |
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: AustraliaPosts: 1597 |
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: AustraliaPosts: 5931 |
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: AustraliaPosts: 1032 |
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: AustraliaPosts: 5931 |
I'll put some sanity checks in for the window placement. Thanks. VK7JH MMedit MMBasic Help |
||||
Page 3 of 19 |
Print this page |