Results 1 to 3 of 3
Hi all,
I'm using Wine to run a program called E-Sword. Now, before you tell me to move my question to the Wine forum, I'm not asking specifically about Wine. ...
- 03-01-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 2
Segfault in terminal, runs okay from shortcut
Hi all,
I'm using Wine to run a program called E-Sword. Now, before you tell me to move my question to the Wine forum, I'm not asking specifically about Wine. Anyway, what happens is that, when running the program, I call the following code:-
Whenever I run this from the terminal (gnome-terminal, as is default in Ubuntu), I get a segfault. So I've been spending most of the day reinstalling Wine and the application, was driving me crazy because it would work once in a while. After a while, I figured out that it would only work when I launch it from the .desktop launcher that gets created.Code:env WINEPREFIX="/home/data/wine/esword" wine "C:\Program Files\e-Sword\e-Sword.exe"
So, I figured something must be borked in my terminal session. After confirming that the problem was caused by launching from gnome-terminal (and, by extension, by launching from my dock, cairo-dock) and does not appear when lauching directly by double-clicking the launcher in Nautilus, I tried to run the above line within xterm (as opposed to gnome-terminal). It ran fine, no segfault.
My question, therefore, is what additional env settings are applied to gnome-terminal (or whatever settings would cause a difference between the xterm and gnome-terminal results). I'm pretty sure I've borked something in my tweaking, it only showed up this morning, though, and I haven't recently messed around with many configs besides compiz (and yes, I disabled compiz to test, as well).
So, anyone can suggest stuff which may be contributing to this? Please note that I'm also posting this at ubuntuforums, will post up the link once I've done that.
EDIT: It's here.Last edited by ngoonee; 03-01-2009 at 01:08 PM. Reason: Posting cross-link
- 03-01-2009 #2Just Joined!
- Join Date
- Jan 2009
- Posts
- 13
ok lts see i think you question is what is diferrent about xterm and gnome terminal that makes the programs work different in them? i have no ideaa but google is your friend, so lets see.....
ok it seems GNOME TERMINAL is a UNIX shell emulator, and comes with ubuntu (plain ole gnome ubuntu) as is xterm, but xterm is a bit different.
-wikipedia here: GNOME Terminal - Wikipedia, the free encyclopediaGNOME Terminal is similar to the xterm terminal emulator, and has a nearly identical feature set. Some of the more important features of the two include their support for coloured text (the output of a command such as ls --color=auto shows the use of this feature well), and support for mouse events within the window. Mouse events are commonly used within ncurses based applications for using menus or buttons that normally would have been selected using the keyboard. The application aptitude makes use of this feature. GNOME Terminal emulates many, but not all, of the escape sequences supported by xterm,[1] and provides a useful subset of the VT102 DEC terminal. Newer versions support compositing and real transparency, as well as multiple tabs. It also supports URL detection (i.e., making links visible in the terminal clickable, and thus simpler to open in a web browser, ftp- or mail client than via copy-pasting).[2]
Much of GNOME Terminal's functionality is provided by the VTE
and xterm wikipedia:
xterm - Wikipedia, the free encyclopedia
take a lookey at those.
!)
- 03-01-2009 #3Just Joined!
- Join Date
- Mar 2009
- Posts
- 2
Thank you for helping. I've read the above as welled as linked stuff, especially on VTE. Unfortunately, either I'm particularly slow this morning or there's no real information provided as to wat conf-files, for example, gnome-terminal uses that xterm does not, or what variables are terminal specific rather than bash-specific (I've already determined that the same .profile and .bashrc are used in both).


Reply With Quote
