Clean up the results from getch().
This commit is contained in:
parent
af06a2d9e6
commit
6b01d10031
@ -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.59 1996/07/31 10:55:19 jkh Exp $
|
||||
* $Id: disks.c,v 1.60 1996/07/31 14:49:20 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -188,7 +188,7 @@ diskPartition(Device *dev, Disk *d)
|
||||
msg = NULL;
|
||||
}
|
||||
|
||||
key = getch();
|
||||
key = getch() & 0x7F;
|
||||
if (islower(key))
|
||||
key = toupper(key);
|
||||
switch (key) {
|
||||
|
@ -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.54 1996/07/31 06:20:57 jkh Exp $
|
||||
* $Id: label.c,v 1.55 1996/07/31 09:29:32 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -497,7 +497,7 @@ diskLabel(char *str)
|
||||
move(23, 0);
|
||||
clrtoeol();
|
||||
}
|
||||
key = getch();
|
||||
key = getch() & 0x7F;
|
||||
if (islower(key))
|
||||
key = toupper(key);
|
||||
switch (key) {
|
||||
|
@ -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.59 1996/07/31 10:55:19 jkh Exp $
|
||||
* $Id: disks.c,v 1.60 1996/07/31 14:49:20 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -188,7 +188,7 @@ diskPartition(Device *dev, Disk *d)
|
||||
msg = NULL;
|
||||
}
|
||||
|
||||
key = getch();
|
||||
key = getch() & 0x7F;
|
||||
if (islower(key))
|
||||
key = toupper(key);
|
||||
switch (key) {
|
||||
|
@ -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.54 1996/07/31 06:20:57 jkh Exp $
|
||||
* $Id: label.c,v 1.55 1996/07/31 09:29:32 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -497,7 +497,7 @@ diskLabel(char *str)
|
||||
move(23, 0);
|
||||
clrtoeol();
|
||||
}
|
||||
key = getch();
|
||||
key = getch() & 0x7F;
|
||||
if (islower(key))
|
||||
key = toupper(key);
|
||||
switch (key) {
|
||||
|
@ -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.59 1996/07/31 10:55:19 jkh Exp $
|
||||
* $Id: disks.c,v 1.60 1996/07/31 14:49:20 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -188,7 +188,7 @@ diskPartition(Device *dev, Disk *d)
|
||||
msg = NULL;
|
||||
}
|
||||
|
||||
key = getch();
|
||||
key = getch() & 0x7F;
|
||||
if (islower(key))
|
||||
key = toupper(key);
|
||||
switch (key) {
|
||||
|
@ -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.54 1996/07/31 06:20:57 jkh Exp $
|
||||
* $Id: label.c,v 1.55 1996/07/31 09:29:32 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -497,7 +497,7 @@ diskLabel(char *str)
|
||||
move(23, 0);
|
||||
clrtoeol();
|
||||
}
|
||||
key = getch();
|
||||
key = getch() & 0x7F;
|
||||
if (islower(key))
|
||||
key = toupper(key);
|
||||
switch (key) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user