~ubuntu-branches/ubuntu/jaunty/simh/jaunty

« back to all changes in this revision

Viewing changes to sim_console.c

  • Committer: Bazaar Package Importer
  • Author(s): Vince Mulhollon
  • Date: 2007-04-13 20:16:15 UTC
  • mfrom: (1.1.7 upstream) (2.1.3 lenny)
  • Revision ID: james.westby@ubuntu.com-20070413201615-jiar46bgkrs0dw2h
Tags: 3.7.0-1
* New upstream released 03-Feb-2007
* i7094 added which emulates the IBM 7090/7094
* Upstream has converted almost entirely to pdf format for docs
* All manpages updated
* All docs are registered with the doc-base system

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
   used in advertising or otherwise to promote the sale, use or other dealings
24
24
   in this Software without prior written authorization from Robert M Supnik.
25
25
 
 
26
   30-Sep-06    RMS     Fixed non-printable characters in KSR mode
26
27
   22-Jun-06    RMS     Implemented SET/SHOW PCHAR
27
28
   31-May-06    JDB     Fixed bug if SET CONSOLE DEBUG with no argument
28
29
   22-Nov-05    RMS     Added central input/output conversion support
474
475
 
475
476
if (md != TTUF_MODE_8B) {
476
477
    c = c & 0177;
477
 
    if ((md == TTUF_MODE_UC) && islower (c)) c = toupper (c);
 
478
    if (md == TTUF_MODE_UC) {
 
479
        if (islower (c)) c = toupper (c);
 
480
        if ((mode & TTUF_KSR) && (c >= 0140))
 
481
            return -1;
 
482
        }
478
483
    if (((md == TTUF_MODE_UC) || (md == TTUF_MODE_7P)) &&
479
484
        ((c == 0177) ||
480
485
         ((c < 040) && !((sim_tt_pchar >> c) & 1))))