Annotation of researchv9/jerq/src/lib/jj/c.c, revision 1.1

1.1     ! root        1: #include       <jerq.h>
        !             2: #include       <font.h>
        !             3: 
        !             4: main()
        !             5: {
        !             6:        char buf[256];
        !             7: 
        !             8:        request(KBD|MOUSE);
        !             9:        rectf(&display, Drect, F_OR);
        !            10:        strcpy(buf, "prompt: ");
        !            11:        rectf(&display, Drect, F_XOR);
        !            12:        kbdstr(buf);
        !            13:        string(&defont, buf, &display, add(Drect.origin, Pt(5, 5)), F_XOR);
        !            14:        sleep(300);
        !            15:        strcpy(buf, "filename");
        !            16:        kbordstr(buf, buf, 'b', 'a');
        !            17:        string(&defont, buf, &display, add(Drect.origin, Pt(5, 25)), F_XOR);
        !            18:        sleep(300);
        !            19: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.