#define LIST_STEP 10
#define BUFSIZE 4095
-#define SH_VERSION 1.19
+#define SH_VERSION 1.20
typedef struct {int fnum; FILE *fh[16];} FSTRUCT, *PFSTRUCT;
static int direct[32];
{
sscanf(strchr(line_buffer,'=')+1,"%d",&FSIZE_MED);
}
+ if(strstr(line_buffer,"MENUTIMEOUT=")==line_buffer)
+ {
+ sscanf(strchr(line_buffer,'=')+1,"%d",&mtmo);
+ }
if(strstr(line_buffer,"PAGING=")==line_buffer)
{
sscanf(strchr(line_buffer,'=')+1,"%d",&paging);
case -1:
knew=0;
+ if(mtmo == 0)
+ break;
time(&tm2);
if((tm2-tm1)<mtmo)
{