static char sccsid
[] = "@(#)delete.c 1.1 (Berkeley/CCI) 7/5/86";
print("The following commands are available:\n");
print("STATus - Display formatter state.\n");
print("QUIT - Terminate current operation.\n");
print("Any line number between 0 and %d may be entered.\n", line
-1);
register int ctlr
, drive
;
int *table
[(MAXCTLR
* MAXDRIVE
) + 50];
int list
[(MAXCTLR
* MAXDRIVE
) + 50];
int tokens
[(MAXCTLR
* MAXDRIVE
) + 50];
for(ctlr
=0; ctlr
<MAXCTLR
; ctlr
++)
for(drive
=0; drive
<MAXDRIVE
; drive
++)
if(ops_to_do
[ctlr
][drive
].op
) {
table
[line
] = &ops_to_do
[ctlr
][drive
].op
;
display_operations(ctlr
, drive
);
get_digit_list(tokens
, list
, delete_help
);
if(kill_processes
== true) {
for(tok
=tokens
; *tok
!= -1; tok
++) {
print("Line %d has been deleted.\n",*tok
);
print("Line 0 deleted since it was the only line possible.\n");
print("Nothing to delete.\n");