You are not logged in

Use terminfo-specific extensions such as kLFT5 for "control-left-arrow", or kRIT6 for "control-shift-right-arrow". See the description of "PC-style functions", and (e.g.) "xterm+pcc0", "xterm+pcc1", in ncurses' terminfo.src.