From 8012c1e5d20cc11944dfa2af02e4779f8409b499 Mon Sep 17 00:00:00 2001 From: piaip Date: Sat, 19 Apr 2008 12:52:07 +0000 Subject: - move set_bottom (old ctrl-z) to ctrl-x. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4206 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 4 ++-- mbbsd/read.c | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'mbbsd') diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 935d83e9..fdce8fe5 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -3949,9 +3949,9 @@ const onekey_t read_comms[] = { { 0, NULL }, // Ctrl('U') { 0, do_post_vote }, // Ctrl('V') { 0, whereami }, // Ctrl('W') - { 0, NULL }, // Ctrl('X') + { 1, push_bottom }, // Ctrl('X') { 0, NULL }, // Ctrl('Y') - { 1, push_bottom }, // Ctrl('Z') 26 + { 0, NULL }, // Ctrl('Z') 26 // 現在給 ZA 用。 { 0, NULL }, { 0, NULL }, { 0, NULL }, { 0, NULL }, { 0, NULL }, { 0, NULL }, { 0, NULL }, { 0, NULL }, { 0, NULL }, { 0, NULL }, { 1, recommend }, // '%' (m3itoc style) diff --git a/mbbsd/read.c b/mbbsd/read.c index 7c3b2ff0..5a2edc22 100644 --- a/mbbsd/read.c +++ b/mbbsd/read.c @@ -665,6 +665,10 @@ i_read_key(const onekey_t * rcmdlist, keeploc_t * locmem, new_top = 10; // default 10 switch (ch) { case Ctrl('Z'): + // notify new usage + move(b_lines-1, 0); clrtoeol(); + outs(ANSI_COLOR(1;33) "置底的功\能鍵已改為 Ctrl-X。" + "原 Ctrl-Z 現在是快速切換鍵,可在下列區域中切換:" ANSI_RESET); mode = FULLUPDATE; if (ZA_Select()) mode = DOQUIT; -- cgit v1.2.3