From 42430ba7d7a05f98105888cb19f79d9bd7cd22ad Mon Sep 17 00:00:00 2001 From: mycroft Date: Sat, 29 Apr 1995 00:44:03 +0000 Subject: Use POSIX tty semantics. --- backgammon/common_source/save.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'backgammon/common_source/save.c') diff --git a/backgammon/common_source/save.c b/backgammon/common_source/save.c index bba3dddb..aa86cecf 100644 --- a/backgammon/common_source/save.c +++ b/backgammon/common_source/save.c @@ -1,4 +1,4 @@ -/* $NetBSD: save.c,v 1.3 1995/03/21 15:05:52 cgd Exp $ */ +/* $NetBSD: save.c,v 1.4 1995/04/29 00:44:13 mycroft Exp $ */ /* * Copyright (c) 1980, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)save.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$NetBSD: save.c,v 1.3 1995/03/21 15:05:52 cgd Exp $"; +static char rcsid[] = "$NetBSD: save.c,v 1.4 1995/04/29 00:44:13 mycroft Exp $"; #endif #endif /* not lint */ @@ -79,7 +79,7 @@ register int n; writel (prompt); fs = fname; while ((*fs = readc()) != '\n') { - if (*fs == tty.sg_erase) { + if (*fs == old.c_cc[VERASE]) { if (fs > fname) { fs--; if (tflag) -- cgit v1.2.3