*BSD News Article 2962


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!sgiblab!darwin.sura.net!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!karl
From: karl@NeoSoft.com (Karl Lehenbauer)
Subject: Building 'less' under 386BSD 0.1 (patch included)
Organization: NeoSoft Communications Services -- (713) 684-5900
Date: Mon, 03 Aug 1992 02:11:10 GMT
Message-ID: <1992Aug03.021110.4138@NeoSoft.com>
Lines: 27

'less' will barf with a missing symbol, as it comes in the etc01 distribution.

Here is a patch to make it work.

*** ../less.orig/defines.h	Sun Aug  2 19:31:33 1992
--- defines.h	Sun Aug  2 19:33:21 1992
***************
*** 75,81 ****
   * If neither is 1, pattern matching is supported, but without metacharacters.
   */
  #define	REGCMP		0
! #define	RECOMP		1
  
  /*
   * SHELL_ESCAPE is 1 if you wish to allow shell escapes.
--- 75,82 ----
   * If neither is 1, pattern matching is supported, but without metacharacters.
   */
  #define	REGCMP		0
! #define	RECOMP		0
! #define	REGCOMP		1
  
  /*
   * SHELL_ESCAPE is 1 if you wish to allow shell escapes.
-- 
-- Email info@NeoSoft.com for info on getting interactive Internet access.
"What luck for rulers that men do not think."  -- Adolph Hitler (1889-1945)