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
a58bf878
Commit
a58bf878
authored
9 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Split the door.sys data into separated objects (under review).
parent
4f8d24dd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
exec/load/dorkit.js
+60
-3
60 additions, 3 deletions
exec/load/dorkit.js
with
60 additions
and
3 deletions
exec/load/dorkit.js
+
60
−
3
View file @
a58bf878
...
...
@@ -36,9 +36,12 @@ var dk = {
x
:
1
,
// Current column (1-based)
y
:
1
,
// Current row (1-based)
attr
:
new
Attribute
(
7
),
// Current attribute
ansi
:
true
,
// ANSI is supported
ansi
:
true
,
// ANSI support is enabled
charset
:
'
cp437
'
,
// Supported character set
local
:
true
,
// True if writes should go to the local screen
remote
:
true
,
// True if writes should go to the remote terminal
rows
:
24
,
// Rows in users terminal
expert_mode
:
true
,
/*
* Clears the current screen to black and moves to location 1,1
...
...
@@ -114,8 +117,62 @@ var dk = {
getbyte
:
function
()
{
},
},
user
:{},
system
:{},
connection
:{
type
:
undefined
,
baud
:
undefined
,
parity
:
undefined
,
node
:
undefined
,
dte
:
undefined
,
error_correcting
:
true
,
time
:
undefined
,
},
user
:{
full_name
:
undefined
,
location
:
undefined
,
home_phone
:
undefined
,
work_phone
:
undefined
,
// Just a copy of work_phone when using door.sys
data_phone
:
undefined
,
pass
:
undefined
,
level
:
undefined
,
times_on
:
undefined
,
last_called
:
undefined
,
// These need getter/setters
seconds_remaining
:
undefined
,
minutes_remaining
:
undefined
,
conference
:[],
curr_conference
:
undefined
,
expires
:
undefined
,
number
:
undefined
,
default_protocol
:
undefined
,
// Default transfer protocol... X, Y, Z, etc.
uploads
:
undefined
,
upload_kb
:
undefined
,
downloads
:
undefined
,
download_kb
:
undefined
,
kb_downloaded_today
:
undefined
,
max_download_bytes_per_day
:
undefined
,
birthdate
:
undefined
,
alias
:
undefined
,
ansi_supported
:
undefined
,
time_credits
:
undefined
,
last_new_file_scan_date
:
undefined
,
last_call_time
:
undefined
,
max_daily_files
:
undefined
,
downloaded_today
:
undefined
,
comment
:
undefined
,
doors_opened
:
undefined
,
messages_left
:
undefined
,
},
system
:{
main_dir
:
undefined
,
gen_dir
:
undefined
,
sysop_name
:
undefined
,
default_attr
:
undefined
,
},
misc
:{
event_time
:
undefined
,
record_locking
:
undefined
,
},
parse_dropfile
:
function
(
path
)
{
var
f
=
new
File
(
path
);
...
...
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