Re: Fall Back to ttydrv when DISPLAY is not set
On Sun, Apr 13, 2003 at 08:41:04PM +0200, Uwe Bonnes wrote:
Changelog wine/dlls/user/user_main.c: load_driver wine/dlls/gdi/driver.c: load_display_driver Fall back to the ttydrv when the DIPLAY variable is not set
What about falling back to including a patch? ;-) BTW, do you print a SUFFICIENTLY LARGE warning message when doing so? Users should be aware that something "isn't ok" when this happens... (otherwise they'll keep running Wine with ttydrv and not be aware of the real reason for this behaviour, namely the missing DISPLAY variable) Anyway, since this is going towards error handling, you should make sure that people *know* what's going on instead of them confusedly deleting Wine again ;-) Andreas Mohr -- Help prevent Information Technology Fascism! - before it's too late... http://www.againsttcpa.com
"Andreas" == Andreas Mohr <andi(a)rhlx01.fht-esslingen.de> writes:
Andreas> On Sun, Apr 13, 2003 at 08:41:04PM +0200, Uwe Bonnes wrote: >> Changelog wine/dlls/user/user_main.c: load_driver >> wine/dlls/gdi/driver.c: load_display_driver Fall back to the ttydrv >> when the DIPLAY variable is not set Andreas> What about falling back to including a patch? ;-) Andreas> BTW, do you print a SUFFICIENTLY LARGE warning message when Andreas> doing so? Users should be aware that something "isn't ok" when Andreas> this happens... (otherwise they'll keep running Wine with Andreas> ttydrv and not be aware of the real reason for this behaviour, Andreas> namely the missing DISPLAY variable) Anyway, since this is Andreas> going towards error handling, you should make sure that people Andreas> *know* what's going on instead of them confusedly deleting Wine Andreas> again ;-) Do you perhaps sometimes log in on your machine on a slow line? Do you then feel like this is a configuration error you should get warned by every programm you try to run? E.g. "emacs" silently falls back that way too. Bye -- Uwe Bonnes bon(a)elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Uwe Bonnes <bon(a)elektron.ikp.physik.tu-darmstadt.de> writes:
Do you perhaps sometimes log in on your machine on a slow line? Do you then feel like this is a configuration error you should get warned by every programm you try to run?
E.g. "emacs" silently falls back that way too.
But emacs actually behaves correctly on a tty. Most Windows apps will be completely unusable with ttydrv, and failing to start is much better than messing up the user's terminal. We could conceivably have an option to enable that behavior, but it should definitely not be the default. -- Alexandre Julliard julliard(a)winehq.com
Then we could fail without, and show the option that must be set to override this ? Perhaps add a parameter in .wine/config ?
But emacs actually behaves correctly on a tty. Most Windows apps will be completely unusable with ttydrv, and failing to start is much better than messing up the user's terminal. We could conceivably have an option to enable that behavior, but it should definitely not be the default.
===== Sylvain Petreolle (spetreolle at users dot sourceforge dot net) ICQ #170597259 No more War ! "What if tomorrow the War could be over ?" Morpheus, in "Reloaded". For the Law of Oil and Fire, Im an European that lives in France. For all my Brothers and friends, Im a human living on Earth. ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
participants (4)
-
Alexandre Julliard -
Andreas Mohr -
Sylvain Petreolle -
Uwe Bonnes