Bug 158796 - [patch] sysutils/tmux -- support #h status special char
Summary: [patch] sysutils/tmux -- support #h status special char
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-11 09:40 UTC by Pietro Cerutti
Modified: 2011-07-11 12:05 UTC (History)
0 users

See Also:


Attachments
file.diff (1.47 KB, patch)
2011-07-11 09:40 UTC, Pietro Cerutti
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pietro Cerutti freebsd_committer freebsd_triage 2011-07-11 09:40:10 UTC
The patch attached, taken from OpenBSD CSV [1], adds support for the #h status bar special char, meaning "hostname of local host without the domain name".

[1] http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/tmux/status.c?rev=1.74

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-07-11 09:40:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wen

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 wenheping 2011-07-11 10:44:27 UTC
Hi,

   I approve and would you commit it ? I can only commit it until
August when I come back from my summer vacation.
   Thanks.

wen
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-07-11 11:49:20 UTC
gahr        2011-07-11 10:49:06 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/tmux        Makefile 
  Added files:
    sysutils/tmux/files  patch-hostname.diff 
  Log:
  - add support for the #h status line special char to print to hostname of the
    localhost without the domain name
  
  PR:             158796
  Submitted by:   gahr@FreeBSD.org
  Approved by:    wen@ (maintainer)
  
  Revision  Changes    Path
  1.30      +1 -1      ports/sysutils/tmux/Makefile
  1.1       +32 -0     ports/sysutils/tmux/files/patch-hostname.diff (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Pietro Cerutti freebsd_committer freebsd_triage 2011-07-11 12:05:34 UTC
State Changed
From-To: open->closed

Committed. Thanks!