Bug 146281 - Konsole Title only shows first byte of IP Adress
Summary: Konsole Title only shows first byte of IP Adress
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Robert Knight
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-02 12:16 UTC by Majin Sniper
Modified: 2007-06-02 19:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Majin Sniper 2007-06-02 12:16:34 UTC
Version:           1.9 on KDE 4.0 >= 20070518 SVN (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.1.2 (gentoo) 
OS:                Linux

Remote Title Format is set to: %h : %u (remote Hostname, short : user)
when I ssh to an IP Address instead of a hostname (e.g. ssh root@192.168.0.1) the title turns to 192 : root.
I guess this happens, because the domain name is getting truncted from the fully qualified hostname.
It would be nice, if the full IP Address would be shown.
Just checked: it works fine with %H (long hostname) instead of %h in the settings.

Keep up the good work!
Majin Sniper
Comment 1 Robert Knight 2007-06-02 17:20:13 UTC
Confirmed, your explanation is correct, it truncates everything after the first "." when determining the short host name.  Looks like this is the first KDE 4 bug report.
Comment 2 Robert Knight 2007-06-02 19:04:13 UTC
Fixed, Konsole attempts to parse the host as an IP address.  If that succeeds the full address is shown for the 'short host' marker, otherwise the host is truncated to the position of the first period.