Bug 66010 - Time format string in tcsh manual
Summary: Time format string in tcsh manual
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Tom Rhodes
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-27 02:10 UTC by fmysh
Modified: 2004-05-11 23:18 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (417 bytes, patch)
2004-04-27 02:10 UTC, fmysh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fmysh 2004-04-27 02:10:25 UTC
In tcsh(1) Special shell varibles section:

| time    If set to a number, then the time builtin (q.v.) executes auto-
|         matically  after  each  command which takes more than that many
(skip)
|         and  the  default  time  format  is  `%Uu  %Ss  $E  %P  %I+%Oio
|         %Fpf+%Ww'.   Note  that  the  CPU percentage can be higher than
|         100% on multi-processors.

It should not be $E but %E.

Pointed by Yoshihiro Hanahara <hanahara@meiko.co.jp>
in [FreeBSD-users-jp 79184].
Comment 1 Giorgos Keramidas 2004-05-10 10:43:18 UTC
On 2004-04-27 10:09, Taoka Fumiyoshi <fmysh@iijmio-mail.jp> wrote:
> In tcsh(1) Special shell varibles section:
> [snip]
> Pointed by Yoshihiro Hanahara <hanahara@meiko.co.jp>
> in [FreeBSD-users-jp 79184].
> [snip]
>
> --- src/contrib/tcsh/tcsh.man.orig       Tue Apr 27 09:31:01 2004
> +++ src/contrib/tcsh/tcsh.man    Tue Apr 27 09:31:18 2004
> @@ -4407,7 +4407,7 @@
>  The number of writes to raw disk devices.
>  .PD
>  .PP
> -and the default time format is `%Uu %Ss $E %P %I+%Oio %Fpf+%Ww'.
> +and the default time format is `%Uu %Ss %E %P %I+%Oio %Fpf+%Ww'.
>  Note that the CPU percentage can be higher than 100% on multi-processors.
>  .RE
>  .TP 8

Can you forward this to the TCSH maintainers too?  This way, the locally
imported copy of tcsh that FreeBSD uses will automatically be updated
with the correction when a fixed version is imported in src/contrib/.

IIRC, Luke Mewburn of NetBSD can make changes directly to the tcsh
source code.  He's also very polite and cooperative.  Try mailing this
diff to him :)
Comment 2 fmysh 2004-05-11 19:31:09 UTC
I forwarded the PR to tcsh-bugs@ and it was fixed.  

Begin forwarded message:

Date: Tue, 11 May 2004 12:38:10 -0400
From: christos@zoulas.com (Christos Zoulas)
To: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>, tcsh-bugs@mx.gw.com
Cc: Luke Mewburn <lukem@NetBSD.org>
Subject: Re: Fw: Re: docs/66010: Time format string in tcsh manual


On May 10,  9:09pm, fmysh@iijmio-mail.jp (TAOKA Fumiyoshi) wrote:
-- Subject: Fw: Re: docs/66010: Time format string in tcsh manual

| Hello tcsh people.
| 
| Can you handle this PR?
| http://www.freebsd.org/cgi/query-pr.cgi?pr=66010

Thanks, fixed.

christos

-- 
TAOKA Fumiyoshi
Comment 3 Tom Rhodes freebsd_committer freebsd_triage 2004-05-11 23:17:01 UTC
State Changed
From-To: open->closed

Patched by vendor, issue closed.  Requested by keramida 


Comment 4 Tom Rhodes freebsd_committer freebsd_triage 2004-05-11 23:17:01 UTC
Responsible Changed
From-To: freebsd-doc->trhodes

Over to me.