Comments (3)
Good point about the having to install something on the remote server. It turns out you can use the original Kermit as exactly the lightweight binary that you are looking for that handles the transfers and nothing else. On my system, Debian GNU/Linux 11, I did this:
$ sudo apt install gkermit
$ ls -l /usr/bin/gkermit
-rwxr-xr-x 1 root root 40856 Dec 18 2016 /usr/bin/gkermit
Yes, you read the right: the binary is 40 kilobytes. The only dependency, if you can call it that, is on the standard C library.
The Kermit Project updated gkermit recently to version 2.00 so it compiles cleanly on any modern UNIX system.
To add the Kermit protocol to your Kermit, the Kermit Project offers embedable C code that provides two functions, one for sending and one for receiving.
from kermit.
Surely an interesting idea! I will probably look into it in more detail when I have more time to work on this project.
from kermit.
Hello! Sorry for the late reply. It seems like this is project is pretty low on my priority list although I use it on a daily basis 😄
it would be nice if this new Kermit made a nod to the old.
I totally agree 🐸
For example, it would be cool if it could handle file transfers, which was the primary use of Kermit. For example, if a person using your terminal program sshes from machine to machine and then realizes there's a file they want to send from that remote server to their local computer, they could just run:
$ kermit -s foo
and, hey presto, via the magic of Kermit,
foo
is now on their computer. (Thekermit
command in this example is available on most Unix systems when you install the ckermit package).What do you think?
It sounds like a good use-case for kermit. However, I should probably look into the actual kermit and its implementation details before doing something like this. Also for this specific example, the user also needs to install kermit on the remote server which might need a bunch of heavy packages like gtk3 and such. Maybe this can be solved with a lightweight binary that just runs as a "middle man" and handles the transfers?
from kermit.
Related Issues (17)
- Themeing HOT 10
- -e option not work HOT 3
- Wrong syntax highlighting HOT 8
- Vim launches with black screen. HOT 3
- Color difference HOT 1
- Cursor shape option HOT 2
- Option to open a command in a new tab or in a new window HOT 3
- initial terminal size HOT 1
- "Smart" Copy HOT 1
- Cmake does not install manpage
- -t option not working with zsh as default $SHELL HOT 1
- Feature Request: Open new window in current PWD HOT 5
- Cloning the terminal does not work for bash
- `exit` or `ctrl-d` closes the whole k3rmit window, instead of just closing the tab HOT 10
- Let Control+W pass through HOT 4
- Title option crashes terminal HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kermit.