home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mm / ccmd / cmfbrk.dos < prev    next >
Encoding:
Text File  |  1990-12-18  |  1.4 KB  |  50 lines

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