tokuhirom / Caroline

Yet another line editing library for Perl5
https://metacpan.org/module/Caroline
Other
14 stars 3 forks source link

Terminal hotkeys #11

Open disarmer opened 11 years ago

disarmer commented 11 years ago

Terminal hotkeys (like control+Z, control+) doesn't work: it inserts unprintable symbol instead.

tokuhirom commented 11 years ago

Hm? What did you expected? Suspend a process?

disarmer commented 11 years ago

Yes, this shortkeys send various UNIX signals to active process: control+C=SIGINT control+Z=SIGSTOP control+\=SIGKILL control+S,control+Q=stop/resume output

http://web.cecs.pdx.edu/~rootd/catdoc/guide/TheGuide_38.html

tokuhirom commented 11 years ago

Ah, Okay, could you send me a patch? I think the ctrl-c code was already implemented... iirc.

disarmer commented 11 years ago

ok, i'll fork and try to implement this