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
3cfc7722
Commit
3cfc7722
authored
5 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Fill in local "stuff" when there's no drop file.
parent
e613ec94
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
exec/dorkit/local_console.js
+17
-7
17 additions, 7 deletions
exec/dorkit/local_console.js
with
17 additions
and
7 deletions
exec/dorkit/local_console.js
+
17
−
7
View file @
3cfc7722
...
...
@@ -103,30 +103,40 @@ dk.console.local_io = {
};
dk
.
console
.
local_io
.
screen
.
touched
=
[];
// TODO
if
(
false
/*js.global.conio !== undefined*/
)
{
// Get stuff that would come from the dropfile if there was one.
// From the bbs object.
// Get stuff that would come from the dropfile if there was one.
// From the bbs object.
if
(
dk
.
connection
.
node
===
undefined
)
dk
.
connection
.
node
=
0
;
if
(
dk
.
connection
.
time
===
undefined
)
dk
.
connection
.
time
=
strftime
(
"
%H:%M
"
,
time
());
if
(
dk
.
user
.
seconds_remaining_from
===
undefined
)
dk
.
user
.
seconds_remaining_from
=
time
();
if
(
dk
.
user
.
seconds_remaining
===
undefined
)
dk
.
user
.
seconds_remaining
=
43200
;
// 12 hours should be enough for anyone!
if
(
dk
.
user
.
minutes_remaining
===
undefined
)
dk
.
user
.
minutes_remaining
=
720
;
// From the client object...
if
(
dk
.
connection
.
type
===
undefined
)
dk
.
connection
.
type
=
'
LOCAL
'
;
// From the console object
if
(
dk
.
user
.
ansi_supported
===
undefined
)
dk
.
user
.
ansi_supported
=
true
;
if
(
dk
.
console
.
rows
===
undefined
)
dk
.
console
.
rows
=
conio
.
screenheight
;
if
(
dk
.
console
.
cols
===
undefined
)
dk
.
console
.
cols
=
conio
.
screenwidth
;
delete
dk
.
console
.
local_screen
;
delete
dk
.
console
.
local_screen
;
// From the user object...
if
(
dk
.
user
.
alias
===
undefined
)
dk
.
user
.
alias
=
'
Local User
'
;
if
(
dk
.
user
.
full_name
===
undefined
)
dk
.
user
.
full_name
=
'
Local User
'
;
if
(
dk
.
user
.
location
===
undefined
)
dk
.
user
.
location
=
'
Local
'
;
if
(
dk
.
user
.
number
===
undefined
)
dk
.
user
.
number
=
0
;
if
(
dk
.
user
.
alias
===
undefined
)
dk
.
user
.
alias
=
'
Sysop
'
;
}
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