13 * This is a kludge for compatibility with the old Athenareg stuff
34 #define FIRST_NAME_SIZE 17
35 #define LAST_NAME_SIZE 17
36 #define MID_INIT_SIZE 17
38 #define PASSWORD_SIZE 64
40 /* Input timeouts. The most important timeouts are those for the username
41 and the new password which should not be any longer than necessary. The
42 firstname timeout causes userreg to restart itself periodically since
43 userreg is waiting for a firstname when it is not being used. All the
44 other timeouts are just there so that userreg will not stay in a half-used
45 state -- possibly confusing an unwary registree.
47 #define FIRSTNAME_TIMEOUT 180 /* 3 minutes */
48 #define MI_TIMEOUT 90 /* 1.5 minutes */
49 #define LASTNAME_TIMEOUT 90 /* 1.5 minutes */
50 #define MITID_TIMEOUT 90 /* 1.5 minutes */
51 #define USERNAME_TIMEOUT 180 /* This should not be too long */
52 #define OLD_PASSWORD_TIMEOUT 90 /* 1.5 minutes */
53 #define NEW_PASSWORD_TIMEOUT 180 /* Neither should this */
54 #define REENTER_PASSWORD_TIMEOUT 90 /* 1.5 minutes */
55 #define YN_TIMEOUT 90 /* 1.5 minutes */
56 #define TIMER_TIMEOUT 90 /* default timeout for timer_on() */
61 /* Externs from display.c */
62 extern setup_display ();
63 extern reset_display ();
64 extern restore_display ();
67 extern input_no_echo ();
68 extern display_text_line ();
69 extern display_text ();
71 /* Global variables */
72 extern struct user user,
74 char typed_mit_id[100];