Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit bb21339d authored by deuce's avatar deuce
Browse files

Add some XTerm (and now SyncTERM) F-key sequences

parent 44d6241b
...@@ -149,6 +149,15 @@ static tODKeySequence ODaKeySequences[] = ...@@ -149,6 +149,15 @@ static tODKeySequence ODaKeySequences[] =
{"\033[23~", ANSI_KEY_F11}, {"\033[23~", ANSI_KEY_F11},
{"\033[24~", ANSI_KEY_F12}, {"\033[24~", ANSI_KEY_F12},
/* XTerm specific control sequences */
{"\033[15~", ANSI_KEY_F5},
/* Old, deprecated XTerm specific control sequences */
{"\033[11~", ANSI_KEY_F1},
{"\033[12~", ANSI_KEY_F2},
{"\033[13~", ANSI_KEY_F3},
{"\033[14~", ANSI_KEY_F4},
/* ANSI-specific control sequences. */ /* ANSI-specific control sequences. */
{"\033[L", ANSI_KEY_HOME}, {"\033[L", ANSI_KEY_HOME},
{"\033Ow", ANSI_KEY_F3}, {"\033Ow", ANSI_KEY_F3},
......
...@@ -105,6 +105,15 @@ tODKeySequence aKeySequences[] = ...@@ -105,6 +105,15 @@ tODKeySequence aKeySequences[] =
{"\033[23~", OD_KEY_F11, FALSE}, {"\033[23~", OD_KEY_F11, FALSE},
{"\033[24~", OD_KEY_F12, FALSE}, {"\033[24~", OD_KEY_F12, FALSE},
/* XTerm specific control sequences */
{"\033[15~", OD_KEY_F5},
/* Old, deprecated XTerm specific control sequences */
{"\033[11~", OD_KEY_F1},
{"\033[12~", OD_KEY_F2},
{"\033[13~", OD_KEY_F3},
{"\033[14~", OD_KEY_F4},
/* ANSI-specific control sequences. */ /* ANSI-specific control sequences. */
{"\033[L", OD_KEY_HOME, FALSE}, {"\033[L", OD_KEY_HOME, FALSE},
{"\033Ow", OD_KEY_F3, FALSE}, {"\033Ow", OD_KEY_F3, FALSE},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment