Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
9605ad77
Commit
9605ad77
authored
Feb 05, 2018
by
rswindell
Browse files
Added the "missing" 80x30 screen mode.
parent
0d4ab518
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
src/syncterm/bbslist.c
src/syncterm/bbslist.c
+2
-2
src/syncterm/bbslist.h
src/syncterm/bbslist.h
+1
-0
src/syncterm/syncterm.c
src/syncterm/syncterm.c
+5
-0
No files found.
src/syncterm/bbslist.c
View file @
9605ad77
...
...
@@ -174,8 +174,8 @@ int sortorder[sizeof(sort_order)/sizeof(struct sort_order_info)];
char
*
sort_orders
[]
=
{
"Entry Name"
,
"Address"
,
"Connection Type"
,
"Port"
,
"Date Added"
,
"Date Last Connected"
};
char
*
screen_modes
[]
=
{
"Current"
,
"80x25"
,
"80x28"
,
"80x43"
,
"80x50"
,
"80x60"
,
"132x25"
,
"132x28"
,
"132x30"
,
"132x34"
,
"132x43"
,
"132x50"
,
"132x60"
,
"C64"
,
"C128 (40col)"
,
"C128 (80col)"
,
"Atari"
,
"Atari XEP80"
,
NULL
};
char
*
screen_modes_enum
[]
=
{
"Current"
,
"80x25"
,
"80x28"
,
"80x43"
,
"80x50"
,
"80x60"
,
"132x25"
,
"132x28"
,
"132x30"
,
"132x34"
,
"132x43"
,
"132x50"
,
"132x60"
,
"C64"
,
"C128-40col"
,
"C128-80col"
,
"Atari"
,
"Atari-XEP80"
,
NULL
};
char
*
screen_modes
[]
=
{
"Current"
,
"80x25"
,
"80x28"
,
"80x30"
,
"80x43"
,
"80x50"
,
"80x60"
,
"132x25"
,
"132x28"
,
"132x30"
,
"132x34"
,
"132x43"
,
"132x50"
,
"132x60"
,
"C64"
,
"C128 (40col)"
,
"C128 (80col)"
,
"Atari"
,
"Atari XEP80"
,
NULL
};
char
*
screen_modes_enum
[]
=
{
"Current"
,
"80x25"
,
"80x28"
,
"80x30"
,
"80x43"
,
"80x50"
,
"80x60"
,
"132x25"
,
"132x28"
,
"132x30"
,
"132x34"
,
"132x43"
,
"132x50"
,
"132x60"
,
"C64"
,
"C128-40col"
,
"C128-80col"
,
"Atari"
,
"Atari-XEP80"
,
NULL
};
char
*
log_levels
[]
=
{
"Emergency"
,
"Alert"
,
"Critical"
,
"Error"
,
"Warning"
,
"Notice"
,
"Info"
,
"Debug"
,
NULL
};
char
*
log_level_desc
[]
=
{
"None"
,
"Alerts"
,
"Critical Errors"
,
"Errors"
,
"Warnings"
,
"Notices"
,
"Normal"
,
"All (Debug)"
,
NULL
};
...
...
src/syncterm/bbslist.h
View file @
9605ad77
...
...
@@ -35,6 +35,7 @@ enum {
SCREEN_MODE_CURRENT
,
SCREEN_MODE_80X25
,
SCREEN_MODE_80X28
,
SCREEN_MODE_80X30
,
SCREEN_MODE_80X43
,
SCREEN_MODE_80X50
,
SCREEN_MODE_80X60
...
...
src/syncterm/syncterm.c
View file @
9605ad77
...
...
@@ -1438,6 +1438,9 @@ int main(int argc, char **argv)
case
28
:
text_mode
=
C80X28
;
break
;
case
30
:
text_mode
=
C80X30
;
break
;
case
43
:
text_mode
=
C80X43
;
break
;
...
...
@@ -1701,6 +1704,8 @@ int screen_to_ciolib(int screen)
return
(
C80
);
case
SCREEN_MODE_80X28
:
return
(
C80X28
);
case
SCREEN_MODE_80X30
:
return
(
C80X30
);
case
SCREEN_MODE_80X43
:
return
(
C80X43
);
case
SCREEN_MODE_80X50
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment