summaryrefslogtreecommitdiffstats
path: root/src/windows/wintel/screen.h
diff options
context:
space:
mode:
authorRichard Basch <probe@mit.edu>1997-02-06 02:31:41 +0000
committerRichard Basch <probe@mit.edu>1997-02-06 02:31:41 +0000
commita0b9ce4bee60136363cfff7a93c4e42eab972c02 (patch)
tree400984337fe3766653ff4cc2cb6b7d3d7f87f3f4 /src/windows/wintel/screen.h
parenta9266b1dec31de9f33b0d032b885edd377a23ee5 (diff)
downloadkrb5-a0b9ce4bee60136363cfff7a93c4e42eab972c02.tar.gz
krb5-a0b9ce4bee60136363cfff7a93c4e42eab972c02.tar.xz
krb5-a0b9ce4bee60136363cfff7a93c4e42eab972c02.zip
Windows/NT integration (V1_0_WIN32_BRANCH merge)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9788 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/wintel/screen.h')
-rw-r--r--src/windows/wintel/screen.h56
1 files changed, 30 insertions, 26 deletions
diff --git a/src/windows/wintel/screen.h b/src/windows/wintel/screen.h
index 60618f7b6..bc4267b33 100644
--- a/src/windows/wintel/screen.h
+++ b/src/windows/wintel/screen.h
@@ -40,7 +40,7 @@ extern long FAR PASCAL ScreenWndProc(HWND,UINT,WPARAM,LPARAM);
#define TAB_SPACES 8
#define SPACE 32
#define ALERT 0x21
-#define MAX_LINE_WIDTH 256 /* not restricted to 1 byte */
+#define MAX_LINE_WIDTH 512 /* not restricted to 1 byte */
typedef struct SCREENLINE {
struct SCREENLINE *next;
@@ -63,32 +63,32 @@ typedef struct SCREEN {
int type;
int width;
int height;
- int maxlines; // Maximum number of scrollback lines
- int numlines; // Current number of scrollback lines
- int savelines; // Save lines off top?
- int ESscroll; // Scroll screen when ES received
- int attrib; // current attribute
- int x; // current cursor position
- int y; // current cursor position
- int Oldx; // internally used to redraw cursor
+ int maxlines; /* Maximum number of scrollback lines */
+ int numlines; /* Current number of scrollback lines */
+ int savelines; /* Save lines off top? */
+ int ESscroll; /* Scroll screen when ES received */
+ int attrib; /* current attribute */
+ int x; /* current cursor position */
+ int y; /* current cursor position */
+ int Oldx; /* internally used to redraw cursor */
int Oldy;
- int Px; // saved cursor pos and attribute
+ int Px; /* saved cursor pos and attribute */
int Py;
int Pattrib;
- int VSIDC; // Insert/Delete character mode 0=draw line
- int DECAWM; // AutoWrap mode 0=off
- BOOL bWrapPending; // AutoWrap mode is on - wrap on next character
- int DECCKM; // Cursor key mode
- int DECPAM; // keyPad Application mode
- int IRM; // Insert/Replace mode
- int escflg; // Current Escape level
- int top; // Vertical bounds of screen
+ int VSIDC; /* Insert/Delete character mode 0=draw line */
+ int DECAWM; /* AutoWrap mode 0=off */
+ BOOL bWrapPending; /* AutoWrap mode is on - wrap on next character */
+ int DECCKM; /* Cursor key mode */
+ int DECPAM; /* keyPad Application mode */
+ int IRM; /* Insert/Replace mode */
+ int escflg; /* Current Escape level */
+ int top; /* Vertical bounds of screen */
int bottom;
int parmptr;
- int cxChar; // Width of the current font
- int cyChar; // Height of the current font
+ int cxChar; /* Width of the current font */
+ int cyChar; /* Height of the current font */
BOOL bAlert;
- int parms[6]; // Ansi Params
+ int parms[6]; /* Ansi Params */
LOGFONT lf;
HFONT hSelectedFont;
HFONT hSelectedULFont;
@@ -104,12 +104,12 @@ typedef struct CONFIG {
int type;
int height;
int width;
- int maxlines; // Maximum number of scrollback lines
+ int maxlines; /* Maximum number of scrollback lines */
int backspace;
- int ESscroll; // Scroll screen when ES received
- int VSIDC; // Insert/Delete character mode 0=draw line
- int DECAWM; // AutoWrap mode 0=off
- int IRM; // Insert/Replace mode
+ int ESscroll; /* Scroll screen when ES received */
+ int VSIDC; /* Insert/Delete character mode 0=draw line */
+ int DECAWM; /* AutoWrap mode 0=off */
+ int IRM; /* Insert/Replace mode */
} CONFIG;
#define TELNET_SCREEN 0
@@ -119,6 +119,10 @@ typedef struct CONFIG {
#define IDM_BACKSPACE 101
#define IDM_DELETE 102
#define IDM_ABOUT 103
+#define IDM_HELP_INDEX 104
+#define IDM_EXIT 105
+
+#define HELP_FILE "ktelnet.hlp"
#define IDM_COPY 200
#define IDM_PASTE 201