Accept DEL as a synonym for `delete'

This commit is contained in:
Jordan K. Hubbard 1996-03-20 14:11:22 +00:00
parent 51fa90c524
commit 1879e5afb7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14725
6 changed files with 12 additions and 6 deletions

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: disks.c,v 1.35 1996/01/23 21:05:22 joerg Exp $
* $Id: disks.c,v 1.36 1996/03/18 15:27:49 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -382,6 +382,7 @@ diskPartition(Device *dev, Disk *d)
}
break;
case '\177':
case 'D':
if (chunk_info[current_chunk]->type == unused)
msg = "Partition is already unused!";

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: label.c,v 1.37 1996/03/02 20:02:13 jkh Exp $
* $Id: label.c,v 1.38 1996/03/18 15:27:58 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -919,6 +919,7 @@ diskLabel(char *str)
}
break;
case '\177':
case 'D': /* delete */
if (label_chunk_info[here].type == PART_SLICE) {
msg = MSG_NOT_APPLICABLE;

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: disks.c,v 1.35 1996/01/23 21:05:22 joerg Exp $
* $Id: disks.c,v 1.36 1996/03/18 15:27:49 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -382,6 +382,7 @@ diskPartition(Device *dev, Disk *d)
}
break;
case '\177':
case 'D':
if (chunk_info[current_chunk]->type == unused)
msg = "Partition is already unused!";

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: label.c,v 1.37 1996/03/02 20:02:13 jkh Exp $
* $Id: label.c,v 1.38 1996/03/18 15:27:58 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -919,6 +919,7 @@ diskLabel(char *str)
}
break;
case '\177':
case 'D': /* delete */
if (label_chunk_info[here].type == PART_SLICE) {
msg = MSG_NOT_APPLICABLE;

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: disks.c,v 1.35 1996/01/23 21:05:22 joerg Exp $
* $Id: disks.c,v 1.36 1996/03/18 15:27:49 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -382,6 +382,7 @@ diskPartition(Device *dev, Disk *d)
}
break;
case '\177':
case 'D':
if (chunk_info[current_chunk]->type == unused)
msg = "Partition is already unused!";

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: label.c,v 1.37 1996/03/02 20:02:13 jkh Exp $
* $Id: label.c,v 1.38 1996/03/18 15:27:58 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -919,6 +919,7 @@ diskLabel(char *str)
}
break;
case '\177':
case 'D': /* delete */
if (label_chunk_info[here].type == PART_SLICE) {
msg = MSG_NOT_APPLICABLE;