Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify cunbatch, c7unbatch, decode and encode in documentation #223

Open
Julien-Elie opened this issue Dec 19, 2021 · 4 comments
Open

Clarify cunbatch, c7unbatch, decode and encode in documentation #223

Julien-Elie opened this issue Dec 19, 2021 · 4 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation P: low Low priority
Milestone

Comments

@Julien-Elie
Copy link
Contributor

When to use cunbatch / c7unbatch is not clear for rnews and send-uucp. Why both programs? And when the decode and encode utilities are used?

@Julien-Elie Julien-Elie added bug Something isn't working documentation Improvements or additions to documentation P: low Low priority labels Dec 19, 2021
@rra
Copy link
Contributor

rra commented Dec 19, 2021

cunbatch uses old-school compress (.Z) compression instead of gzip. It's probably thoroughly obsolete, but old commercial UNIX versions used to not have gzip.

c7unbatch is the same but it uses a 7-bit encoding, intended for transmission of articles over channels that aren't 8-bit clean. I think it uses some bespoke custom encoding rather than anything standard, but it's essentially the same idea as base64. decode and encode handle that encoding.

Chances are very good that all this stuff is obsolete. I don't think there are any systems that only have compress and not gzip these days, nor do I think there are any transport mechanisms used even for UUCP that aren't 8-bit clean. That said, it's possible someone is still using cunbatch because it used to be the default and you can configure gzip to understand it.

@Julien-Elie Julien-Elie added this to the 2.7.1 milestone Apr 17, 2022
@Julien-Elie Julien-Elie modified the milestones: 2.7.1, 2.8.0 Dec 24, 2022
@Julien-Elie
Copy link
Contributor Author

We may then be able to just declare c7unbatch obsolete, and remove the decode, encode and c7unbatch stuff in a future major INN release.

And I also propose to remove cunbatch at the same time as c7unbatch.

@mburmester
Copy link

There are situations when these are needed, like when feeding old bbs systems or things like crosspoint on MS-DOS. You can of course argue that thats all old and obsolete technology, but then again uucp is not the freshest thing ever but still comes in handy sometimes.

@Julien-Elie
Copy link
Contributor Author

Thanks for your feedback @mburmester.
I'll then just add a note in the send-uucp documentation to explain their still possible use cases in some rare and obsolete situations.

@Julien-Elie Julien-Elie modified the milestones: 2.8.0, 2.7.3 Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation P: low Low priority
Development

No branches or pull requests

3 participants