michael@1: .\" Automatically generated by Pod::Man v1.34, Pod::Parser v1.13 michael@1: .\" michael@1: .\" Standard preamble: michael@1: .\" ======================================================================== michael@1: .de Sh \" Subsection heading michael@1: .br michael@1: .if t .Sp michael@1: .ne 5 michael@1: .PP michael@1: \fB\\$1\fR michael@1: .PP michael@1: .. michael@1: .de Sp \" Vertical space (when we can't use .PP) michael@1: .if t .sp .5v michael@1: .if n .sp michael@1: .. michael@1: .de Vb \" Begin verbatim text michael@1: .ft CW michael@1: .nf michael@1: .ne \\$1 michael@1: .. michael@1: .de Ve \" End verbatim text michael@1: .ft R michael@1: .fi michael@1: .. michael@1: .\" Set up some character translations and predefined strings. \*(-- will michael@1: .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left michael@1: .\" double quote, and \*(R" will give a right double quote. | will give a michael@1: .\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to michael@1: .\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C' michael@1: .\" expand to `' in nroff, nothing in troff, for use with C<>. michael@1: .tr \(*W-|\(bv\*(Tr michael@1: .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' michael@1: .ie n \{\ michael@1: . ds -- \(*W- michael@1: . ds PI pi michael@1: . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch michael@1: . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch michael@1: . ds L" "" michael@1: . ds R" "" michael@1: . ds C` michael@1: . ds C' michael@1: 'br\} michael@1: .el\{\ michael@1: . ds -- \|\(em\| michael@1: . ds PI \(*p michael@1: . ds L" `` michael@1: . ds R" '' michael@1: 'br\} michael@1: .\" michael@1: .\" If the F register is turned on, we'll generate index entries on stderr for michael@1: .\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index michael@1: .\" entries marked with X<> in POD. Of course, you'll have to process the michael@1: .\" output yourself in some meaningful fashion. michael@1: .if \nF \{\ michael@1: . de IX michael@1: . tm Index:\\$1\t\\n%\t"\\$2" michael@1: .. michael@1: . nr % 0 michael@1: . rr F michael@1: .\} michael@1: .\" michael@1: .\" For nroff, turn off justification. Always turn off hyphenation; it makes michael@1: .\" way too many mistakes in technical documents. michael@1: .hy 0 michael@1: .if n .na michael@1: .\" michael@1: .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). michael@1: .\" Fear. Run. Save yourself. No user-serviceable parts. michael@1: . \" fudge factors for nroff and troff michael@1: .if n \{\ michael@1: . ds #H 0 michael@1: . ds #V .8m michael@1: . ds #F .3m michael@1: . ds #[ \f1 michael@1: . ds #] \fP michael@1: .\} michael@1: .if t \{\ michael@1: . ds #H ((1u-(\\\\n(.fu%2u))*.13m) michael@1: . ds #V .6m michael@1: . ds #F 0 michael@1: . ds #[ \& michael@1: . ds #] \& michael@1: .\} michael@1: . \" simple accents for nroff and troff michael@1: .if n \{\ michael@1: . ds ' \& michael@1: . ds ` \& michael@1: . ds ^ \& michael@1: . ds , \& michael@1: . ds ~ ~ michael@1: . ds / michael@1: .\} michael@1: .if t \{\ michael@1: . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" michael@1: . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' michael@1: . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' michael@1: . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' michael@1: . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' michael@1: . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' michael@1: .\} michael@1: . \" troff and (daisy-wheel) nroff accents michael@1: .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' michael@1: .ds 8 \h'\*(#H'\(*b\h'-\*(#H' michael@1: .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] michael@1: .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' michael@1: .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' michael@1: .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] michael@1: .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] michael@1: .ds ae a\h'-(\w'a'u*4/10)'e michael@1: .ds Ae A\h'-(\w'A'u*4/10)'E michael@1: . \" corrections for vroff michael@1: .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' michael@1: .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' michael@1: . \" for low resolution devices (crt and lpr) michael@1: .if \n(.H>23 .if \n(.V>19 \ michael@1: \{\ michael@1: . ds : e michael@1: . ds 8 ss michael@1: . ds o a michael@1: . ds d- d\h'-1'\(ga michael@1: . ds D- D\h'-1'\(hy michael@1: . ds th \o'bp' michael@1: . ds Th \o'LP' michael@1: . ds ae ae michael@1: . ds Ae AE michael@1: .\} michael@1: .rm #[ #] #H #V #F C michael@1: .\" ======================================================================== michael@1: .\" michael@1: .IX Title "AS-EVENTS 5" michael@1: .TH AS-EVENTS 5 "as-gui 0.7.2" "06-Mar-2003" "AS Events File" michael@1: .SH "NAME" michael@1: \&\fBas\-events\fR \- accounting system events document format michael@1: .SH "DESCRIPTION" michael@1: .IX Header "DESCRIPTION" michael@1: The \fBas-gui\fR application takes input from the user and may store its data to michael@1: a file on the local filesystem. Among other functions, a user can enter time, michael@1: amounts, remarks, and other values. This data tuple is termed an \fIevent\fR, and michael@1: may either be transmitted to a \fB\s-1AS\s0\fR server or stored to a local file. Should michael@1: it be stored to a local file, the file name is arbitrary and is shown in the michael@1: title bar of \fBas-gui\fR. Typically, the file is called \fIevents.as\fR. In most michael@1: cases the postfix \fB.as\fR is appended to the file name, although this behaviour michael@1: can be turned on or off through the user preferences. michael@1: .SH "FILE FORMAT" michael@1: .IX Header "FILE FORMAT" michael@1: The \fBas-events\fR file contains \s-1ASCII\s0 text. The first line consists of an michael@1: identifier to associate the file type and version. Following text may contain michael@1: white space, comments, and data tuples. michael@1: .SH "GRAMMAR" michael@1: .IX Header "GRAMMAR" michael@1: \&\fBevents.as\fR ::= \fBeventsid\fR \fBtuplelist\fR michael@1: .PP michael@1: \&\fBeventsid\fR ::= \*(L"%!AS\-EVENTS\-\*(R" [0\-9] '.' [0\-9] michael@1: .PP michael@1: \&\fBtuplelist\fR ::= \fBtuplelist\fR | \fBtuple\fR | \fBcomment\fR | \s-1EMPTY\s0 michael@1: .PP michael@1: \&\fBtuple\fR ::= \fBuser\fR \fBuuid\fR \fBcrc\fR \fBrevision\fR \fBdate\fR \fBbegin\fR \fBend\fR \fBamount\fR \fBaccount\fR \fBremark\fR michael@1: .PP michael@1: \&\fBcomment\fR ::= ($#.*) michael@1: .PP michael@1: (* user field *) michael@1: .PP michael@1: \&\fBuser\fR ::= [a\-zA\-Z][a\-zA\-Z0\-9]+ michael@1: .PP michael@1: (* uuid field *) michael@1: .PP michael@1: \&\fBuuid\fR ::= \fBhexoctet\fR '\-' \fBhexquartet\fR '\-' \fBhexquartet\fR '\-' \fBhexquartet\fR '\-' \fBhextwelvetet\fR michael@1: .PP michael@1: (* crc field *) michael@1: .PP michael@1: \&\fBcrc\fR ::= \fBhexoctet\fR michael@1: .PP michael@1: \&\fBhextwelvetet\fR ::= \fBhexoctet\fR | \fBhexquartet\fR michael@1: .PP michael@1: \&\fBhexoctet\fR ::= \fBhexquartet\fR | \fBhexquartet\fR michael@1: .PP michael@1: \&\fBhexquartet\fR ::= \fBhexdigit\fR | \fBhexdigit\fR | \fBhexdigit\fR | \fBhexdigit\fR michael@1: .PP michael@1: \&\fBhexdigit\fR ::= \fBa\-zA\-Z0\-9\fR michael@1: .PP michael@1: (* revision field *) michael@1: .PP michael@1: \&\fBrevision\fR ::= [0\-9] michael@1: .PP michael@1: (* date field *) michael@1: .PP michael@1: \&\fBdate\fR ::= [0\-9][0\-9][0\-9][0\-9] '\-' [01][0\-9] '\-' [0123][0\-9] michael@1: .PP michael@1: (* time fields *) michael@1: .PP michael@1: \&\fBbegin\fR ::= \fBtimeval\fR michael@1: .PP michael@1: \&\fBend\fR ::= \fBendval\fR michael@1: .PP michael@1: \&\fBamount\fR ::= \fBtimeval\fR michael@1: .PP michael@1: \&\fBtimeval\fR ::= \fBhourval\fR ':' \fBminuteval\fR michael@1: .PP michael@1: \&\fBendval\fR ::= \fBhourinc\fR ':' \fBminuteval\fR michael@1: .PP michael@1: \&\fBhourval\fR ::= [01][0\-9] michael@1: .PP michael@1: \&\fBhourinc\fR ::= \fBhourval\fR | 2[0\-4] michael@1: .PP michael@1: \&\fBminval\fR ::= [0\-5][0\-9] michael@1: .PP michael@1: (* account field *) michael@1: .PP michael@1: \&\fBaccount\fR ::= \fBaccount\fR | \fBaccpart\fR michael@1: .PP michael@1: \&\fBaccpart\fR ::= \fBaccsep\fR \fBacctext\fR michael@1: .PP michael@1: \&\fBaccsep\fR ::= '/' michael@1: .PP michael@1: \&\fBacctext\fR ::= [a\-zA\-Z0\-9_\-]* michael@1: .PP michael@1: (* remark field *) michael@1: .PP michael@1: \&\fBremark\fR ::= '\*(L"' .* '\*(R"' michael@1: .SH "EXAMPLE" michael@1: .IX Header "EXAMPLE" michael@1: A typical \fBas-events\fR file might look like this: michael@1: .PP michael@1: %!AS\-EVENTS\-0.6 michael@1: harvey 0ccf1d42\-743b\-43df\-9b5d\-202451b3c26f e8f212b6 0 2002\-09\-30 00:00 00:00 02:00 /it/development/meeting/weekly \*(L"Code review\*(R" michael@1: harvey 9c497382\-ae88\-4a1a\-91b5\-202451b3c26f c8637e9a 0 2002\-09\-30 00:00 00:00 00:30 /it/common/office/communication \*(L"Conference call\*(R" michael@1: harvey e230eae7\-367f\-4c35\-bee1\-202451b3c26f 02cb1abb 0 2002\-09\-30 00:00 00:00 00:30 /sales/travel/customer \*(L"Simontech visit\*(R" michael@1: .SH "SEE ALSO" michael@1: .IX Header "SEE ALSO" michael@1: \&\fIas\-gui\fR\|(1), michael@1: \&\fIas\-gui.conf\fR\|(5), michael@1: \&\fIas\-accounts\fR\|(5),