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
3a6fed4a
Commit
3a6fed4a
authored
18 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Add additional suggested keys from www.ansi-bbs.org
Page Up, Page Down, F1-F12, and Insert
parent
4532b98d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/syncterm/term.c
+35
-2
35 additions, 2 deletions
src/syncterm/term.c
with
35 additions
and
2 deletions
src/syncterm/term.c
+
35
−
2
View file @
3a6fed4a
...
@@ -1293,6 +1293,12 @@ BOOL doterm(struct bbslist *bbs)
...
@@ -1293,6 +1293,12 @@ BOOL doterm(struct bbslist *bbs)
case
CIO_KEY_DC
:
/* "Delete" key, send ASCII 127 (DEL) */
case
CIO_KEY_DC
:
/* "Delete" key, send ASCII 127 (DEL) */
conn_send
(
"
\x7f
"
,
1
,
0
);
conn_send
(
"
\x7f
"
,
1
,
0
);
break
;
break
;
case
CIO_KEY_NPAGE
:
/* Page down */
conn_send
(
"
\033
[U"
,
3
,
0
);
break
;
case
CIO_KEY_PPAGE
:
/* Page up */
conn_send
(
"
\033
[V"
,
3
,
0
);
break
;
case
CIO_KEY_F
(
1
):
case
CIO_KEY_F
(
1
):
conn_send
(
"
\033
OP"
,
3
,
0
);
conn_send
(
"
\033
OP"
,
3
,
0
);
break
;
break
;
...
@@ -1300,10 +1306,37 @@ BOOL doterm(struct bbslist *bbs)
...
@@ -1300,10 +1306,37 @@ BOOL doterm(struct bbslist *bbs)
conn_send
(
"
\033
OQ"
,
3
,
0
);
conn_send
(
"
\033
OQ"
,
3
,
0
);
break
;
break
;
case
CIO_KEY_F
(
3
):
case
CIO_KEY_F
(
3
):
conn_send
(
"
\033
O
w
"
,
3
,
0
);
conn_send
(
"
\033
O
R
"
,
3
,
0
);
break
;
break
;
case
CIO_KEY_F
(
4
):
case
CIO_KEY_F
(
4
):
conn_send
(
"
\033
Ox"
,
3
,
0
);
conn_send
(
"
\033
OS"
,
3
,
0
);
break
;
case
CIO_KEY_F
(
5
):
conn_send
(
"
\033
Ot"
,
3
,
0
);
break
;
case
CIO_KEY_F
(
6
):
conn_send
(
"
\033
[17~"
,
4
,
0
);
break
;
case
CIO_KEY_F
(
7
):
conn_send
(
"
\033
[18~"
,
4
,
0
);
break
;
case
CIO_KEY_F
(
8
):
conn_send
(
"
\033
[19~"
,
4
,
0
);
break
;
case
CIO_KEY_F
(
9
):
conn_send
(
"
\033
[20~"
,
4
,
0
);
break
;
case
CIO_KEY_F
(
10
):
conn_send
(
"
\033
[21~"
,
4
,
0
);
break
;
case
CIO_KEY_F
(
11
):
conn_send
(
"
\033
[23~"
,
4
,
0
);
break
;
case
CIO_KEY_F
(
12
):
conn_send
(
"
\033
[24~"
,
4
,
0
);
break
;
case
CIO_KEY_IC
:
conn_send
(
"
\033
[@"
,
3
,
0
);
break
;
break
;
case
0x3000
:
/* ALT-B - Scrollback */
case
0x3000
:
/* ALT-B - Scrollback */
viewscroll
();
viewscroll
();
...
...
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