On Wed, Jun 26, 2002 at 09:18:54PM +0200, Robert Ian Smit wrote:
> Hi,
> 
> Don't know where to go to first with this problem, so y'all please be my
> victim ;)
> 
> I run mutt in a gnome-terminal. I use LC_CTYPE=en_US, so defined in
> .bashrc. So far so good.
> 
> I also have a shortcut aka launcher with a nice mutt icon that
> starts a gnome-terminal with a larger than default geometry and
> --command mutt.
> 
> When launched this way mutt does not show any special (i.e. accented)
> chars). When I run the shell command locale from within mutt my LC_CTYPE is
> empty. The funny thing is when I remove the --command parm from the
> launcher and then start mutt manually, LC_CTYPE is defined
> correctly as are the special characters.
> 
> Basically mutt works like I want in every situation I can imagine,
> except when launched from the desktop with my handy-dandy mutt-icon.
> 
> I don't know if the --command option for gnome-terminal causes a
> different environment to be set. And if so if it's a feature or a
> bug. After searching faqs, checking manuals and browsing bugzillas,
> I give up. Would some kind soul shed some light on my frustrating
> situation?

have you tried playing with the --login and --nologin options to
gnome-terminal?  from man gnome-terminal:

       --nologin
               This option indicates that the  shell  started  by
               Gnome  Terminal  should not be a login shell but a
               regular shell.

       --login This option indicates that the  shell  started  by
               Gnome Terminal should be a login shell (this trick
               is cleverly achieved in the Unix world by  running
               the  shell but telling the shell that its name has
               a dash in the front.  Very clever).

you might also play with where you put lc_type in conjunction with
these gnome-terminal options.

-- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP:     pgp.mit.edu

Attachment: msg29277/pgp00000.pgp
Description: PGP signature

Reply via email to