home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume14 / shellforms / part01 / field.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-05-09  |  665 b   |  18 lines

  1. #define MAXFIELD    200
  2.  
  3. struct    field    {
  4.     unsigned char    f_line;        /* line number (1-24) */
  5.     unsigned char    f_col;        /* column number (1-80) */
  6.     unsigned char    f_off;        /* offset from beg of line */
  7.     unsigned char    f_len;        /* field size (bytes) */
  8.     unsigned    f_attr;        /* attributes */
  9. #define    FA_AUTOTAB    0x01        /* move to next field at eof */
  10. #define    FA_SELECTION    0x02        /* selection field */
  11. #define    FA_BLOCK    0x04        /* block type */
  12. #define    FA_NUMERIC    0x08        /* nuermic only field */
  13.     char        **f_sel;    /* ptr to selection array */
  14.     char        **f_help;    /* ptr to help message array */
  15.     unsigned char    f_sno;        /* current selection index */
  16.     char        *f_var;        /* variable to set at end */
  17.     };
  18.