?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download

  1.  
  2. #define MAXCOL 80         /* Number of columns on your terminal         */
  3.  
  4. #define NBYTES 10         /* Number of bytes in configuration block     */
  5.  
  6. #define defdsk cblock[0]  /* default library disk byte                  */
  7. #define defusr cblock[1]  /* default library user area byte             */
  8. #define defsub cblock[2]  /* default submit file disk drive byte        */
  9. #define conpol cblock[3]  /* console interrupt polling flag byte        */
  10. #define wboote cblock[4]  /* warm-boot control byte                     */
  11. #define pstrip cblock[5]  /* parity stripping control byte              */
  12. #define nouser cblock[6]  /* ignore user areas control byte             */
  13. #define werrs  cblock[7]  /* write PROGERRS.$$$ for RED control byte    */
  14. #define optim  cblock[8]  /* optimization control byte                  */
  15. #define cdbrst cblock[9]  /* CDB default restart vector                 */
  16.  
  17. #define p(text) prnt(text); /* maximizes source text line width         */
  18.  
  19. int column;             /* current column position for prnt() function  */
  20. int made_changes;       /* true if any options re-configured            */
  21. char old_val;           /* old value of each option, to detect changes  */
  22.  
  23. char cblock[NBYTES];
  24. int (*funcs[NBYTES])();
  25.  
  26. int fd_cc, fd_clink;    /* file descriptors                             */
  27. char secbuf[128];       /* sector buffer for reading/writing CC, CLINK  */
  28. char strbuf[120], c;
  29.  
  30. char jbuf[JBUFSIZE];
  31.