Open GoogleCodeExporter opened 9 years ago
I just tested this following the directions here and didn't have a problem.
http://angband.oook.cz/forum/showpost.php?s=ae0b5182563d62c026bade70d7a8529f&p=4
1195&postcount=6
This was using ubuntu 10.10 64 bit version.
Original comment by jmidd...@gmail.com
on 24 Jun 2011 at 3:01
Did some further testing, found out that the result of:
sangband; echo $?
is zero, so it technically is "running" and even exiting successfully, just
prematurely.
Then I found out that an SDL compile *will* in fact launch, but only if
executed from a graphical application such as a file browser or the GNOME run
dialog (Alt-F2). It will not launch from the command line unless started in gdb
(in a graphical environment of course. I obviously don't expect it to run from
the console without an X session, but most X applications will launch properly
if executed, for instance, from xterm, gnome-terminal, or a shell script
executed in a graphical environment. SDL Sangband will exit before displaying
anything in all three cases). An interesting test case is with GNOME Commander,
where it will launch if clicked on in one of the graphical panes, but will fail
if launched from the command line at the bottom of the window.
I had at first been trying to execute Sangband from a gnome-terminal instance
since I had compiled it there.
In summary:
Sangband will run normally (the things not marked with "presumably" are the
ones I have actually tried):
When run from the command line in gdb.
When launched from nautilus.
When launched from one of the graphical panes in GNOME Commander.
When launched from the GNOME run dialog (including with "Run in terminal"
checked).
Presumably when launched from any other graphical file browser, launcher, etc.
Sangband will exit prematurely:
When run from zsh (and presumably any other shell) in xterm.
When run from zsh, bash, dash, csh, ksh, or fish (and presumably any other
shell) in gnome-terminal.
When run from a shell script launched from nautilus.
When run from the command line in GNOME Commander.
Presumably when run by any other means involving a command line or text-mode
shell, except for the GNOME run dialog with "Run in terminal" checked.
Original comment by jon.br...@gmail.com
on 10 Jul 2011 at 6:21
Original issue reported on code.google.com by
jon.br...@gmail.com
on 31 May 2011 at 12:11