C For C's Sake

Results 200 comments of C For C's Sake

@hannesm yes! I had a package on the drawing board that would in the spirit of "best effort" call `mlockall()`/(`mlock()` on as much as possible) as well as hook the...

What's the status on this one, is it still part of a release plan?

kindly bumping :-)

For now, I'm using: ``` bash #!/bin/bash -eu echo "Usage: $0 [server.org] [username] [password] | openssl s_client -starttls xmpp -connect [server]:5222" 1>&2 server="$1" username="$2" password="$3" cat

@lix ah, interesting. It does indeed sound like `notty` doesn't handle `repeat_char` aka `rep` aka `rp` from your client. Could you provide the output of these commands: ```shell echo "$TERM"...

I checked the code for notty, the `let csi` function does not parse the `xterm` repeat_char, and for osx it seems to not be defined, which makes me wonder what...

@Iix Pasting *should* be handled by `notty`, at least it works pretty well for me on Linux. I'm sorry, it's tricky for me to investigate, but I'll try to look...

Maybe that could be a setting for the user to specify? How about fetching extra history if the user scrolls up? Is that going to be messy?

Alternatively you can use `ctrl-q` to get rid of them one at a time (faster than typing `/readall`).

@yallop Oh, ok. That sounds sensible. I have no idea how to proceed with that, but I hope that the information below can help you figure out what's going on....