summaryrefslogtreecommitdiffstats
path: root/konsole/tests/main.c
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:10:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:10:07 +0000
commitfd3a982e26813f5bcc82c7e89ce6fa2ad44432bf (patch)
tree9eda848e56fcb862fdfdf479adeccd95b6fe387a /konsole/tests/main.c
parent02f67d0e1355b79b1806746efb0f2f640e57f13d (diff)
downloadtdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.tar.gz
tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konsole/tests/main.c')
-rw-r--r--konsole/tests/main.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/konsole/tests/main.c b/konsole/tests/main.c
index 87a288056..c80b0426c 100644
--- a/konsole/tests/main.c
+++ b/konsole/tests/main.c
@@ -534,7 +534,7 @@ tst_keyboard() {
- DECKPAM (Keypad Application Mode)
- DECKPNM (Keypad Numeric Mode)
-The standard VT100 keayboard tqlayout:
+The standard VT100 keayboard layout:
UP DN LE RI
@@ -562,7 +562,7 @@ TAB* qQ wW eE rR tT yY uU iI oO pP [{ ]} DEL
char *ledmsg[6], *ledseq[6];
int i, j, okflag;
- int kbtqlayout;
+ int kblayout;
int ckeymode;
int fkeymode;
char kbdc;
@@ -768,10 +768,10 @@ TAB* qQ wW eE rR tT yY uU iI oO pP [{ ]} DEL
};
static char *keyboardmenu[] = {
- "Standard American ASCII tqlayout",
- "Swedish national tqlayout D47",
- "Swedish national tqlayout E47",
- /* add new keyboard tqlayouts here */
+ "Standard American ASCII layout",
+ "Swedish national layout D47",
+ "Swedish national layout E47",
+ /* add new keyboard layouts here */
""
};
@@ -833,16 +833,16 @@ TAB* qQ wW eE rR tT yY uU iI oO pP [{ ]} DEL
ed(2);
cup(5,10);
- println("Choose keyboard tqlayout:");
- kbtqlayout = menu(keyboardmenu);
- if (kbtqlayout) {
- kbtqlayout--;
- for (j = 0; natkeytab[kbtqlayout][j].natc != '\0'; j++) {
+ println("Choose keyboard layout:");
+ kblayout = menu(keyboardmenu);
+ if (kblayout) {
+ kblayout--;
+ for (j = 0; natkeytab[kblayout][j].natc != '\0'; j++) {
for (i = 0; keytab[i].c != '\0'; i++) {
- if (keytab[i].row == natkeytab[kbtqlayout][j].natrow &&
- keytab[i].col == natkeytab[kbtqlayout][j].natcol) {
- keytab[i].c = natkeytab[kbtqlayout][j].natc;
- keytab[i].symbol = natkeytab[kbtqlayout][j].natsymbol;
+ if (keytab[i].row == natkeytab[kblayout][j].natrow &&
+ keytab[i].col == natkeytab[kblayout][j].natcol) {
+ keytab[i].c = natkeytab[kblayout][j].natc;
+ keytab[i].symbol = natkeytab[kblayout][j].natsymbol;
break;
}
}
@@ -1102,7 +1102,7 @@ tst_reports() {
/* Test of:
<ENQ> (AnswerBack Message)
SM RM (Set/Reset Mode) - LineFeed / Newline
- DSR (Device tqStatus Report)
+ DSR (Device Status Report)
DA (Device Attributes)
DECREQTPARM (Request Terminal Parameters)
*/
@@ -1204,7 +1204,7 @@ tst_reports() {
ed(2);
cup(1,1);
- printf("Test of Device tqStatus Report 5 (report terminal status).");
+ printf("Test of Device Status Report 5 (report terminal status).");
cup(2,1);
dsr(5);
report = instr();
@@ -1217,7 +1217,7 @@ tst_reports() {
else printf(" -- Unknown response!");
cup(4,1);
- println("Test of Device tqStatus Report 6 (report cursor position).");
+ println("Test of Device Status Report 6 (report cursor position).");
cup(5,1);
dsr(6);
report = instr();
@@ -1445,7 +1445,7 @@ tst_vt52() {
tst_insdel() {
/* Test of:
- SM/RM(4) (= IRM (Insertion/tqreplacement mode))
+ SM/RM(4) (= IRM (Insertion/replacement mode))
ICH (Insert Character)
DCH (Delete character)
IL (Insert line)