[PATCH] xterm titlebar

Adam Byrtek 'alpha' alpha at student.uci.agh.edu.pl
Mon Dec 16 15:47:06 UTC 2002


On Mon, Dec 16, 2002 at 03:52:56AM +0100, Tomas Styblo wrote:
> I enhanced it a bit:

In fact I also made some modifications few days ago,
you can find it in MC BTS:

https://savannah.gnu.org/bugs/?func=detailbug&bug_id=1969&group_id=3521

>     1) The malloced space was never freed. Fixed by replacing
>        it with an automatic array.

Allocation is not neccessary. cpanel->cwd gives us working dir.

>     2) Home directory portion of the path is converted
>        to '~'. It saves space which is valuable in taskbar
>     3) FTP passwords are now stripped from the path.

Yes, I've also found strip_home_and_password recently :)

> The modified version is attached to this message.

Thanks for your comments and changes.

Regards

-- 

  _.|._ |_  _.    : Adam Byrtek, alpha@(irc.pl|debian.org)
 (_|||_)| |(_|    : gg 1802819, pgp 0xB25952C0
     |            : jid alpha.jabberpl.org



More information about the mc-devel mailing list