Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!crcnis1.unl.edu!wupost!howland.reston.ans.net!torn!nott!bnrgate!bnr.co.uk!uknet!mcsun!fuug!kiae!bitcom!kiae!relcom!newsserv From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su> Newsgroups: comp.os.386bsd.bugs Subject: stty fix: -g saved flags now works Date: Sat, 05 Jun 93 16:15:56 +0400 Distribution: world Organization: Ha-olahm Yetzirah Message-ID: <vMyv84iibA@astral.msk.su> Sender: news-service@newcom.kiae.su Reply-To: ache@astral.msk.su Lines: 27 Here simple fix to revive handle flags saved by -g. To bring a bug try in sh: saved=`stty -g` stty erase ^A stty $saved and if old erase value not restored, use this patch: *** stty.c.bak Sat Jun 13 20:59:50 1992 --- stty.c Sat Jun 5 16:05:52 1993 *** 135,140 **** --- 135,141 ---- if (!strncmp(*argv, "gfmt1", sizeof("gfmt1") - 1)) { gread(&i.t, *argv + sizeof("gfmt1") - 1); + i.set = 1; continue; } -- In-This-Life: Andrew A. Chernov | "Hay mas dicha, mas contento Internet: ache@astral.msk.su | "Que adorar una hermosura FIDOnet: 2:5020/23.34 | "Brujuleada entre los lejos RELCOM Development Team, Moscow, Russia | "De lo imposible?!" (Calderon)