octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #48017] --no-window-system command line option


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #48017] --no-window-system command line option does not disable graphics
Date: Wed, 25 May 2016 17:34:52 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Follow-up Comment #1, bug #48017 (project octave):

The option does avoid some things, but not everything. I agree it could be
used to do more.

Here's what it does

* prevent starting the GUI
* prevent trying to initialize $DISPLAY
* set up the display_info class so that height, width, dpi all return 0, and
display_available returns false

The problem seems to lie in that display_info::display_available should be
used in more places.

Making Octave remove DISPLAY from its environment might be one way to go, but
I usually dislike modifying the user's environment unless it's absolutely
necessary.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48017>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]