| 3 |
* screen |
* screen |
| 4 |
* - advanced telnet-based user interactive input / output features |
* - advanced telnet-based user interactive input / output features |
| 5 |
* |
* |
| 6 |
* Copyright (C) 2004-2025 by Leaflet <leaflet@leafok.com> |
* Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
| 7 |
*/ |
*/ |
| 8 |
|
|
| 9 |
#include "bbs.h" |
#include "bbs.h" |
| 144 |
|
|
| 145 |
while (!SYS_server_exit) |
while (!SYS_server_exit) |
| 146 |
{ |
{ |
| 147 |
ch = igetch_t(MIN(MAX_DELAY_TIME, 60)); |
ch = igetch_t(MIN(BBS_max_user_idle_time, 60)); |
| 148 |
|
|
| 149 |
if (ch == CR) |
if (ch == CR) |
| 150 |
{ |
{ |
| 314 |
|
|
| 315 |
while (!SYS_server_exit) |
while (!SYS_server_exit) |
| 316 |
{ |
{ |
| 317 |
ch = igetch_t(MIN(MAX_DELAY_TIME, 60)); |
ch = igetch_t(MIN(BBS_max_user_idle_time, 60)); |
| 318 |
|
|
| 319 |
if (ch == CR) |
if (ch == CR) |
| 320 |
{ |
{ |
| 645 |
input_ok = 0; |
input_ok = 0; |
| 646 |
while (!SYS_server_exit && !input_ok) |
while (!SYS_server_exit && !input_ok) |
| 647 |
{ |
{ |
| 648 |
ch = igetch_t(MAX_DELAY_TIME); |
ch = igetch_t(BBS_max_user_idle_time); |
| 649 |
input_ok = 1; |
input_ok = 1; |
| 650 |
|
|
| 651 |
if (ch != KEY_NULL && ch != KEY_TIMEOUT) |
if (ch != KEY_NULL && ch != KEY_TIMEOUT) |