summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-19 20:52:07 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-19 20:52:07 +0800
commit8012c1e5d20cc11944dfa2af02e4779f8409b499 (patch)
tree68aad1f4bdb242e2e1f0c51e3fed802f7537ac05
parent1c3f11034b11cb841f6188841d4b1222314d5757 (diff)
downloadpttbbs-8012c1e5d20cc11944dfa2af02e4779f8409b499.tar
pttbbs-8012c1e5d20cc11944dfa2af02e4779f8409b499.tar.gz
pttbbs-8012c1e5d20cc11944dfa2af02e4779f8409b499.tar.bz2
pttbbs-8012c1e5d20cc11944dfa2af02e4779f8409b499.tar.lz
pttbbs-8012c1e5d20cc11944dfa2af02e4779f8409b499.tar.xz
pttbbs-8012c1e5d20cc11944dfa2af02e4779f8409b499.tar.zst
pttbbs-8012c1e5d20cc11944dfa2af02e4779f8409b499.zip
- 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
-rw-r--r--mbbsd/bbs.c4
-rw-r--r--mbbsd/read.c4
2 files changed, 6 insertions, 2 deletions
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;