modula3 / cm3

Critical Mass Modula-3
http://modula3.github.io/cm3/
Other
133 stars 26 forks source link

Why cm3ide must know what my browser is? #1041

Open jpgpng opened 2 years ago

jpgpng commented 2 years ago

Constantly asked me this question, there is no way to skip.

NOTICE:  Unable to locate 'examples' folder.
Recovering user state from C:\Active\msys64\home\Administrator\proj\CM3_IDE.cfg1
What program should CM3-IDE use for your web browser?

As I'm on the MSYS2 shell, I have no idea what I should type in. My system wide browser is Firefox, I tried both firefox and firefox.exe but doesn't get accepted.

What program should CM3-IDE use for your web browser?
firefox
"firefox" is not an executable file.
What program should CM3-IDE use for your web browser?
firefox.exe
"firefox.exe" is not an executable file.
What program should CM3-IDE use for your web browser?

How could I continue?

VictorMiasnikov commented 2 years ago

1) Are You have compiled hello.exe ?

2) Why You want use AMD64_MINGW ? May be AMD64_NT is better choice?

3)

Constantly asked me this question, there is no way to skip.

NOTICE:  Unable to locate 'examples' folder.
Recovering user state from C:\Active\msys64\home\Administrator\proj\CM3_IDE.cfg1
What program should CM3-IDE use for your web browser?

As I'm on the MSYS2 shell, I have no idea what I should type in. My system wide browser is Firefox, I tried both firefox and firefox.exe but doesn't get accepted.

What program should CM3-IDE use for your web browser?
firefox
"firefox" is not an executable file.
What program should CM3-IDE use for your web browser?
firefox.exe
"firefox.exe" is not an executable file.
What program should CM3-IDE use for your web browser?

How could I continue?

If short: CM3-IDE.exe never was be "clone" of Delphi / Clarion RAD tools.

It's even not be text editor.

P.S. ToDO: add URL of PDF P.P.S. ToDO: add way to run CM3-IDE.exe ( It's possible)

2022-08-25: see later this: = = Please try first run "scripts\dev\windows\do-cm3.cmd" and then run CM3-IDE.exe inside this command line window = =

2022-11-16:

cm3ide is in good state: = = cm3ide -- Opened file M3AST i3 _

= =

VictorMiasnikov commented 2 years ago

How about CudaText ?

( please see some news https://github.com/Alexey-T/CudaText/issues/4074 )

Please see: = =  Picture N1 = =

VictorMiasnikov commented 2 years ago

@VictorMiasnikov It seems if one use MSVC he doesn't have to setup a POSIX like environment like MSYS2 isn't it? At least your wiki say so (https://github.com/modula3/cm3/wiki/Getting-Started%3A-Windows). What about supporting something similar for MinGW-W64? MinGW-W64 doesn't need MSYS2 (there are standalone builds like of Winlibs.com). CMake and Python3 could be installed without MSYS2 too. I have no idea why you required MSYS2 to use with MinGW-W64 at all.

If You want then I can write e-mail message to Eric Sessoms . . .

jpgpng commented 2 years ago

@VictorMiasnikov It seems if one use MSVC he doesn't have to setup a POSIX like environment like MSYS2 isn't it? At least your wiki say so (https://github.com/modula3/cm3/wiki/Getting-Started%3A-Windows). What about supporting something similar for MinGW-W64? MinGW-W64 doesn't need MSYS2 (there are standalone builds like of Winlibs.com). CMake and Python3 could be installed without MSYS2 too. I have no idea why you required MSYS2 to use with MinGW-W64 at all.

If You want then I can write e-mail message to Eric Sessoms . . .

Who is he? Is he the project owner?

VictorMiasnikov commented 2 years ago

} Who is he? Is he the project owner? Eric has created "new style" .py and description / FAQ ( I am "on smartphone". Sorry for minimalism)

19.08.2022, 20:53, "jpgpng" @.***>:

@VictorMiasnikov It seems if one use MSVC he doesn't have to setup a POSIX like environment like MSYS2 isn't it? At least your wiki say so (https://github.com/modula3/cm3/wiki/Getting-Started%3A-Windows). What about supporting something similar for MinGW-W64? MinGW-W64 doesn't need MSYS2 (there are standalone builds like of Winlibs.com). CMake and Python3 could be installed without MSYS2 too. I have no idea why you required MSYS2 to use with MinGW-W64 at all.

} VVM}} If You want then I can write e-mail message to Eric Sessoms . . .

Who is he? Is he the project owner?

jpgpng commented 2 years ago

@VictorMiasnikov I don't know what obscure email client you are using but try to turn off html and send your emails as plain text or try a bit better to format them please :pray:

VictorMiasnikov commented 2 years ago

20.08.2022, 04:27, "jpgpng" @.***>: }@VictorMiasnikov I don't know what obscure email client you are using but try to turn off html and send your emails as plain text or try a bit better to format them please 🙏

I known about "html problem". In short: It can not be fixed in near time. On Monday I fix Github engine error by manual editing text of Issues 

jaykrell commented 2 years ago

cm3ide is a web server and you need a web browser to use it. If you don't like it, use cm3 instead?

VictorMiasnikov commented 2 years ago

cm3ide ( . . .)

VVM}} ( . . .) way to run CM3-IDE.exe

Please try first run "scripts\dev\windows\do-cm3.cmd" and then run CM3-IDE.exe inside this command line window

jpgpng commented 2 years ago

cm3ide is a web server and you need a web browser to use it. If you don't like it, use cm3 instead?

Web server? But, why? What did you have in mind when you designed it like that? :confused:

jpgpng commented 2 years ago

cm3ide ( . . .)

VVM}} ( . . .) way to run CM3-IDE.exe

Please try first run "scripts\dev\windows\do-cm3.cmd" and then run CM3-IDE.exe inside this command line window

Running a batch script from MSYS2 shell? Isn't it a bad idea? :confused:

jaykrell commented 2 years ago

cm3ide is a web server and you need a web browser to use it. If you don't like it, use cm3 instead?

Web server? But, why? What did you have in mind when you designed it like that? 😕

I didn't design it. I agree it is a bit wierd, but you have to realize..this was done over 25 years ago.. it resembles in some ways Electron apps. But imagine you don't even have (client-side) JavaScript. How would you write a cross platform gui? If you decide to use the web browser, how?

Anyway, just use the command line cm3 and your favorite text editor. You don't need cm3ide. I doubt it has many users, even compared to cm3.

VictorMiasnikov commented 2 years ago

Yes, I want write too: web sever cm3ide was born near to 1991.

( but it works and today. In the middle of 2020)

30.08.2022, 08:03, "Jay Krell" @.***>:

cm3ide is a web server and you need a web browser to use it. If you don't like it, use cm3 instead?

Web server? But, why? What did you have in mind when you designed it like that? 😕

I didn't design it. I agree it is a bit wierd, but you have to realize..this was done over 25 years ago.. it resembles in some ways Electron apps. But imagine you don't even have (client-side) JavaScript. How would you write a cross platform gui? If you decide to use the web browser, how? Anyway, just use the command line cm3 and your favorite text editor. You don't need cm3ide. I doubt it has many users, even compared to cm3.

VictorMiasnikov commented 2 years ago

cm3ide ( . . .)

VVM}} ( . . .) way to run CM3-IDE.exe

Please try first run "scripts\dev\windows\do-cm3.cmd" and then run CM3-IDE.exe inside this command line window

Running a batch script from MSYS2 shell? Isn't it a bad idea? 😕

I don't try this...

Run do-cm3, run "set >listofenvar.txt"

Reproduce environment variables

P.S. Var B: Use AMD64_NT instead of AMD64_MINGW is good choice. You can compile .dll

jaykrell commented 2 years ago

.cmd files are a bad idea in every environment. Seriously.

VictorMiasnikov commented 2 years ago

30.08.2022, 10:52, "Jay Krell" @.***>: .cmd files are a bad idea in every environment. Seriously.

This .cmd is very simple and nice -) ( I wrote really advanced .cmd and can compare)

"Our .cmd" simply setup CM3_ROOT env. variable, etc

VictorMiasnikov commented 2 years ago

1) VVM}}} If short: CM3-IDE.exe never was be "clone" of Delphi / Clarion RAD tools.

2) VVM}}} How about CudaText ? ( please see some news https://github.com/Alexey-T/CudaText/issues/4074 )

3) 3oheicrw} Or you could use JEdit. It has Modula-3 syntax highlighting long before CudaText.

There is another candidate :

Modulipse is a Modula-2 IDE based on the Eclipse platform

http://modulipse.sourceforge.net/

...

Modulipse is a Modula-2 IDE based on the Eclipse platform

...

...

•Code templates •Wizards for creating projects, program modules and definition modules •Generation of implementation modules from definiton modules

...