home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pine / ccmd / cmfbrk.dos < prev    next >
Encoding:
Text File  |  1988-08-19  |  1.5 KB  |  51 lines

  1. /*
  2.  Author: Howie Kaye
  3.  
  4.  Columbia University Center for Computing Activities, July 1986.
  5.  Copyright (C) 1986, 1987, Trustees of Columbia University in the City
  6.  of New York.  Permission is granted to any individual or institution
  7.  to use, copy, or redistribute this software so long as it is not sold
  8.  for profit, provided this copyright notice is retained.
  9. */
  10.  
  11. /*
  12.  * break table for filenames under MSDOS
  13.  */
  14.                     /* standard break table */
  15. static brktab filbrk = {        /* all valid chars for filenames */
  16.   {                    /* alphanums, "~", "#", "/" */
  17.     0xff,  0xff,  0xff,  0xff,  0xf7,  0xc8,  0x00,  0x3f,  
  18.     0x80,  0x00,  0x00,  0x09,  0x80,  0x00,  0x00,  0x1d,  
  19.   },
  20.   {
  21.     0xff,  0xff,  0xff,  0xff,  0xf7,  0xc8,  0x00,  0x3f,  
  22.     0x80,  0x00,  0x00,  0x09,  0x80,  0x00,  0x00,  0x1d,  
  23.   }
  24. };
  25.  
  26.  
  27.                     /* wild card break table */
  28. static brktab filwldtab = {        /* all valid chars for filenames */
  29.   {                    /* alphanums, "~", "#", "/" */
  30.     0xff,  0xff,  0xff,  0xff,  0xfb,  0xdc,  0x00,  0x3f,  
  31.     0x80,  0x00,  0x00,  0x17,  0x80,  0x00,  0x00,  0x1f,  
  32.   },
  33.   {
  34.     0xff,  0xff,  0xff,  0xff,  0xfb,  0xdc,  0x00,  0x3f,  
  35.     0x80,  0x00,  0x00,  0x17,  0x80,  0x00,  0x00,  0x1f,  
  36.   }
  37. };
  38.  
  39.                     /* regex break tab */
  40. static brktab filregtab = {
  41.   {
  42.     0xff,  0xff,  0xff,  0xff,  0xf7,  0xfc,  0x00,  0x3f,  
  43.     0x80,  0x00,  0x00,  0x05,  0x80,  0x00,  0x00,  0x1f  
  44.   },
  45.   {
  46.     0xff,  0xff,  0xff,  0xff,  0xf7,  0xcc,  0x00,  0x3e,  
  47.     0x80,  0x00,  0x00,  0x01,  0x80,  0x00,  0x00,  0x1f  
  48.   },
  49. };
  50.  
  51.