Bug 124492 - [PATCH] sysutils/screen: new knob WITH_SHOWENC
Summary: [PATCH] sysutils/screen: new knob WITH_SHOWENC
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: Cy Schubert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-11 20:30 UTC by Yi-Jheng Lin
Modified: 2008-07-25 06:00 UTC (History)
1 user (show)

See Also:


Attachments
screen-4.0.3_5.patch (2.26 KB, patch)
2008-06-11 20:30 UTC, Yi-Jheng Lin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yi-Jheng Lin 2008-06-11 20:30:01 UTC
[DESCRIBE CHANGES]

A new status line parameter is added. With this patch, screen could show encoding of every window
on status line (caption or hardstatus) by adding a parameter "%e".
Here is an example:
    hardstatus alwayslastline "%=%e  %H %c %d/%m/%Y Load: %l "

It's an useful feature for switching between windows with different encodings such as Big5 & UTF-8.
And I don't have to use "^A + i" to check which encoding I use.

Added file(s):
- files/opt-showencoding

Port maintainer (cy@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
Comment 1 Edwin Groothuis freebsd_committer 2008-06-11 20:30:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cy

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Cy Schubert freebsd_committer 2008-07-25 05:50:43 UTC
State Changed
From-To: open->closed

Committed. Thanks for the patch.
Comment 3 dfilter service freebsd_committer 2008-07-25 05:53:11 UTC
cy          2008-07-25 04:53:02 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/screen      Makefile 
  Added files:
    sysutils/screen/files opt-showencoding 
  Log:
  Implement a new knob WITH_SHOWENC to show the encoding of every window
  on status line.
  
  PR:             124492
  Submitted by:   Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
  
  Revision  Changes    Path
  1.76      +8 -2      ports/sysutils/screen/Makefile
  1.1       +31 -0     ports/sysutils/screen/files/opt-showencoding (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"