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
e6a3245f
Commit
e6a3245f
authored
23 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Added console bit to disable user inactivity detection.
parent
906bad6d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/sbbs3/getkey.cpp
+2
-2
2 additions, 2 deletions
src/sbbs3/getkey.cpp
src/sbbs3/sbbsdefs.h
+1
-0
1 addition, 0 deletions
src/sbbs3/sbbsdefs.h
with
3 additions
and
2 deletions
src/sbbs3/getkey.cpp
+
2
−
2
View file @
e6a3245f
...
...
@@ -253,9 +253,9 @@ char sbbs_t::getkey(long mode)
,((
ushort
)
timeleft
/
60
)
+
1
,(
timeleft
/
60
)
?
"s"
:
nulstr
);
RESTORELINE
;
}
if
(
online
==
ON_LOCAL
&&
cfg
.
node_misc
&
NM_NO_INACT
)
if
(
(
online
==
ON_LOCAL
&&
cfg
.
node_misc
&
NM_NO_INACT
)
||
console
&
CON_NO_INACT
)
timeout
=
now
;
if
(
now
-
timeout
>=
cfg
.
sec_warn
)
{
/* warning */
else
if
(
now
-
timeout
>=
cfg
.
sec_warn
)
{
/* warning */
if
(
sys_status
&
SS_USERON
)
{
SAVELINE
;
bputs
(
text
[
AreYouThere
]);
}
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/sbbsdefs.h
+
1
−
0
View file @
e6a3245f
...
...
@@ -411,6 +411,7 @@ typedef enum { /* Values for xtrn_t.event */
#define CON_RAW_IN (1<<8)
/* Raw input mode - no editing capabilities */
#define CON_ECHO_OFF (1<<10)
/* Remote & Local echo disabled for ML/MF */
#define CON_UPARROW (1<<11)
/* Up arrow hit - move up one line */
#define CON_NO_INACT (1<<13)
/* Console inactivity detection disabled */
/* Number of milliseconds */
#define DELAY_HANGUP 250
/* Delay before modem drops carrier */
...
...
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