Re:Using LD_PRELOAD to cheat, inject features and investigat...
by thomasballinger on Monday December 04, 2017 @11:19AM
(#15844976)
Here's an idea that I like (so much that I wrote an implementation): use LD_PRELOAD to swap out readline with version that forks on each input. Kill the forked child process and you have undo! https://github.com/thomasballinger/rlundo
post: http://ballingt.com/interactive-interpreter-undo/#hacking-fo...
[ Parent
| on HN ]
There are no comments on this comment yet.