*BSD News Article 7544


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!telebit!bjork
From: bjork@telebit.com (Steven Bjork)
Subject: [386BSD] bash machines.h patch and a question
Message-ID: <1992Nov7.011204.17146@telebit.com>
Originator: bjork@napa
Sender: news@telebit.com
Nntp-Posting-Host: napa.telebit.com
Organization: Telebit Corporation; Sunnyvale, CA, USA
Date: Sat, 7 Nov 1992 01:12:04 GMT
Lines: 34


Here's an Unofficial patch I used to compile bash.

Now, I have a question, probably a bash FAQ. I telnet
into my 386BSD/bash system and have problems with
crlf in an xterm window. I suspect it's actually an
xterm problem, but has anyone else got a workaround?

Oh, the problem is that I end up having lines apparently 
ended with an lf without cr, so I get crud all over
my xterm window. Doesn't happen if I run a sh.

--Steven


*** machines.h.factory	Sun Nov  1 07:57:29 1992
--- machines.h	Sun Nov  1 08:22:17 1992
***************
*** 392,397 ****
--- 392,405 ----
  #    undef HAVE_DUP2
  #  endif /* Sequent 386 */
  
+ #  if !defined (done386) && defined (__386BSD__)
+ #    define done386
+ #    define M_MACHINE "i386"
+ #    define M_OS Bsd
+ #    define HAVE_VPRINTF
+ #    undef HAVE_BISON
+ #  endif /* i386 && 386BSD */
+ 
  /* Generic 386 clone running Mach (4.3 BSD-compatible). */
  #  if !defined (done386) && defined (MACH)
  #    define done386