home services resume portfolio contact us about me


Return To Portfolio Home


NAME

boss - boss communications utility

SYNOPSIS

boss [ -r | -w ] [-q] [-s speed] [-m modes] -l device [filename]

DESCRIPTION

This utility communicates directly with a Casio B.O.S.S. organizer, allowing data to be received from (or transmitted to) the B.O.S.S. device.

An ASCII file format (see boss_format(5)) stores the records received from the B.O.S.S. This file may be freely edited and transmitted back to the organizer.

OPTIONS

  • -r
    Read mode (RECEIVE). The boss utility will read from the Casio B.O.S.S. unit and produce an ASCII file of the data received.

  • -w
    Write mode (TRANSMIT). An ASCII file of data records will be transmitted to the Casio B.O.S.S. unit.

  • -q
    Quiet mode. Do not generate status information while communicating with the Casio B.O.S.S. unit.

  • -l
    Set the line. This mandatory command line argument will specify the serial port to use.

  • -s
    Set the line speed. Set the data transfer speed. Only 2400, 4800 or 9600 are allowed. The default is 9600.

  • -m
    Specify the serial line modes. The mode string is a two character string. The first character is the datasize which can be "7" or "8". The second character is the parity options which can be "E" (even), "N" (none), and "O" (odd). The default is "7N".

    The optional filename argument specifies where to write the ASCII data during a receive operation, or what file to send during a transmit operation. If the filename is omitted stdin or stdout will be used.

    If neither -r or -w is present, then stdin and stdout are checked for the presence of a pipe. If stdin is a file, then we want to write to the B.O.S.S. If stdout is a file, then we want to read from the B.O.S.S.

EXAMPLES
  1. 	boss -r -l /dev/ttyb -s 9600 -m 8N mybackup.boss
    	boss -l /dev/ttyb -s 9600 -m 8N > mybackup.boss
    

    These two forms of the command will receive data from /dev/ttyb (9600/8/N) and place the received records into the ASCII file mybackup.boss

  2. 	boss -w -l /dev/ttyb -s 4800 -m 7E new_contacts.boss
    	boss -l /dev/ttyb -s 4800 -m 7E < new_contacts.boss
    

    Both commands transmit the file new_contacts.boss out to /dev/ttyb (4800/7/E).

  3. 	boss -r -l /dev/ttya
    

    Read from the device /dev/ttya (9600/7/N) and send the ASCII data to stdout.

    SEE ALSO

    bossfmt(1), bossmerge(1), boss_format(5)

    AUTHOR

    Ken Stauffer
    Email: kstauffer@attmail.com

    Return To Portfolio Home

compilers • parsers • translators • C++ • yacc &bull lex • bison • unix • windows • eiffel • grammars