Annotation of researchv10dc/cmd/qsnap/qlevel.c, revision 1.1.1.1

1.1       root        1: #include "defines.h"
                      2: 
                      3: main(argc, argv)
                      4:        char *argv[];
                      5: {
                      6:        int Level = 0;
                      7:        char buf[256];
                      8: 
                      9:        qreset();
                     10:        if (argc > 1)
                     11:                Level = atoi(argv[1]);
                     12: 
                     13:        brightness(Level, Level, Level, Level);
                     14:        qcmd("\073", 1);
                     15:        qpause();
                     16:        qread(buf, 10);
                     17:        printf("\n");
                     18:        printf("brightness level: %d: %d\n", Level, buf[Level+1]&0xFF);
                     19: }

unix.superglobalmegacorp.com

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