2 ms·
To get readline, I use socat instead of rlwrap. The later feels more sluggish. I learned about the sam port with the -d option from you, so thanks for that.
by 1vuio0pswjnm7 4y ago
To get readline, I use socat instead of rlwrap. The later feels more sluggish.
I learned about the sam port with the -d option from you, so thanks for that.
- marttt 4y agoYes, I remember testing socat as well for that purpose, and it worked great. Since I didn't have much other use for it at that point, I still went with rlwrap in the end. I imagine you can really do a lot with socat, though. An impressive tool. As for sam, the 9front version has a few additions (_ and ^) that make it quicker to manipulate the selected range with commands in sam's language that are stored in an external file [1]. Too bad this isn't included out of the box in the Unix versions. When one is using sam -d, this would give a more streamlined workflow for more complex editing tasks (no need to write external scripts in another language, sed, awk, etc). There was a 9front sam port for Unix somewhere as well, though, but I haven't tried to build it. 1: http://man.9front.org/1/sam http://man.9front.org/1/sam