1.Dd $Mdocdate: March 15 2019 $ 2.Dt HII 5 3.Os 4.Sh NAME 5.Nm hii 6.Nd Output file format of the hii IRC client 7.Sh DESCRIPTION 8The 9.Pa out10files created by11.Xr hii 112consist of newline separated records for IRC events, record fields are13separated by an ASCII space character.14The first field is a timestamp from Unix epoch at which the event was15received.16All other fields are essentially user controlled and differ for17different kinds of IRC events.18.Pp19ASCII format codes as well as non-printable characters are removed from20all IRC events.21However,22.Nm23itself adds non-printable characters suffixes as the last character of a24record to identify special classes of IRC events.25The following ASCII suffixes are currently supported:26.Bl -tag -width acknowledge-(0x06) -offset 2m27.It acknowledge (0x06)28The event is a29.Em PRIVMSG30or31.Em NOTICE32send by the own client.33.It bell (0x07)34The event is a35.Em PRIVMSG36either containing the user's nick or send directly to the user.37.El38.Pp39The40.Pa log41file created by42.Nm43uses a similar format.44In contrast to45.Pa out46files each record represents a47.Em PRIVMSG48and contains at least three field: A timestamp (see above), a channel49where the event originated (enclosed in square brackets) and an event50source (enclosed in parentheses).51Additionally, the52.Pa log53file format does not use any special suffixes.54.Sh EXAMPLES55An example56.Pa out57file might looks as follows:58.Bd -offset 2m -literal591553375834 [*] bob (user.example.org) has joined #hii601553375834 [*] topic for #hii is: hii - harmful ii - https://github.com/nmeum/hii611553375873 (bob) hi!621553354847 *** alice has kicked bob: important kick message63.Ed64.Pp65An example66.Pa log67file might look as follows:68.Bd -offset 2m -literal691552167885 [#hii] (alice) bob: hi, how are you doing?701552168459 [#hii] (alice) did anybody hear anything from bob recently?711552317088 [bob] (carol) hi!72.Ed73.Sh SEE ALSO74.Xr hii 175.Sh CAVEATS76.Em NOTICE77commands are not checked for mentions as they are mostly used by bots (e.g. NickServ).78Highlighting requests for authentication et cetera is not deemed useful.