Bug 146281

Summary: Konsole Title only shows first byte of IP Adress
Product: [Applications] konsole Reporter: Majin Sniper <majinsniper>
Component: generalAssignee: Robert Knight <robertknight>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

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.