-/* $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
#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 */
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)