*BSD News Article 25758


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!sgiblab!sdd.hp.com!math.ohio-state.edu!howland.reston.ans.net!gatech!swrinde!menudo.uh.edu!uuneo.NeoSoft.com!nobody
From: smace@metal.neosoft.com (Scott Mace)
Newsgroups: comp.os.386bsd.questions
Subject: Re: tcsh hack
Date: 9 Jan 1994 01:51:00 -0600
Organization: Mace Communications
Lines: 21
Message-ID: <2god1m$1gf@metal.neosoft.com>
References: <18@w2xo.pgh.pa.us>
NNTP-Posting-Host: metal.neosoft.com
Keywords: tcsh

In article <18@w2xo.pgh.pa.us>, Jim Durham <durham@w2xo.pgh.pa.us> wrote:
>
>Here is a work-around for FreeBSD 1.02 and the "tcsh" problem.
>
>In sh.c, about line 908, there is a call to "setdisc", which sets
>the line discipline for the tty.
>
>In FreeBSD, this test fails and you get the error message that
>you have no job control, etc.
>
[ stuff deleted ]
>
>
>This works just fine for me and shows no funny effects whatsoever.
>Good Luck..

Hmm, the only side effect will that that your terminal is not getting reset
to any specific discipline.  

A better hack would be to change the NTTYDISC's to TTYDISC's