diff options
author | mycroft <mycroft@NetBSD.org> | 1995-04-29 00:44:03 +0000 |
---|---|---|
committer | mycroft <mycroft@NetBSD.org> | 1995-04-29 00:44:03 +0000 |
commit | 42430ba7d7a05f98105888cb19f79d9bd7cd22ad (patch) | |
tree | aa3516e56353d97671cf6c67335ebf60a1ca8b61 /backgammon/common_source/save.c | |
parent | 567e3567cfbbfd9940e7ac02313f241710d726c7 (diff) | |
download | bsdgames-darwin-42430ba7d7a05f98105888cb19f79d9bd7cd22ad.tar.gz bsdgames-darwin-42430ba7d7a05f98105888cb19f79d9bd7cd22ad.tar.zst bsdgames-darwin-42430ba7d7a05f98105888cb19f79d9bd7cd22ad.zip |
Use POSIX tty semantics.
Diffstat (limited to 'backgammon/common_source/save.c')
-rw-r--r-- | backgammon/common_source/save.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) |