-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
banner discussion #41
Comments
Incidentally, I came here to the GitHub issues page to suggest something very similar but not quite the same: There should be a simple When repeatedly reloading a script for testing, the banner rapidly becomes an eyesore that accomplishes nothing but mucking up the console logs and making them more tedious to read through. Automated running of GForth is also negatively impacted by the banner, etc, in addition to the similar problems you've linked to. So, I'm seconding the above suggestion and also suggesting that there should be a "quiet" flag of some kind to remove the banner completely in all cases. The user shouldn't need to know esoteric things about GForth just to silence the extraneous banner. Anyway, thanks for reading. Hopefully the devs will implement something like this. |
sure. and put at the end: actually, gforth should recognise a ~/.config/gforthrc but on gforth 0.7.9_20221117 after setting export GFORTH_ENV=on, I got an error
(edit: it looks like you can invoke additional commands in ~/.config/gforthrc0, it seems to work at least) |
altering |
I've looked again at this problem. I still don't understand why the history isn't working when we have So here is a way to suppress the banner message and keep (apparently) the rest of the functionalities: Add
into now your scripts shouldn't display the gforth banner. You can also add "bye" (to exit) or "quit" (to go back to the gforth prompt) at the end of your scripts. |
Thanks for all the detailed info and for your efforts! 🙂 I still think that there should be a Most languages (whether compiled or interpreted) have some kind of quiet mode (if/when applicable), so it is strange that GForth doesn't. All the I'm still largely new to GForth though and don't feel like I should be attempting changes to the language itself myself yet. I'm learning GForth because I want to get a clearer sense of what the original Forth language was like (but modernized reasonably of course, hence the choice to use GForth). PS: I'm also wondering why the most recent version of GForth's pre-built Windows executable is from 2020. Doesn't GForth still support Windows? It says it does on the site. I don't think users should have to rebuild GForth just to use the most recent on Windows. Do the GForth devs realize how old the prebuilt Windows binaries are now? I feel like ideally the pre-built package(s) should be automatically updated and tested by human hands periodically too. I also noticed that the |
First of all, around 2019, Gforth on WSL became more usable than Gforth built native, and I was less motivated compiling it. Since then, WSL became even better and better. With WSLg, you have full OpenGL support, something I didn't manage in the native version. Gforth is a GNU project, and the GNU project has a guideline on the support of proprietary operating systems, which bogs down to “don't waste your time” when you have better things to do. In early 2021 my son was born, and I simply have to trade in something. And if you want a
to And you really should add We discussed this problem and I suggested to make |
@forthy42 that's a very interesting feature! I couldn't find it in the online doc, and it didn't even work in my gforth-0.7.9 from 2022-01-27, so I've discovered it was a quite recent addition (and it's certainly not in the current "latest release", 0.7.3). I've picked latest dev release (20231012) and it's working fine. @WraithGlade I suggest you try to compile the latest bleeding edge snapshot of gforth from WSL, and this way you'll get a more customisable gforth! Gforth is a very complete and modern Forth, which also follows the ANS standard, but it's also quite complex. It's a good idea to use gforth as the main forth, but it might also worth looking at how simpler forth are working as well. |
Thanks for the info and assistance @forthy42 and @farvardin. 🙂 It's of course very understandable that when time is limited a project maintainer should prioritize they find most suitable to themselves. It sounds like as far is Windows development is concerned then GForth should only be used for playing around with Forth and not for real projects since it is very unclear that projects built on WSL can be actually ever be distributed and run on end users' Windows computers reliably and thus makes it far too risky as a platform for creating any real Windows applications. I was mostly intending to use GForth for learning anyway, so that's ok though not ideal. (Then again, I'm not familiar with WSL for real project use, so I could be wrong.) It's also been surprising that the I do still think Anyway, thanks again for everyone's time and efforts. I appreciate that GForth makes modern Forth available and featureful and admire the work and dedication you've put into it! Have a good day/night! 😎🌄 |
What do you think about In the batch mode the Forth system shall:
|
There is a discussion about the gforth banner there:
https://www.reddit.com/r/Forth/comments/151jmg7/hidding_banner_in_gforth_starting_a_fs_program/
the problem is by invoking
gforth program.fs
, it's starting first the informations within the program, or the result itself, and THEN the gforth banner. It's possible to use thebye
or thequit
command, but it might be more intuitive or logical to display the banner only when gforth is invoked alone.The text was updated successfully, but these errors were encountered: