--- option.c.orig 2005-01-06 17:32:19.000000000 -0800 +++ option.c 2005-02-18 19:02:38.000000000 -0800 @@ -28,8 +28,10 @@ static char *optstring(); static int flip_triple(); +extern int more_mode; extern int screen_trashed; extern char *every_first_cmd; +extern int unix2003_compat; /* * Scan an argument (either from the command line or from the @@ -132,6 +134,30 @@ s--; optc = 'z'; break; + case 'e': /* For more under Unix2003, -e acts like -E */ + if (more_mode) { + if (unix2003_compat) + optc = 'E'; + } + break; + case 'i': /* For more under Unix2003, -i acts like -I */ + if (more_mode) { + if (unix2003_compat) + optc = 'I'; + } + break; + case 'n': /* For more under Unix2003, -n acts differently */ + if (more_mode) { + if (unix2003_compat) + optc = ']'; + } + break; + case 'p': /* For more under Unix2003, -p acts differently */ + if (more_mode) { + if (unix2003_compat) + optc = '}'; + } + break; } /*