michaellukashov / Far-NetBox

SFTP/SCP/FTP/FTPS/WebDAV/S3 client for Far Manager 3 (http://farmanager.com/)
https://forum.farmanager.com/viewtopic.php?t=6317
GNU General Public License v2.0
158 stars 52 forks source link

FIXED: Host name is displayed instead of a session's name #243

Closed ms2048 closed 7 years ago

ms2048 commented 7 years ago

If the option '[] Show session name in window title' is set then the host name (usually an IP address in my case) is instead prepended to the title in the newest NetBox 2.4.3 build 505 with Far 3.0.4980 x86, which is confusing / unfortunate.

This is a regression, I've just updated from NetBox 2.4.0 build 438 with Far 3.0.4863 x86, where the session name has always been correctly displayed.

VictorVG commented 7 years ago

See gh #229: show only host name and current dir and Убрать префикс netbox: в заголовке #229 for details.

ms2048 commented 7 years ago

OK, so the name of the option is wrong in English ("Show session name ...").

Is there any chance of giving the previous behavior back?

As an additional configuration option perhaps? Pretty please! :)

The rationale would be that the session name can be tailored to be:

than the hostname.

For example, sometimes I have three different kinds of connections (different users, etc.) to the same host and now there is no way to distinguish between them. Also, I don't know ip addresses of my hosts by heart.

ms2048 commented 7 years ago

Also, to clarify: the prefix "netbox:" itself is clearly only wasting space, so I fully support the removal of it. On the other hand, the name of the session (without the prefix) was (and would be) very useful.

VictorVG commented 7 years ago

Now I finish with one work (it's not clear that the git in the logs displays - with git's one list of changes, and from the same repository, but through SVN is completely different), and then in the head of confusion - the partner needs to diff for the transfer, and where the truth ? and look.

ms2048 commented 7 years ago

I'm sorry, I don't quite understand... what 'truth' do you mean? Are you referring to some unfortunate merge of diffs? SVN can be a bit of a pain in this regard...

Anyway, is there any chance of re-adding current session's name to the title of the window / tab, just like it was in (for example) 2.4.0.438? I'd like that.

If the above is not your preferred way of solving this, maybe just add another configuration option, something like this:

Prepend window and tab title with: ( ) session's name ( ) hostname ( ) nothing

VictorVG commented 7 years ago

I tested. Fixed.

ms2048 commented 7 years ago

Works for me. Thanks!

VictorVG commented 7 years ago

You are welcome. You had an old version, but there was still a mistake that was fixed later.

Yes, I almost forgot - mark it (this can only be you) this ticket as FIXED in the header, but it's better to close it with such a note.

VictorVG commented 7 years ago

FIXED

VictorVG commented 7 years ago

Thanks!