xwafecf(1)

NAME

xwafecf - an X-based card filer

SYNOPSIS

xwafecf [-c colormode] [-a name of application] [-s sourcefile]

DESCRIPTION

Xwafecf processes a file containing several units of data, which all have the same structure. Xwafecf can be used to consecutively view each record or to perform a simple search operation. The program can easily be extended to work with new types of records.

OPTIONS

In addition to the standard toolkit options such as -display, -name, -geometry, -iconic, -xrm etc. (see manual page X) xwafenews accepts the following options:

-c colormode
    start xwafenews using the given color-mode (for details see manual page wafeapp); color modes are for example mono, blueish or wheat-ish.

-a  application name
    Used to specify the data record's structure. If bib is specified, the data records are supposed to have our bibligraphic database file format, if passwd is passed, standard UNIX passwd file structure is assumed and if the option group is specified the structure of the /etc/groups file's entries will be used. The default value is bib.

-s  source file
    Use this option to specify the database file. Reasonable default values were provided for each application option.

LAYOUT and INTERACTION
Keyboard input focus is always set on the small text field at the bottom of the application's window. This text widget is used to enter a search string, which will be matched against every field in all records. The search is started by pressing the Return Key, the total number of all found records as well as the current record is shown. With the <Prev> and <Next> buttons all found records can be viewed. <Quit> terminates the application.

KEY BINDINGS

<Key>Up
    read previous record

<Key>Down
    read next record

<Key>Prior
    read previous record

<Key>Next
    next next recvord

<key>Return
    start search

EXPANSIBILITY
All relevant informations concerning the structure of a single record (number and name of a field, delimiters) and the default filename are kept in Perl arrays at the beginning of the program. Therefore, xwafecf can easily be enhanced to support additional types od database files.

ENVIRONMENT VARIABLES

WAFELIB
    location of the wafe library (typically /usr/lib/X11/wafe)

PERL VARIABLES

Wafe (Perl-) Variables from $WAFELIB/system.waferc or $HOME/.waferc:

$wafecfSearchPath
    default load path for application data

$boldFont
    used for all fixed labels

$normalFont
    used to display the current resord

$background
    background color

$buttonColors
    foreground and background colors of all buttons, depending on specified color option.

FILES

    $WAFELIB/system.waferc
    $WAFELIB/bib-sample.db
    $HOME/.waferc
    /etc/passwd
    /etc/group

SEE ALSO

wafe(n), wafeapp(n), X(1), xwafemail(n), xwafenews(n), xwafeftp(n), xwafeora(n), xwafetel(n), xdirtree(n), xdirtree(n), xprojektor(n), xbm(n), xwafemc(n), xruptimes(n), xnetstats(n), xiostats(n), xvmstats(n), xwafeping(n), xwafecf(n)

COPYRIGHT

 Copyright (C) 1992 by Gustaf Neumann, Stefan Nusser
        Wirtschaftsuniversitaet Wien,
        Abteilung fuer Wirtschaftsinformatik
        Augasse 2-6,
        A-1090 Vienna, Austria
        neumann@wu-wien.ac.at, nusser@wu-wien.ac.at
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appears in all copies and that both that copyright notice and this permission notice appear in all supporting documentation. This software is provided "as is" without expressed or implied warranty.

AUTHORS

Gustaf Neumann, Stefan Nusser