Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
ed5ad299
Commit
ed5ad299
authored
7 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Add support for new 132-column modes.
parent
b0622631
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/syncterm/bbslist.c
+2
-2
2 additions, 2 deletions
src/syncterm/bbslist.c
src/syncterm/bbslist.h
+2
-0
2 additions, 0 deletions
src/syncterm/bbslist.h
src/syncterm/syncterm.c
+4
-0
4 additions, 0 deletions
src/syncterm/syncterm.c
with
8 additions
and
2 deletions
src/syncterm/bbslist.c
+
2
−
2
View file @
ed5ad299
...
@@ -174,8 +174,8 @@ int sortorder[sizeof(sort_order)/sizeof(struct sort_order_info)];
...
@@ -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
*
sort_orders
[]
=
{
"Entry Name"
,
"Address"
,
"Connection Type"
,
"Port"
,
"Date Added"
,
"Date Last Connected"
};
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
[]
=
{
"Current"
,
"80x25"
,
"80x28"
,
"80x30"
,
"80x43"
,
"80x50"
,
"80x60"
,
"132x37 (16:9)"
,
"132x52 (5:4)"
,
"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
*
screen_modes_enum
[]
=
{
"Current"
,
"80x25"
,
"80x28"
,
"80x30"
,
"80x43"
,
"80x50"
,
"80x60"
,
"132x37"
,
"132x52"
,
"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_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
};
char
*
log_level_desc
[]
=
{
"None"
,
"Alerts"
,
"Critical Errors"
,
"Errors"
,
"Warnings"
,
"Notices"
,
"Normal"
,
"All (Debug)"
,
NULL
};
...
...
This diff is collapsed.
Click to expand it.
src/syncterm/bbslist.h
+
2
−
0
View file @
ed5ad299
...
@@ -39,6 +39,8 @@ enum {
...
@@ -39,6 +39,8 @@ enum {
,
SCREEN_MODE_80X43
,
SCREEN_MODE_80X43
,
SCREEN_MODE_80X50
,
SCREEN_MODE_80X50
,
SCREEN_MODE_80X60
,
SCREEN_MODE_80X60
,
SCREEN_MODE_132X37
,
SCREEN_MODE_132x52
,
SCREEN_MODE_132X25
,
SCREEN_MODE_132X25
,
SCREEN_MODE_132X28
,
SCREEN_MODE_132X28
,
SCREEN_MODE_132X30
,
SCREEN_MODE_132X30
...
...
This diff is collapsed.
Click to expand it.
src/syncterm/syncterm.c
+
4
−
0
View file @
ed5ad299
...
@@ -1712,6 +1712,10 @@ int screen_to_ciolib(int screen)
...
@@ -1712,6 +1712,10 @@ int screen_to_ciolib(int screen)
return
(
C80X50
);
return
(
C80X50
);
case
SCREEN_MODE_80X60
:
case
SCREEN_MODE_80X60
:
return
(
C80X60
);
return
(
C80X60
);
case
SCREEN_MODE_132X37
:
return
ST132X37_16_9
;
case
SCREEN_MODE_132x52
:
return
ST132X52_5_4
;
case
SCREEN_MODE_132X25
:
case
SCREEN_MODE_132X25
:
return
(
VESA_132X25
);
return
(
VESA_132X25
);
case
SCREEN_MODE_132X28
:
case
SCREEN_MODE_132X28
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment