Dne 13.07.2015 19:45, Chet Ramey napsal:

Have you tried defining a macro and binding it to the key sequence you
want? Something like:

bind '"C-xp":"e80C-b"'

where `80' is replaced by your current screen width.

Thank you. I have tried

bind '"\C-xp":"\e'$COLUMNS'\C-b"'
bind '"\C-xn":"\e'$COLUMNS'\C-f"'

It works. But in other programs, like psql client to PostgreSQL, there is no bind command and probably no script called after window size has changed.

Regards,
Hans

_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to