-rw-r--r-- | noncore/apps/opie-console/vt102emulation.cpp | 2 | ||||
-rw-r--r-- | noncore/apps/opie-console/vt102emulation.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/vt102emulation.cpp b/noncore/apps/opie-console/vt102emulation.cpp index 7eecef3..0ebefa0 100644 --- a/noncore/apps/opie-console/vt102emulation.cpp +++ b/noncore/apps/opie-console/vt102emulation.cpp | |||
@@ -3,49 +3,49 @@ | |||
3 | /* [vt102emulation.cpp] VT102 Terminal Emulation */ | 3 | /* [vt102emulation.cpp] VT102 Terminal Emulation */ |
4 | /* */ | 4 | /* */ |
5 | /* ------------------------------------------------------------------------- */ | 5 | /* ------------------------------------------------------------------------- */ |
6 | /* */ | 6 | /* */ |
7 | /* Copyright (c) 1997,1998 by Lars Doelle <lars.doelle@on-line.de> */ | 7 | /* Copyright (c) 1997,1998 by Lars Doelle <lars.doelle@on-line.de> */ |
8 | /* */ | 8 | /* */ |
9 | /* This file is part of Konsole - an X terminal for KDE */ | 9 | /* This file is part of Konsole - an X terminal for KDE */ |
10 | /* */ | 10 | /* */ |
11 | /* ------------------------------------------------------------------------- */ | 11 | /* ------------------------------------------------------------------------- */ |
12 | /* */ | 12 | /* */ |
13 | /* Ported Konsole to Qt/Embedded */ | 13 | /* Ported Konsole to Qt/Embedded */ |
14 | /* */ | 14 | /* */ |
15 | /* Copyright (C) 2000 by John Ryland <jryland@trolltech.com> */ | 15 | /* Copyright (C) 2000 by John Ryland <jryland@trolltech.com> */ |
16 | /* */ | 16 | /* */ |
17 | /* -------------------------------------------------------------------------- */ | 17 | /* -------------------------------------------------------------------------- */ |
18 | 18 | ||
19 | /*! \class Vt102Emulation | 19 | /*! \class Vt102Emulation |
20 | 20 | ||
21 | \brief Actual Emulation for Konsole | 21 | \brief Actual Emulation for Konsole |
22 | 22 | ||
23 | \sa Widget \sa Screen \sa EmulationLayer | 23 | \sa Widget \sa Screen \sa EmulationLayer |
24 | */ | 24 | */ |
25 | 25 | ||
26 | #include "vt102emulation.h" | 26 | #include "vt102emulation.h" |
27 | #include "widget.h" | 27 | #include "widget_layer.h" |
28 | #include "screen.h" | 28 | #include "screen.h" |
29 | #include "keytrans.h" | 29 | #include "keytrans.h" |
30 | 30 | ||
31 | #include <stdio.h> | 31 | #include <stdio.h> |
32 | #include <unistd.h> | 32 | #include <unistd.h> |
33 | #include <qkeycode.h> | 33 | #include <qkeycode.h> |
34 | #include <qtextcodec.h> | 34 | #include <qtextcodec.h> |
35 | 35 | ||
36 | 36 | ||
37 | /* VT102 Terminal Emulation | 37 | /* VT102 Terminal Emulation |
38 | 38 | ||
39 | This class puts together the screens, the pty and the widget to a | 39 | This class puts together the screens, the pty and the widget to a |
40 | complete terminal emulation. Beside combining it's componentes, it | 40 | complete terminal emulation. Beside combining it's componentes, it |
41 | handles the emulations's protocol. | 41 | handles the emulations's protocol. |
42 | 42 | ||
43 | This module consists of the following sections: | 43 | This module consists of the following sections: |
44 | 44 | ||
45 | - Constructor/Destructor | 45 | - Constructor/Destructor |
46 | - Incoming Bytes Event pipeline | 46 | - Incoming Bytes Event pipeline |
47 | - Outgoing Bytes | 47 | - Outgoing Bytes |
48 | - Mouse Events | 48 | - Mouse Events |
49 | - Keyboard Events | 49 | - Keyboard Events |
50 | - Modes and Charset State | 50 | - Modes and Charset State |
51 | - Diagnostics | 51 | - Diagnostics |
diff --git a/noncore/apps/opie-console/vt102emulation.h b/noncore/apps/opie-console/vt102emulation.h index de4a62f..17ab449 100644 --- a/noncore/apps/opie-console/vt102emulation.h +++ b/noncore/apps/opie-console/vt102emulation.h | |||
@@ -3,49 +3,49 @@ | |||
3 | /* [TEmuVt102.h] X Terminal Emulation */ | 3 | /* [TEmuVt102.h] X Terminal Emulation */ |
4 | /* */ | 4 | /* */ |
5 | /* -------------------------------------------------------------------------- */ | 5 | /* -------------------------------------------------------------------------- */ |
6 | /* */ | 6 | /* */ |
7 | /* Copyright (c) 1997,1998 by Lars Doelle <lars.doelle@on-line.de> */ | 7 | /* Copyright (c) 1997,1998 by Lars Doelle <lars.doelle@on-line.de> */ |
8 | /* */ | 8 | /* */ |
9 | /* This file is part of Konsole - an X terminal for KDE */ | 9 | /* This file is part of Konsole - an X terminal for KDE */ |
10 | /* */ | 10 | /* */ |
11 | /* -------------------------------------------------------------------------- */ | 11 | /* -------------------------------------------------------------------------- */ |
12 | /* */ | 12 | /* */ |
13 | /* Ported Konsole to Qt/Embedded */ | 13 | /* Ported Konsole to Qt/Embedded */ |
14 | /* */ | 14 | /* */ |
15 | /* Copyright (C) 2000 by John Ryland <jryland@trolltech.com> */ | 15 | /* Copyright (C) 2000 by John Ryland <jryland@trolltech.com> */ |
16 | /* */ | 16 | /* */ |
17 | /* -------------------------------------------------------------------------- */ | 17 | /* -------------------------------------------------------------------------- */ |
18 | /* Ported embedded-konsole to opie-terminal */ | 18 | /* Ported embedded-konsole to opie-terminal */ |
19 | /* */ | 19 | /* */ |
20 | /* Copyright (C) 2002 by opie developers <opie@handhelds.org> */ | 20 | /* Copyright (C) 2002 by opie developers <opie@handhelds.org> */ |
21 | /* */ | 21 | /* */ |
22 | /* -------------------------------------------------------------------------- */ | 22 | /* -------------------------------------------------------------------------- */ |
23 | 23 | ||
24 | #ifndef VT102EMU_H | 24 | #ifndef VT102EMU_H |
25 | #define VT102EMU_H | 25 | #define VT102EMU_H |
26 | 26 | ||
27 | #include "widget.h" | 27 | #include "widget_layer.h" |
28 | #include "screen.h" | 28 | #include "screen.h" |
29 | #include "emulation_layer.h" | 29 | #include "emulation_layer.h" |
30 | #include <qtimer.h> | 30 | #include <qtimer.h> |
31 | #include <stdio.h> | 31 | #include <stdio.h> |
32 | 32 | ||
33 | // | 33 | // |
34 | 34 | ||
35 | #define MODE_AppScreen (MODES_SCREEN+0) | 35 | #define MODE_AppScreen (MODES_SCREEN+0) |
36 | #define MODE_AppCuKeys (MODES_SCREEN+1) | 36 | #define MODE_AppCuKeys (MODES_SCREEN+1) |
37 | #define MODE_AppKeyPad (MODES_SCREEN+2) | 37 | #define MODE_AppKeyPad (MODES_SCREEN+2) |
38 | #define MODE_Mouse1000 (MODES_SCREEN+3) | 38 | #define MODE_Mouse1000 (MODES_SCREEN+3) |
39 | #define MODE_Ansi (MODES_SCREEN+4) | 39 | #define MODE_Ansi (MODES_SCREEN+4) |
40 | #define MODE_total (MODES_SCREEN+5) | 40 | #define MODE_total (MODES_SCREEN+5) |
41 | 41 | ||
42 | struct DECpar | 42 | struct DECpar |
43 | { | 43 | { |
44 | BOOL mode[MODE_total]; | 44 | BOOL mode[MODE_total]; |
45 | }; | 45 | }; |
46 | 46 | ||
47 | struct CharCodes | 47 | struct CharCodes |
48 | { | 48 | { |
49 | // coding info | 49 | // coding info |
50 | char charset[4]; // | 50 | char charset[4]; // |
51 | int cu_cs; // actual charset. | 51 | int cu_cs; // actual charset. |