summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-04 13:44:08 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-04 13:44:08 +0800
commitb2c08c88e76f49c29a260fd72fd8f00577fbfb68 (patch)
tree3f898952e8fdc1db0b9e1973ca39c8ee82577934
parent9859c6703c37ac408620a22d63801bd4f896fe4c (diff)
downloadpttbbs-b2c08c88e76f49c29a260fd72fd8f00577fbfb68.tar
pttbbs-b2c08c88e76f49c29a260fd72fd8f00577fbfb68.tar.gz
pttbbs-b2c08c88e76f49c29a260fd72fd8f00577fbfb68.tar.bz2
pttbbs-b2c08c88e76f49c29a260fd72fd8f00577fbfb68.tar.lz
pttbbs-b2c08c88e76f49c29a260fd72fd8f00577fbfb68.tar.xz
pttbbs-b2c08c88e76f49c29a260fd72fd8f00577fbfb68.tar.zst
pttbbs-b2c08c88e76f49c29a260fd72fd8f00577fbfb68.zip
- comments: better not use Ctrl-O as hotkey. UNIX does not send ^O by default.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3783 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c2
-rw-r--r--mbbsd/edit.c2
-rw-r--r--mbbsd/mail.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 2e719862..936267b8 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -3662,7 +3662,7 @@ const onekey_t read_comms[] = {
{ 0, NULL }, // Ctrl('L')
{ 0, NULL }, // Ctrl('M')
{ 0, b_moved_to_config }, // Ctrl('N')
- { 0, do_post_openbid }, // Ctrl('O')
+ { 0, do_post_openbid }, // Ctrl('O') // BETTER NOT USE ^O - UNIX not work
{ 0, do_post }, // Ctrl('P')
{ 0, NULL }, // Ctrl('Q')
{ 0, NULL }, // Ctrl('R')
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index 710406c2..8b9c90bf 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -3364,8 +3364,8 @@ vedit2(char *fpath, int saveheader, int *islocal, int flags)
case Ctrl('A'):
curr_buf->currpnt = 0;
break;
+ case Ctrl('O'): // better not use ^O - UNIX not sending.
case KEY_INS: /* Toggle insert/overwrite */
- case Ctrl('O'):
if (has_block_selection() && curr_buf->insert_mode) {
char ans[4];
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index 03ff3c96..a9f4f9d7 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -1659,7 +1659,7 @@ static const onekey_t mail_comms[] = {
{ 0, NULL }, // Ctrl('L')
{ 0, NULL }, // Ctrl('M')
{ 0, NULL }, // Ctrl('N')
- { 0, NULL }, // Ctrl('O')
+ { 0, NULL }, // Ctrl('O') // DO NOT USE THIS KEY - UNIX not sending
{ 0, NULL }, // Ctrl('P')
{ 0, NULL }, // Ctrl('Q')
{ 0, NULL }, // Ctrl('R')