home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / MorphOS / Epic4_mos / share / epic / help / 1_general / lastlog < prev    next >
Encoding:
Text File  |  2002-10-28  |  2.4 KB  |  61 lines

  1. Synopsis:
  2.    lastlog [-] [-<flag>] [--<flag>] [<pattern>] [<number of entries [<start>]]
  3.  
  4. Description:
  5.    LASTLOG allows you to view messages that were on your screen at one
  6.    time but have since scrolled off.  This is convenient is you aren't
  7.    on a terminal capable of maintaining its own scrollback buffer, or
  8.    if you accidentally used CLEAR before reading a message.
  9.  
  10.    LASTLOG only returns data saved in your client's lastlog buffer. 
  11.    This is limited by both your LASTLOG setting, which specifies how
  12.    many lines to save, and the LASTLOG_LEVEL setting, which says what
  13.    types of messages to save.  It can return a specified number of
  14.    lines, any lines which match a given pattern, or any combination. 
  15.    Additionally, the output can be limited to a specific type, and
  16.    multiword patterns are allowed (by surrounding the whole thing in
  17.    double quotes), as are wildcards.
  18.  
  19.    If the first argument is a single hyphen (-), the output will not be
  20.    surrounded by "Lastlog:" and "End of Lastlog" messages.
  21.  
  22. Options:
  23.    -action        CTCP ACTIONs
  24.    -all           all qualifying levels
  25.    -crap          anything not covered above
  26.    -ctcp          CTCPs (except ACTIONs and DCC stuff)
  27.    -dcc           DCC connection and status messages
  28.    -literal       search for a literal string
  29.    -max <num>     only returns <num> matches
  30.    -msg           private messages
  31.    -note          NOTEs
  32.    -notice        NOTICEs
  33.    -opnote        operator notifications
  34.    -public        public channel conversation
  35.    -reverse       display the log backwards; from the END to the BEGINNING
  36.    -snote         server notices
  37.    -wall          WALLs (deprecated since WALL is no longer supported)
  38.    -wallop        WALLOPs
  39.    -userlog1 - 4  anything XECHOed under USERLOG1 - USERLOG4
  40.  
  41.    A double hyphen in front of a flag disables the output of that level.
  42.  
  43. Examples:
  44.    To list all private messages from JoeBob:
  45.       /lastlog -msg joebob
  46.  
  47.    To list all public messages from JoeBob in the last 100 lines
  48.       /lastlog -public joebob 100
  49.  
  50.    To list all occurrences of the phrase "ircII-EPIC is cool" from 100
  51.    to 600 lines ago:
  52.       /lastlog "ircII-EPIC is cool" 100 500
  53.  
  54.    To list everything *except* messages:
  55.       /lastlog -all --msgs
  56.  
  57. See Also:
  58.    set(4) lastlog, lastlog_level, log, logfile; window(4) lastlog_level,
  59.    log, logfile
  60.  
  61.