Menu

#47 Notebook page titles & ...

1.5.2
open
nobody
5
2002-08-18
2002-08-18
K.K
No

Hi Cristiano

Recently , I've lookded over the 2 other multi page
gnome terninals on sourceforge's site.

They suck a lot , with one exception: they set the
titles of the notebook page function of program running in
that page.

I think it's a good ideea , especially when you have
many terms opened in MGT.

And one more thing: could you add a handler for
SIGTERM or other signals that saves the current path
and number of the opened terms?(something like opera
does when it segfaults)

Thanks !

Discussion

  • De Michele Cristiano

    Logged In: YES
    user_id=309134

    Hi Victor,
    I didn't get exactly what you mean by "notebook page
    function" so
    could you explain it better?

    About SIGTERM yes I can do that, I hope soon :)

     
  • K.K

    K.K - 2002-08-27

    Logged In: YES
    user_id=440411

    Sorry Cristiano for the ambiguous term.

    I think in english language you can use a construction like
    this:

    "The sound velocity is function of the medium which sound
    passes through"
    Translation :-) : " The sound velocity depends on the
    mediun which sounds passes through".

    What i mean is that :
    It would be nice to set notebook's page name depending on
    what program is running in that shell(like opera does for its
    notebook pages)
    Forx : if i'm running vi mgt.c page will be :vi ... or how many
    chars are allowed for notebook page title to look nice.

    Thanks

     
  • De Michele Cristiano

    Logged In: YES
    user_id=309134

    oh yes sorry I misunderstood :-/, anyway I think if you set
    'titled tabs'
    under Preferences->Settings->tabs each will reflect what
    each app
    will set.
    For example vim will set it as you need...so try it out

     
  • K.K

    K.K - 2002-08-28

    Logged In: YES
    user_id=440411

    Hi cristiano

    i tried setting titles for tabs in references->Settings->tabs
    but the tab title is something like (for ex)
    root@localhost.localdomain:/root or whatever the path is.

    I think it would be nicer if it just would be vi or mc
    I think that a user remember a specific terminal by the
    running program in it and not by the machine:path he is on.

    What do you think of this?

     
  • Hal Burgiss

    Hal Burgiss - 2002-08-29

    Logged In: YES
    user_id=322640

    > root@localhost.localdomain:/root

    I think this is a bash setting. Are you using Red Hat? If
    so, look in /etc/bashrc:

    case $TERM in
    # xterm*)
    # if [ -e /etc/sysconfig/bash-prompt-xterm ]; then
    #
    PROMPT_COMMAND=/etc/sysconfig/bash-prompt-xterm
    # else
    # PROMPT_COMMAND='echo -ne
    "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
    # fi
    # ;;

    That probably got mangled, but will give a windowmanager
    titlebar like you describe (I hate it!). Maybe MGT can
    over-ride this, but I find it better to comment out the
    offensive stuff (if this is the case for you too).

     

Log in to post a comment.

MongoDB Logo MongoDB