You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of brl.mod/system.mod does not open graphical dialogues on Linux. So when run from a graphical application it only outputs to the console windows. While this behaviour is okay for a console app, this is not very useful for the graphical ones.
To avoid this, one could replace
Method Notify( text$,serious )
WriteStdout text+"~r~n"
End Method
with
Method Notify( text$,serious )
system_ "xmessage -center ~q"+text+"~q"
End Method
and the likes.
I assume this is ok as long as it is run in an graphical environment. As it already utilizes "X11/..." things I am not sure if this creates trouble.
Also it might be a good thing to utilize: https://sourceforge.net/projects/tinyfiledialogs/
which is a "small" c-project which wraps calls to "xmessage" (or another available command line tool) so we would not need to take care of what is installed. It also falls back to terminal-output if nothing "graphically" is available.
The text was updated successfully, but these errors were encountered:
There is a pull request waiting for this issue.
Why is this not accepted? because of a external program not available on all systems? (aka relying on "X").
The current implementation of brl.mod/system.mod does not open graphical dialogues on Linux. So when run from a graphical application it only outputs to the console windows. While this behaviour is okay for a console app, this is not very useful for the graphical ones.
To avoid this, one could replace
with
and the likes.
I assume this is ok as long as it is run in an graphical environment. As it already utilizes "X11/..." things I am not sure if this creates trouble.
Also it might be a good thing to utilize:
https://sourceforge.net/projects/tinyfiledialogs/
which is a "small" c-project which wraps calls to "xmessage" (or another available command line tool) so we would not need to take care of what is installed. It also falls back to terminal-output if nothing "graphically" is available.
The text was updated successfully, but these errors were encountered: