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
6b75310e
Commit
6b75310e
authored
1 year ago
by
Nigel Reed
Committed by
Rob Swindell
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Added NEW-ENVIRON. Note the variable is NEW_ENVIRON
parent
984f1eb6
No related branches found
No related tags found
1 merge request
!413
Added NEW-ENVIRON. Note the variable is NEW_ENVIRON
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
exec/load/telnet_lib.js
+3
-0
3 additions, 0 deletions
exec/load/telnet_lib.js
with
3 additions
and
0 deletions
exec/load/telnet_lib.js
+
3
−
0
View file @
6b75310e
...
...
@@ -19,6 +19,8 @@ const NOP =241 /* 0xf1 - No operation */
const
SE
=
240
/* 0xf0 - End of subnegotiation parameters. */
const
NEW_ENVIRON
=
39
/* 0x27 - NEW-ENVIRON - Exchange environment vars etc. */
/* js doesn't like - in variables so must use underscore */
const
NAWS
=
31
/* 0x1f - NAWS - Negotiate About Window Size */
const
MSDP
=
69
/* 0x45 - MSDP - MUD Server Data Protocl */
const
MMSP
=
70
/* 0x46 - MMSP - MUD Master Server Protocol */
...
...
@@ -56,6 +58,7 @@ function cmdstr(cmd)
case
MXP
:
return
"
MXP
"
;
case
AARD
:
return
"
AARD
"
;
case
GCMP
:
return
"
GCMP
"
;
case
NEW_ENVIRON
:
return
"
NEW-ENVIRON
"
;
}
return
cmd
;
}
...
...
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