help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: hostname and filename as frame title


From: Suvayu Ali
Subject: Re: hostname and filename as frame title
Date: Fri, 12 Feb 2010 09:17:59 -0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc11 Lightning/1.0b2pre Thunderbird/3.0.1

On Friday 12 February 2010 03:58 AM, Michael Albinus wrote:
Suvayu Ali<fatkasuvayu+linux@gmail.com>  writes:

Hi Michael,

Hi,

However because of all the different machines and different usernames, I
rely on my ~/.ssh/config to specify the username on the remote machine.
So I open a remote file like this,

`/ssh:remote-host-alias:/path/to/file'

Probably that is why the frame title shows up as,

`local-user@remote-host:file'

Yes. Tramp does not know the application specific configuration.

But I think I can live with that. Thanks a lot Michael. :)

So either you obmit the user part in the frame title (it is of no use
for you then), or you write your own small function which extracts it
from ~/.ssh/config.

Yes I ended up commenting that one out. :) Trying to write a function to extract the username from ~/.ssh/config would be a good exercise in lisp for a newbie like me. Thanks, I appreciate the help.


Best regards, Michael.


--
Suvayu

Open source is the future. It sets us free.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]