Revision cd383492 monitor.c

b/monitor.c
1400 1400
    { 0x48, "kp_8" },
1401 1401
    { 0x49, "kp_9" },
1402 1402

  
1403
    { 0x56, "<" },
1403
    { 0x56, "less" },
1404 1404

  
1405 1405
    { 0x57, "f11" },
1406 1406
    { 0x58, "f12" },
......
1504 1504
                monitor_printf(mon, "too many keys\n");
1505 1505
                return;
1506 1506
            }
1507

  
1508
            /* Be compatible with old interface, convert user inputted "<" */
1509
            if (!strncmp(keyname_buf, "<", 1) && keyname_len == 1) {
1510
                pstrcpy(keyname_buf, sizeof(keyname_buf), "less");
1511
                keyname_len = 4;
1512
            }
1513

  
1507 1514
            keyname_buf[keyname_len] = 0;
1508 1515
            keycode = get_keycode(keyname_buf);
1509 1516
            if (keycode < 0) {

Also available in: Unified diff