mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Synchronize with sys/i386/i386/userconfig.c revision 1.86.
This commit is contained in:
parent
be889e159d
commit
5603173abd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26842
@ -46,7 +46,7 @@
|
||||
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
** THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
**
|
||||
** $Id: userconfig.c,v 1.28 1997/03/11 16:19:55 kato Exp $
|
||||
** $Id: userconfig.c,v 1.29 1997/03/15 15:44:05 kato Exp $
|
||||
**/
|
||||
|
||||
/**
|
||||
@ -2372,7 +2372,7 @@ visuserconfig(void)
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: userconfig.c,v 1.28 1997/03/11 16:19:55 kato Exp $
|
||||
* $Id: userconfig.c,v 1.29 1997/03/15 15:44:05 kato Exp $
|
||||
*/
|
||||
|
||||
#include "scbus.h"
|
||||
@ -2853,6 +2853,38 @@ introfunc(CmdParm *parms)
|
||||
clear();
|
||||
return 1; /* user requests exit */
|
||||
|
||||
case '1': /* select an item */
|
||||
case 'S':
|
||||
case 's':
|
||||
curr_item = 0;
|
||||
break;
|
||||
case '2':
|
||||
case 'V':
|
||||
case 'v':
|
||||
curr_item = 1;
|
||||
break;
|
||||
case '3':
|
||||
case 'C':
|
||||
case 'c':
|
||||
curr_item = 2;
|
||||
break;
|
||||
|
||||
case 'U': /* up */
|
||||
case 'u':
|
||||
case 'P':
|
||||
case 'p':
|
||||
if (curr_item > 0)
|
||||
--curr_item;
|
||||
break;
|
||||
|
||||
case 'D': /* down */
|
||||
case 'd':
|
||||
case 'N':
|
||||
case 'n':
|
||||
if (curr_item < 2)
|
||||
++curr_item;
|
||||
break;
|
||||
|
||||
case '\r':
|
||||
case '\n':
|
||||
clear();
|
||||
|
Loading…
Reference in New Issue
Block a user