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

Re: x-terminal-emulator does not appear to accept comand line args



On 09/06/11 17:32, Camaleón wrote:
On Thu, 09 Jun 2011 14:58:02 +0000, Camaleón wrote:

On Thu, 09 Jun 2011 07:21:58 -0700, briand wrote:

There's still a bug, as the man page brings up the man page/options for
gnome-terminal which uses "--geometry=".

I think there is no bug... let' see:

sm01@stt008:~$ grep help /usr/bin/x-terminal-emulator
     elsif ($opt eq '-h' || $opt eq '--help')
	push(@args, '--help');

The "help" command from "x-terminal-emulator" accepts both arguments, "-
h" and "--help") ;-)

Err... after re-reading my response I think I've completely lost my
bearings (I don't know how in hell I linked the "--help" parameter with
the man page, sorry).

Anyway, I think "gnome-terminal" does not have to share the same
arguments than "x-terminal-emulator" so IMO, still no bug (yes, the man
page launched is the one of "gnome-terminal" but that's the expected
because in the end the perl script points to "gnome-terminal" binary or
whatever terminal the user has setup as default).

Actually the perl script in this case only points to "gnome-terminal", nothing else.

"x-terminal-emulator" is a symlink to "/etc/alternatives/x-terminal-emulator", which is a symlink to the perl script "/usr/bin/gnome-terminal.wrapper".

I think that as the wrapper is translating x-terminal options to gnome-terminal equivalents, it shouldn't pass through "-h" or "--help", but should display a basic usage page for the options that *it* accepts.

Therefore I consider this to be a bug (albeit minor in nature). I just use the native gnome-terminal options anyway.

--
Dom


Reply to: