.TP
.B \-h N
-Screen height. Every N lines, a MORE prompt will be printed. Use of
+Text height. Every N lines, a MORE prompt will be printed. Use of
the
.B \-m
option renders this option moot.
.TP
.B \-S N
Set the transcript width. By default your transcript files are formatted
-to a width of 80 columns per line, regardless of the current screen width.
+to a width of 80 columns per line, regardless of the current text width.
This switch allows you to change this setting. In particular, use \-S 0
to deactivate automatic line splitting in transcript files.
.TP
.B \-w N
-Manually sets the screen width. This should not be necessary except in
+Manually sets the text width. This should not be necessary except in
special circumstances.
.TP
.SH CAVEATS
.PP
The Z Machine itself has trouble with the concept of resizing a terminal.
-It assumes that once the screen height and width are set, they will never
+It assumes that once the text height and width are set, they will never
change; even across saves. This made sense when 24x80 terminals were the
norm and graphical user interfaces were mostly unknown. I'm fairly sure
there's a way around this problem, but for now, don't resize an xterm in
.TP
.B \-h N
-Manually sets the screen height. Though most curses libraries are intelligent
+Manually sets the text height. Though most curses libraries are intelligent
enough to determine the current width from the terminal, it may sometimes
be necessary to use this option to override the default.
.TP
.B \-S N
Set the transcript width. By default your transcript files are formatted
-to a width of 80 columns per line, regardless of the current screen width.
+to a width of 80 columns per line, regardless of the current text width.
This switch allows you to change this setting. In particular, use \-S 0
to deactivate automatic line splitting in transcript files.
.TP
.B \-w N
-Manually sets the screen width. Again, this should not be necessary
+Manually sets the text width. Again, this should not be necessary
except in special circumstances.
.TP
needs.
.PP
-.BR screen_height
+.BR text_height
\ \ <integer>
.br
-Manually set screen height. Most curses libraries are intelligent enough
+Manually set text height. Most curses libraries are intelligent enough
to determine the current width of the terminal. You may need to use this
option to override the default.
.PP
-.BR screen_width
+.BR text_width
\ \ <integer>
.br
-Manually set screen width. Again, this should not be necessary except in
+Manually set text width. Again, this should not be necessary except in
special circumstances.
.PP
\ \ <integer>
.br
Set the transcript width. Default is 80 columns per line, regardless of
-the current screen width. This switch allows you to change this setting.
+the current text width. This switch allows you to change this setting.
You may set this to "0" to deactivate automatic line-splitting in
transcript files.
.SH CAVEATS
.PP
The Z Machine itself has trouble with the concept of resizing a terminal.
-It assumes that once the screen height and width are set, they will never
+It assumes that once the text height and width are set, they will never
change; even across saves. This made sense when 24x80 terminals were the
norm and graphical user interfaces were mostly unknown. I'm fairly sure
there's a way around this problem, but for now, don't resize an xterm in
.TP
.B \-h N
-Manually sets the screen height.
+Manually sets the text height.
.TP
.B \-i
.TP
.B \-S N
Set the transcript width. By default your transcript files are formatted
-to a width of 80 columns per line, regardless of the current screen width.
+to a width of 80 columns per line, regardless of the current text width.
This switch allows you to change this setting. In particular, use \-S 0
to deactivate automatic line splitting in transcript files.
.TP
.B \-w N
-Manually sets the screen width. Again, this should not be necessary
+Manually sets the text width. Again, this should not be necessary
except in special circumstances.
.TP
-e enable sound \t -R <path> restricted read/write\n\
-f <colorname> foreground color \t -s # random number seed value\n\
-F Force color mode \t -S # transcript width\n\
- -h # screen height \t -t set Tandy bit\n\
+ -h # text height \t -t set Tandy bit\n\
-i ignore fatal errors \t -u # slots for multiple undo\n\
-I # interpreter number \t -v show version information\n\
- -l # left margin \t -w # screen width\n\
+ -l # left margin \t -w # text width\n\
-L <file> load this save file \t -x expand abbreviations g/x/z\n\
-o watch object movement \t -Z # error checking (see below)\n"
-e enable sound
-f <colorname> foreground color
-F Force color mode
--h # screen height
+-h # text height
-i ignore fatal errors
-I # interpreter number
-l # left margin
-t set Tandy bit
-u # slots for multiple undo
-v show version information
--w # screen width
+-w # text width
-x expand abbreviations g/x/z
-Z # error checking (see below)
Syntax: dfrotz [options] story-file\n\
-a watch attribute setting \t -P alter piracy opcode\n\
-A watch attribute testing \t -R <path> restricted read/write\n\
- -h # screen height \t -s # random number seed value\n\
+ -h # text height \t -s # random number seed value\n\
-i ignore fatal errors \t -S # transcript width\n\
-I # interpreter number \t -t set Tandy bit\n\
-o watch object movement \t -u # slots for multiple undo\n\
-O watch object locating \t -v show version information\n\
- -L <file> load this save file \t -w # screen width\n\
+ -L <file> load this save file \t -w # text width\n\
-m turn off MORE prompts \t -x expand abbreviations g/x/z\n\
-p plain ASCII output only \t -Z # error checking (see below)\n"
While running, enter \"\\help\" to list the runtime escape sequences.\n"
-static int user_screen_width = 75;
-static int user_screen_height = 24;
+static int user_text_width = 75;
+static int user_text_height = 24;
static int user_random_seed = -1;
static int user_tandy_bit = 0;
static bool plain_ascii = FALSE;
f_setup.attribute_testing = 1;
break;
case 'h':
- user_screen_height = atoi(zoptarg);
+ user_text_height = atoi(zoptarg);
break;
case 'i':
f_setup.ignore_errors = 1;
exit(2);
break;
case 'w':
- user_screen_width = atoi(zoptarg);
+ user_text_width = atoi(zoptarg);
break;
case 'x':
f_setup.expand_abbreviations = 1;
if (z_header.version >= V5 && f_setup.undo_slots == 0)
z_header.flags &= ~UNDO_FLAG;
- z_header.screen_rows = user_screen_height;
- z_header.screen_cols = user_screen_width;
+ z_header.screen_rows = user_text_height;
+ z_header.screen_cols = user_text_width;
/* Use the ms-dos interpreter number for v6, because that's the
* kind of graphics files we understand. Otherwise, use DEC. */
"-c # context lines",
"-f <colorname> foreground colour",
"-F fullscreen mode",
- "-h # screen height",
- "-H show extended options",
+ "-H # screen height",
"-i ignore runtime errors",
"-I # interpreter number",
"-l # left margin",
"-S # transcript width",
"-t set Tandy bit",
"-u # slots for multiple undo",
- "-w # screen width",
+ "-W # screen width",
"-x expand abbreviations g/x/z",
+ "-X show extended options",
"-v show version information",
"-Z # error checking (see below)",
NULL
extern int m_timerinterval;
-static char *options = "@:%aAb:B:c:f:Fh:HiI:l:L:m:N:oOPqr:s:S:tTu:vVw:xZ:";
+static char *options = "@:%aAb:B:c:f:FH:iI:l:L:m:N:oOPqr:s:S:tTu:vVW:xXZ:";
static int limit(int v, int m, int M)
{
user_foreground = getcolor(zoptarg);
if (c == 'F')
m_fullscreen = 1;
- if (c == 'h')
+ if (c == 'H')
user_screen_height = num;
- if (c == 'H') {
- usage(USAGE_EXTENDED);
- exit(EXIT_FAILURE);
- }
if (c == 'i')
f_setup.ignore_errors = 1;
if (c == 'I')
print_version();
if (c == 'V')
m_vga_fonts = 1;
- if (c == 'w')
+ if (c == 'W')
user_screen_width = num;
if (c == 'x')
f_setup.expand_abbreviations = 1;
+ if (c == 'X') {
+ usage(USAGE_EXTENDED);
+ exit(EXIT_FAILURE);
+ }
if (c == 'Z')
if (num >= ERR_REPORT_NEVER && num <= ERR_REPORT_FATAL)
f_setup.err_report_mode = num;