home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / thesrc15.zip / defines.h < prev    next >
Text File  |  1993-10-06  |  2KB  |  57 lines

  1. /*
  2.  * THE - The Hessling Editor. A text editor similar to VM/CMS xedit.
  3.  * Copyright (C) 1991-1993 Mark Hessling
  4.  *
  5.  * This program is free software; you can redistribute it and/or
  6.  * modify it under the terms of the GNU General Public License as
  7.  * published by the Free Software Foundation; either version 2 of
  8.  * the License, or any later version.
  9.  *
  10.  * This program is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13.  * General Public License for more details.
  14.  *
  15.  * You should have received a copy of the GNU General Public License
  16.  * along with this program; if not, write to:
  17.  *
  18.  *    The Free Software Foundation, Inc.
  19.  *    675 Mass Ave,
  20.  *    Cambridge, MA 02139 USA.
  21.  *
  22.  *
  23.  * If you make modifications to this software that you feel increases
  24.  * it usefulness for the rest of the community, please email the
  25.  * changes, enhancements, bug fixes as well as any and all ideas to me.
  26.  * This software is going to be maintained and enhanced as deemed
  27.  * necessary by the community.
  28.  *
  29.  * Mark Hessling                     email: M.Hessling@gu.edu.au
  30.  * 36 David Road                     Phone: +61 7 849 7731
  31.  * Holland Park                      Fax:   +61 7 875 5314
  32.  * QLD 4121
  33.  * Australia
  34.  */
  35.  
  36. /*
  37. $Header: C:\THE\RCS\defines.h 1.4 1993/09/01 16:27:20 MH Interim MH $
  38. */
  39.  
  40. /*---------------------------------------------------------------------*/
  41. /* The following values can be changed to suit your needs.             */
  42. /*---------------------------------------------------------------------*/
  43.  
  44. #define MAX_FILE_NAME 255               /* maximum length of fully qualified file */
  45.  
  46. #define MAX_PENDING_PREFIX_COMMANDS 50  /* maximum number of pending prefix commands */
  47. #define MAX_MACRO_DIRS              20  /* maximum number of directories in THE_MACRO_PATH */
  48. #define MAX_COMMAND_LENGTH         150  /* maximum length of a command */
  49. #define MAX_LENGTH_OF_LINE        2048  /* default maximum length of a line */
  50. #define MAX_COMMANDS                10  /* default maximum number of commands allowed on command line */
  51.  
  52. #if defined(SYSVR4)
  53. #   define THE_HOME_DIRECTORY          "/opt/THE/"
  54. #else
  55. #   define THE_HOME_DIRECTORY          "/usr/local/THE/"
  56. #endif
  57.