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
55296c80
Commit
55296c80
authored
19 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Added RecvBufSize, Streaming, and CRC32 sexyz.ini values.
parent
d5b5123d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/sexyz.txt
+5
-3
5 additions, 3 deletions
docs/sexyz.txt
src/sbbs3/sexyz.c
+6
-1
6 additions, 1 deletion
src/sbbs3/sexyz.c
with
11 additions
and
4 deletions
docs/sexyz.txt
+
5
−
3
View file @
55296c80
...
...
@@ -203,9 +203,11 @@ Example .ini file (with default values given):
CrcTimeout=60 ; seconds
BlockSize=1024 ; 1024 is usually best to start with
MaxBlockSize=1024 ; 1024 is "true" Zmodem, 8192 for Zmodem-8K (ZedZap)
MaxErrors=10
CRC16=FALSE ; CRC-32 is the default
EscapeTelnetIAC=TRUE ; Send ZDLE/ZRUB1 instead of 0xff with -telnet
MaxErrors=10 ; maximum number of consecutive errors
RecvBufSize=0 ; specify non-zero for partial streaming receives
Streaming=TRUE ; set to FALSE to disable streaming (block-at-a-time)
CRC32=TRUE ; set to FALSE to force CRC-16 instead
EscapeTelnetIAC=TRUE ; send ZDLE/ZRUB1 instead of 0xff with -telnet
Compatibility
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/sexyz.c
+
6
−
1
View file @
55296c80
...
...
@@ -1339,14 +1339,19 @@ int main(int argc, char **argv)
zm
.
block_size
=
iniReadInteger
(
fp
,
"Zmodem"
,
"BlockSize"
,
zm
.
block_size
);
/* 1024 */
zm
.
max_block_size
=
iniReadInteger
(
fp
,
"Zmodem"
,
"MaxBlockSize"
,
zm
.
max_block_size
);
/* 1024 or 8192 */
zm
.
max_errors
=
iniReadInteger
(
fp
,
"Zmodem"
,
"MaxErrors"
,
zm
.
max_errors
);
zm
.
recv_bufsize
=
iniReadInteger
(
fp
,
"Zmodem"
,
"RecvBufSize"
,
0
);
zm
.
no_streaming
=!
iniReadBool
(
fp
,
"Zmodem"
,
"Streaming"
,
TRUE
);
zm
.
want_fcs_16
=!
iniReadBool
(
fp
,
"Zmodem"
,
"CRC32"
,
TRUE
);
zm
.
escape_telnet_iac
=
iniReadBool
(
fp
,
"Zmodem"
,
"EscapeTelnetIAC"
,
TRUE
);
zm
.
want_fcs_16
=
iniReadBool
(
fp
,
"Zmodem"
,
"CRC16"
,
FALSE
);
if
(
fp
!=
NULL
)
fclose
(
fp
);
atexit
(
exiting
);
if
(
zm
.
recv_bufsize
>
0xffff
)
zm
.
recv_bufsize
=
0xffff
;
if
(
outbuf_size
<
MIN_OUTBUF_SIZE
)
outbuf_size
=
MIN_OUTBUF_SIZE
;
else
if
(
outbuf_size
>
MAX_OUTBUF_SIZE
)
...
...
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