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
a4973c2e
Commit
a4973c2e
authored
2 years ago
by
Deucе
Browse files
Options
Downloads
Patches
Plain Diff
Document the SyncTERM Application Program String extensions
Not actually part of CTerm, but documented here anyway.
parent
e4e639c2
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!463
MRC mods by Codefenix (2024-10-20)
Pipeline
#3499
passed
2 years ago
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/conio/cterm.txt
+23
-0
23 additions, 0 deletions
src/conio/cterm.txt
with
23 additions
and
0 deletions
src/conio/cterm.txt
+
23
−
0
View file @
a4973c2e
...
@@ -240,6 +240,29 @@ ESC _ Application Program String (APS)
...
@@ -240,6 +240,29 @@ ESC _ Application Program String (APS)
0x20-0x7e, terminated by a String Terminator (ST)
0x20-0x7e, terminated by a String Terminator (ST)
The string is currently ignored.
The string is currently ignored.
SyncTERM implements the following APS commands:
APS SyncTERM:C;S;Ps1;Ps2 ST (Store file)
Where Ps1 is a filename and Ps2 is the base64 encoded
contents of the file. The named file is stored in the
cache directory for the current connection.
APS SyncTERM:C;L ST (List Files)
List files in cache. SyncTERM responds with
an APS string with lines separated by newlines. The
first line is always "SyncTERM:C;L\n" and for each
matching file, a line in the form
<Filename> TAB <MD5 sum> LF is sent
(ie: "coolfont.fnt\t595f44fec1e92a71d3e9e77456ba80d1\n")
And additional argument can be specified as a glob(3)
pattern (defaults to "*") in APS SyncTERM:C;L;Ps ST.
APS SyncTERM:C;SetFont;Pn;Ps
Where Pn is a font slot number (max 255) and Ps is a
filename in the cache. This sets font slot Pn to use
the specified font file.
ESC c Reset to Initial State (RIS)
ESC c Reset to Initial State (RIS)
Resets all the terminal settings, clears the screen, and homes
Resets all the terminal settings, clears the screen, and homes
the cursor.
the cursor.
...
...
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