summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--AUTHORS3
-rw-r--r--COPYING2
-rw-r--r--README.RELEASE (renamed from README)0
-rw-r--r--help/kinsole.cnt4
-rw-r--r--help/kinsole.rtf18
-rw-r--r--help/kinsole.xml16
-rw-r--r--install/install.cpp16
-rw-r--r--install/install.rc10
-rw-r--r--kinsole.cpp6
-rw-r--r--kinsole.mak50
-rw-r--r--kinsole.rc10
11 files changed, 87 insertions, 48 deletions
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..a9fb0c7
--- a/dev/null
+++ b/AUTHORS
@@ -0,0 +1,3 @@
1Klever dissected:
2 Michael 'hacker' Krelin <hacker@klever.net>
3 Leonid Ivanov <kamel@klever.net>
diff --git a/COPYING b/COPYING
index 997e508..9abe63f 100644
--- a/COPYING
+++ b/COPYING
@@ -1,19 +1,19 @@
1Copyright (c) 1998, 2002 Klever Group (http://www.klever.net/) 1Copyright (c) 1998-2004 Klever Group (http://www.klever.net/)
2 2
3Permission is hereby granted, free of charge, to any person obtaining a copy of 3Permission is hereby granted, free of charge, to any person obtaining a copy of
4this software and associated documentation files (the "Software"), to deal in 4this software and associated documentation files (the "Software"), to deal in
5the Software without restriction, including without limitation the rights to 5the Software without restriction, including without limitation the rights to
6use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 6use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7of the Software, and to permit persons to whom the Software is furnished to do 7of the Software, and to permit persons to whom the Software is furnished to do
8so, subject to the following conditions: 8so, subject to the following conditions:
9 9
10The above copyright notice and this permission notice shall be included in all 10The above copyright notice and this permission notice shall be included in all
11copies or substantial portions of the Software. 11copies or substantial portions of the Software.
12 12
13THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 13THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 14IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 15FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 16AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 17LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 18OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19SOFTWARE. 19SOFTWARE.
diff --git a/README b/README.RELEASE
index 9bbcbe8..9bbcbe8 100644
--- a/README
+++ b/README.RELEASE
diff --git a/help/kinsole.cnt b/help/kinsole.cnt
index 9a8af90..a30e9b7 100644
--- a/help/kinsole.cnt
+++ b/help/kinsole.cnt
@@ -1,9 +1,9 @@
1:Base KINSole.hlp>Standard 1:Base KINSole.hlp>Standard
2:Title KINSole 2:Title KINSole
31 KINSole 31 KINSole
42 About KINSole=About 42 About KINSole=About
52 Using KINSole=Using 52 Using KINSole=Using
62 Command Line Options=CmdOptions 62 Command Line Options=CmdOptions
72 Keyboard Shortcuts=HotKeys 72 Keyboard Shortcuts=HotKeys
82 Beta Notes=BetaNotes 82 Notes=Notes
92 Beta News=News 92 What's New=News
diff --git a/help/kinsole.rtf b/help/kinsole.rtf
index 2cfd296..f0b6c8a 100644
--- a/help/kinsole.rtf
+++ b/help/kinsole.rtf
@@ -1,57 +1,57 @@
1{\rtf1\ansi 1{\rtf1\ansi
2@{\footnote 2@{\footnote
3THIS FILE WAS AUTOMATICALLY GENERATED FROM XML DOCUMENT. 3THIS FILE WAS AUTOMATICALLY GENERATED FROM XML DOCUMENT.
4DO NOT MODIFY THIS FILE DIRECTLY. EDIT XML DOCUMENT INSTEAD 4DO NOT MODIFY THIS FILE DIRECTLY. EDIT XML DOCUMENT INSTEAD
5} 5}
6{\fonttbl{\f0\froman Times New Roman;}{\f1\fswiss Arial;}{\f3\froman Symbol;}}{\colortbl; 6{\fonttbl{\f0\froman Times New Roman;}{\f1\fswiss Arial;}{\f3\froman Symbol;}}{\colortbl;
7 \red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0; 7 \red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;
8 \red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255; 8 \red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;
9 \red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128; 9 \red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;
10 \red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;} 10 \red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}
11 11
12\pard\plain\keepn 12\pard\plain\keepn
13#{\footnote About} 13#{\footnote About}
14${\footnote About KINSole} 14${\footnote About KINSole}
15{ \f1\fs18\b\sb120 About KINSole} 15{ \f1\fs18\b\sb120 About KINSole}
16\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b KINSole} is our {\i Win32} implementation of client side of the {\i telnet} protocol described in details in the {\uldb {\b RFC854}}{\v %!ExecFile("http://www.rfc-editor.org/rfc/rfc854.txt")} and related RFCs (namely {\uldb {\b RFC855}}{\v %!ExecFile("http://www.rfc-editor.org/rfc/rfc855.txt")}, {\uldb {\b RFC857}}{\v %!ExecFile("http://www.rfc-editor.org/rfc/rfc857.txt")}, {\uldb {\b RFC1091}}{\v %!ExecFile("http://www.rfc-editor.org/rfc/rfc1091.txt")}, {\uldb {\b RFC1073}}{\v %!ExecFile("http://www.rfc-editor.org/rfc/rfc1073.txt")}, {\uldb {\b RFC1572}}{\v %!ExecFile("http://www.rfc-editor.org/rfc/rfc1572.txt")} and others). It uses {\i Win32} console and, therefore, can be run both windowed and in fullscreen mode. 16\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b KINSole} is our {\i Win32} implementation of client side of the {\i telnet} protocol described in details in the {\uldb {\b RFC854}}{\v %!ExecFile("http://www.rfc-editor.org/rfc/rfc854.txt")} and related RFCs (namely {\uldb {\b RFC855}}{\v %!ExecFile("http://www.rfc-editor.org/rfc/rfc855.txt")}, {\uldb {\b RFC857}}{\v %!ExecFile("http://www.rfc-editor.org/rfc/rfc857.txt")}, {\uldb {\b RFC1091}}{\v %!ExecFile("http://www.rfc-editor.org/rfc/rfc1091.txt")}, {\uldb {\b RFC1073}}{\v %!ExecFile("http://www.rfc-editor.org/rfc/rfc1073.txt")}, {\uldb {\b RFC1572}}{\v %!ExecFile("http://www.rfc-editor.org/rfc/rfc1572.txt")} and others). It uses {\i Win32} console and, therefore, can be run both windowed and in fullscreen mode.
17\par\sa120\sb120\qj\pard \f1\fs18\sb120 17\par\sa120\sb120\qj\pard \f1\fs18\sb120
18\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b {\i Enjoy!}} 18\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b {\i Enjoy!}}
19{ 19{
20\par\pard\plain\sb360\sa120 \f1\fs16 Copyright (c) 1998, 2002 {\uldb\cf0 Klever Group (http://www.klever.net/)}{\v %!ExecFile("http://www.klever.net/")} 20\par\pard\plain\sb360\sa120 \f1\fs16 Copyright (c) 1998-2004 {\uldb\cf0 Klever Group (http://www.klever.net/)}{\v %!ExecFile("http://www.klever.net/")}
21\par\qj\sb120\sa120Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 21\par\qj\sb120\sa120Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
22\par The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 22\par The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
23\par \sa360 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23\par \sa360 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24} 24}
25\par \sa0\sb120\ql \f1\fs16 Author: {\b\uldb\cf11 Michael Krelin ({\i hacker@klever.net})}{\v %!ExecFile("mailto:hacker@klever.net")} 25\par \sa0\sb120\ql \f1\fs16 Author: {\b\uldb\cf11 Michael Krelin ({\i hacker@klever.net})}{\v %!ExecFile("mailto:hacker@klever.net")}
26\par \sa0\sb0 Fan mail send to {\i\uldb gefilte@klever.net}{\v %!ExecFile("mailto:gefilte@klever.net")} 26\par \sa0\sb0 Fan mail send to {\i\uldb gefilte@klever.net}{\v %!ExecFile("mailto:gefilte@klever.net")}
27\page 27\page
28 28
29\pard\plain\keepn 29\pard\plain\keepn
30#{\footnote News} 30#{\footnote News}
31${\footnote Beta News} 31${\footnote What's new}
32{ \f1\fs18\b\sb120 Beta News} 32{ \f1\fs18\b\sb120 What's New}
33\par\pard\plain\f1\fs24\qc\cf2\b 1.00 Beta 3 - August 19st, 2002 33\par\pard\plain\f1\fs24\qc\cf2\b 1.1 - July 11th, 2004
34\par\pard\plain\fi0\li0\f1\fs18 \bullet No changes in code. License change. 34\par\pard\plain\fi0\li0\f1\fs18 \bullet No changes in code. License change.
35\par\pard\plain\f1\fs24\qc\cf2\b 1.00 Beta 2 - March 7th, 1998 35\par\pard\plain\f1\fs24\qc\cf2\b 1.00 Beta 2 - March 7th, 1998
36\par\pard\plain\fi0\li0\f1\fs18 \bullet Better copying from {\b KINSole} window. 36\par\pard\plain\fi0\li0\f1\fs18 \bullet Better copying from {\b KINSole} window.
37\par\pard\plain\fi0\li0\f1\fs18 \bullet Better handling of cursor position when resizing window. 37\par\pard\plain\fi0\li0\f1\fs18 \bullet Better handling of cursor position when resizing window.
38\par\pard\plain\fi0\li0\f1\fs18 \bullet Sending {\b CR/LF} pair when pressing {\b ENTER}. This is of help when telnetting to non-telnet ports. 38\par\pard\plain\fi0\li0\f1\fs18 \bullet Sending {\b CR/LF} pair when pressing {\b ENTER}. This is of help when telnetting to non-telnet ports.
39\par\pard\plain\fi0\li0\f1\fs18 \bullet Corrected bug, preventing {\b KINSole} from pasting text to remote twice. 39\par\pard\plain\fi0\li0\f1\fs18 \bullet Corrected bug, preventing {\b KINSole} from pasting text to remote twice.
40\par\pard\plain\fi0\li0\f1\fs18 \bullet Improved handling of echoing. Previously {\b KINSole} didn't turn echo off on some systems, namely {\b Solaris}. 40\par\pard\plain\fi0\li0\f1\fs18 \bullet Improved handling of echoing. Previously {\b KINSole} didn't turn echo off on some systems, namely {\b Solaris}.
41\par\pard\plain\fi0\li0\f1\fs18 \bullet Typo causing {\b KINSole} not to show diamond characters in {\b VT10x} mode corrected. 41\par\pard\plain\fi0\li0\f1\fs18 \bullet Typo causing {\b KINSole} not to show diamond characters in {\b VT10x} mode corrected.
42\par\pard\plain\fi0\li0\f1\fs18 \bullet {\b GPF} when invoking {\b KINSole} with {\b -t} option fixed. 42\par\pard\plain\fi0\li0\f1\fs18 \bullet {\b GPF} when invoking {\b KINSole} with {\b -t} option fixed.
43\par\pard\plain\fi0\li0\f1\fs18 \bullet Hotkey ({\b Alt-INS}) for copy operation added. Not supposed to work under {\b\cf6 Windows NT}. 43\par\pard\plain\fi0\li0\f1\fs18 \bullet Hotkey ({\b Alt-INS}) for copy operation added. Not supposed to work under {\b\cf6 Windows NT}.
44\par\pard\plain\fi0\li0\f1\fs18 \bullet {\b Paste} is made aware of local echoing. 44\par\pard\plain\fi0\li0\f1\fs18 \bullet {\b Paste} is made aware of local echoing.
45\par\pard\plain\fi0\li0\f1\fs18 \bullet Default terminal type when telnetting to non-telnet port is now {\b TTY}. 45\par\pard\plain\fi0\li0\f1\fs18 \bullet Default terminal type when telnetting to non-telnet port is now {\b TTY}.
46\par\pard\plain\fi0\li0\f1\fs18 \bullet {\b Timing Mark} telnet option ({\uldb {\b RFC860}}{\v %!ExecFile("http://www.rfc-editor.org/rfc/rfc860.txt")}) implemented ({\b Alt-T}). 46\par\pard\plain\fi0\li0\f1\fs18 \bullet {\b Timing Mark} telnet option ({\uldb {\b RFC860}}{\v %!ExecFile("http://www.rfc-editor.org/rfc/rfc860.txt")}) implemented ({\b Alt-T}).
47\par\pard\plain\fi0\li0\f1\fs18 \bullet Improved handling of window icon when starting from other {\i Win32} command line application. 47\par\pard\plain\fi0\li0\f1\fs18 \bullet Improved handling of window icon when starting from other {\i Win32} command line application.
48\page 48\page
49 49
50\pard\plain\keepn 50\pard\plain\keepn
51#{\footnote Using} 51#{\footnote Using}
52${\footnote Using KINSole} 52${\footnote Using KINSole}
53{ \f1\fs18\b\sb120 Using {\b KINSole}} 53{ \f1\fs18\b\sb120 Using {\b KINSole}}
54\par\sa120\sb120\qj\pard \f1\fs18\sb120 You may run {\b KINSole} from your MS-DOS prompt by typing '{\i kinsole host port}'. 54\par\sa120\sb120\qj\pard \f1\fs18\sb120 You may run {\b KINSole} from your MS-DOS prompt by typing '{\i kinsole host port}'.
55\par\sa120\sb120\qj\pard \f1\fs18\sb120 If you need to know more about custom options, please proceed to the {\uldb Command Line Options}{\v CmdOptions} section. 55\par\sa120\sb120\qj\pard \f1\fs18\sb120 If you need to know more about custom options, please proceed to the {\uldb Command Line Options}{\v CmdOptions} section.
56\page 56\page
57 57
@@ -65,33 +65,33 @@ ${\footnote Command Line Options}
65\par \fi0\li0 \bullet {\b -r {\i ##}} or {\b -{\i ##}} - Try to set the number of rows in console screen buffer. 65\par \fi0\li0 \bullet {\b -r {\i ##}} or {\b -{\i ##}} - Try to set the number of rows in console screen buffer.
66\par \fi0\li0 \bullet {\b -c {\i ##}} - Try to set the number of columns in console screenbuffer. 66\par \fi0\li0 \bullet {\b -c {\i ##}} - Try to set the number of columns in console screenbuffer.
67\par \fi0\li0 \bullet 67\par \fi0\li0 \bullet
68\par\sa120\sb120\qj\f1\fs16 Note: Changing of console's screenbuffer size either from command line or on remote host's request (ESC[?3h vt100/vt102 control sequence) may not work when in fullscreen mode. 68\par\sa120\sb120\qj\f1\fs16 Note: Changing of console's screenbuffer size either from command line or on remote host's request (ESC[?3h vt100/vt102 control sequence) may not work when in fullscreen mode.
69\par \fi0\li0 \bullet {\b -l {\i username}} - Pass username to remote server in environment if remote server allows. 69\par \fi0\li0 \bullet {\b -l {\i username}} - Pass username to remote server in environment if remote server allows.
70\par \fi0\li0 \bullet {\b -e {\i var}={\i val}} - Pass environment variable to remote server. 70\par \fi0\li0 \bullet {\b -e {\i var}={\i val}} - Pass environment variable to remote server.
71\par \fi0\li0 \bullet {\b -v {\i var}={\i val}} - Pass user environment variable to remote server. 71\par \fi0\li0 \bullet {\b -v {\i var}={\i val}} - Pass user environment variable to remote server.
72\par \fi0\li0 \bullet {\b -t {\i termtype}} - Change preferred terminal type to pass to remote server. This option does not really force specific terminal emulation. Final decision on terminal type is left up to server. Both sides are supposed to negotiate terminal type when connecting so that both sides may feel satisfied. Default preference is {\b vt102}.\pard 72\par \fi0\li0 \bullet {\b -t {\i termtype}} - Change preferred terminal type to pass to remote server. This option does not really force specific terminal emulation. Final decision on terminal type is left up to server. Both sides are supposed to negotiate terminal type when connecting so that both sides may feel satisfied. Default preference is {\b vt102}.\pard
73\page 73\page
74 74
75\pard\plain\keepn 75\pard\plain\keepn
76#{\footnote HotKeys} 76#{\footnote HotKeys}
77${\footnote Hot Keys} 77${\footnote Hot Keys}
78{ \f1\fs18\b\sb120 Hot Keys} 78{ \f1\fs18\b\sb120 Hot Keys}
79\par\sa120\sb120\qj\pard \f1\fs18\sb120 While running {\b KINSole} you may use these key combinations:\pard 79\par\sa120\sb120\qj\pard \f1\fs18\sb120 While running {\b KINSole} you may use these key combinations:\pard
80\par \fi0\li0 \bullet {\b Alt-X/Alt-Q} - Terminate telnet session and leave {\b KINSole}. 80\par \fi0\li0 \bullet {\b Alt-X/Alt-Q} - Terminate telnet session and leave {\b KINSole}.
81\par \fi0\li0 \bullet {\b Alt-Y} - Send {\b AYT (Are You There)} telnet command. Remote host (if it supports telnet protocol as it's supposed to) should provide you with visible/printable/audible feedback stating that it's alive. You may want to use it when running program which takes unusually long time to finish and you suspect that your connection is dead. 81\par \fi0\li0 \bullet {\b Alt-Y} - Send {\b AYT (Are You There)} telnet command. Remote host (if it supports telnet protocol as it's supposed to) should provide you with visible/printable/audible feedback stating that it's alive. You may want to use it when running program which takes unusually long time to finish and you suspect that your connection is dead.
82\par \fi0\li0 \bullet {\b Shift-INS} Paste text from Windows Clipboard. 82\par \fi0\li0 \bullet {\b Shift-INS} Paste text from Windows Clipboard.
83\par \fi0\li0 \bullet {\b Ctrl-Break} Send {\b IP (Interrupt Process)} telnet command. Usually effectively equivalent to Ctrl-C, but it's up to server to decide what to do in each case. 83\par \fi0\li0 \bullet {\b Ctrl-Break} Send {\b IP (Interrupt Process)} telnet command. Usually effectively equivalent to Ctrl-C, but it's up to server to decide what to do in each case.
84\par \fi0\li0 \bullet {\b Alt-INS} - Invoke {\b copying} from {\b KINSole} screen buffer. 84\par \fi0\li0 \bullet {\b Alt-INS} - Invoke {\b copying} from {\b KINSole} screen buffer.
85\par \fi0\li0 \bullet {\b Alt-T} - Send {\b TIMING-MARK} request. As soon as response comes {\b KINSole} will flash window thrice or beep if window handle is not available for some reason.\pard 85\par \fi0\li0 \bullet {\b Alt-T} - Send {\b TIMING-MARK} request. As soon as response comes {\b KINSole} will flash window thrice or beep if window handle is not available for some reason.\pard
86\page 86\page
87 87
88\pard\plain\keepn 88\pard\plain\keepn
89#{\footnote BetaNotes} 89#{\footnote Notes}
90${\footnote Beta Notes} 90${\footnote Notes}
91{ \f1\fs18\b\sb120 Beta Notes} 91{ \f1\fs18\b\sb120 Notes}
92\par\sa120\sb120\qj\pard \f1\fs18\sb120 A few things you may want to know about this Beta Release:\pard 92\par\sa120\sb120\qj\pard \f1\fs18\sb120 A few things you may want to know about this release:\pard
93\par \fi0\li0 \bullet Only two terminal emulation modules are included in this beta release - one for dumb terminal and one for vt100/102. If you try to select ANSI terminal type vt100 emulation will be selected, which is actually close enough to ANSI so you shouldn't suffer too much. Why would one want to use ANSI terminal emulation, anyway? 93\par \fi0\li0 \bullet Only two terminal emulation modules are included in this release - one for dumb terminal and one for vt100/102. If you try to select ANSI terminal type vt100 emulation will be selected, which is actually close enough to ANSI so you shouldn't suffer too much. Why would one want to use ANSI terminal emulation, anyway?
94\par \fi0\li0 \bullet Telnet {\b LINEMODE} option ({\uldb {\b RFC1184}}{\v %!ExecFile("http://www.rfc-editor.org/rfc/rfc1184.txt")}) is still to come. 94\par \fi0\li0 \bullet Telnet {\b LINEMODE} option ({\uldb {\b RFC1184}}{\v %!ExecFile("http://www.rfc-editor.org/rfc/rfc1184.txt")}) is still to come.
95\par \fi0\li0 \bullet Pasting of text using console toolbar button may cause {\b KINSole} to lock up. Use {\b Shift-INS} instead.\pard 95\par \fi0\li0 \bullet Pasting of text using console toolbar button may cause {\b KINSole} to lock up. Use {\b Shift-INS} instead.\pard
96\page 96\page
97} \ No newline at end of file 97} \ No newline at end of file
diff --git a/help/kinsole.xml b/help/kinsole.xml
index 7d15eed..c08aa01 100644
--- a/help/kinsole.xml
+++ b/help/kinsole.xml
@@ -1,37 +1,37 @@
1<?xml version="1.0"?> 1<?xml version="1.0"?>
2<winhelp> 2<winhelp>
3 <topic id="About" title="About KINSole"> 3 <topic id="About" title="About KINSole">
4 <heading scroll="no">About KINSole</heading> 4 <heading scroll="no">About KINSole</heading>
5 <p><kin>KINSole</kin> is our <term>Win32</term> implementation of client side of the <term>telnet</term> protocol described in details in the <rfc num="854"/> and related RFCs (namely <rfc num="855"/>, <rfc num="857"/>, <rfc num="1091"/>, <rfc num="1073"/>, <rfc num="1572"/> and others). It uses <term>Win32</term> console and, therefore, can be run both windowed and in fullscreen mode.</p> 5 <p><kin>KINSole</kin> is our <term>Win32</term> implementation of client side of the <term>telnet</term> protocol described in details in the <rfc num="854"/> and related RFCs (namely <rfc num="855"/>, <rfc num="857"/>, <rfc num="1091"/>, <rfc num="1073"/>, <rfc num="1572"/> and others). It uses <term>Win32</term> console and, therefore, can be run both windowed and in fullscreen mode.</p>
6 <p/> 6 <p/>
7 <p><b><i>Enjoy!</i></b></p> 7 <p><b><i>Enjoy!</i></b></p>
8 <license years="1998, 2002"/> 8 <license years="1998-2004"/>
9 <credits/> 9 <credits/>
10 </topic> 10 </topic>
11 <topic id="News" title="Beta News"> 11 <topic id="News" title="What's new">
12 <heading scroll="no">Beta News</heading> 12 <heading scroll="no">What's New</heading>
13 <newsfor version="1.00 Beta 3" date="August 19st, 2002"> 13 <newsfor version="1.1" date="July 11th, 2004">
14 <ni>No changes in code. License change.</ni> 14 <ni>No changes in code. License change.</ni>
15 </newsfor> 15 </newsfor>
16 <newsfor version="1.00 Beta 2" date="March 7th, 1998"> 16 <newsfor version="1.00 Beta 2" date="March 7th, 1998">
17 <ni>Better copying from <kin>KINSole</kin> window.</ni> 17 <ni>Better copying from <kin>KINSole</kin> window.</ni>
18 <ni>Better handling of cursor position when resizing window.</ni> 18 <ni>Better handling of cursor position when resizing window.</ni>
19 <ni>Sending <b>CR/LF</b> pair when pressing <b>ENTER</b>. This is of help when telnetting to non-telnet ports.</ni> 19 <ni>Sending <b>CR/LF</b> pair when pressing <b>ENTER</b>. This is of help when telnetting to non-telnet ports.</ni>
20 <ni>Corrected bug, preventing <kin>KINSole</kin> from pasting text to remote twice.</ni> 20 <ni>Corrected bug, preventing <kin>KINSole</kin> from pasting text to remote twice.</ni>
21 <ni>Improved handling of echoing. Previously <kin>KINSole</kin> didn't turn echo off on some systems, namely <b>Solaris</b>.</ni> 21 <ni>Improved handling of echoing. Previously <kin>KINSole</kin> didn't turn echo off on some systems, namely <b>Solaris</b>.</ni>
22 <ni>Typo causing <kin>KINSole</kin> not to show diamond characters in <b>VT10x</b> mode corrected.</ni> 22 <ni>Typo causing <kin>KINSole</kin> not to show diamond characters in <b>VT10x</b> mode corrected.</ni>
23 <ni><b>GPF</b> when invoking <kin>KINSole</kin> with <b>-t</b> option fixed.</ni> 23 <ni><b>GPF</b> when invoking <kin>KINSole</kin> with <b>-t</b> option fixed.</ni>
24 <ni>Hotkey (<b>Alt-INS</b>) for copy operation added. Not supposed to work under <product>Windows NT</product>.</ni> 24 <ni>Hotkey (<b>Alt-INS</b>) for copy operation added. Not supposed to work under <product>Windows NT</product>.</ni>
25 <ni><b>Paste</b> is made aware of local echoing.</ni> 25 <ni><b>Paste</b> is made aware of local echoing.</ni>
26 <ni>Default terminal type when telnetting to non-telnet port is now <b>TTY</b>.</ni> 26 <ni>Default terminal type when telnetting to non-telnet port is now <b>TTY</b>.</ni>
27 <ni><b>Timing Mark</b> telnet option (<rfc num="860"/>) implemented (<b>Alt-T</b>).</ni> 27 <ni><b>Timing Mark</b> telnet option (<rfc num="860"/>) implemented (<b>Alt-T</b>).</ni>
28 <ni>Improved handling of window icon when starting from other <term>Win32</term> command line application.</ni> 28 <ni>Improved handling of window icon when starting from other <term>Win32</term> command line application.</ni>
29 </newsfor> 29 </newsfor>
30 </topic> 30 </topic>
31 <topic id="Using" title="Using KINSole"> 31 <topic id="Using" title="Using KINSole">
32 <heading scroll="no">Using <kin>KINSole</kin></heading> 32 <heading scroll="no">Using <kin>KINSole</kin></heading>
33 <p>You may run <kin>KINSole</kin> from your MS-DOS prompt by typing '<i>kinsole host port</i>'.</p> 33 <p>You may run <kin>KINSole</kin> from your MS-DOS prompt by typing '<i>kinsole host port</i>'.</p>
34 <p>If you need to know more about custom options, please proceed to the <a href="#CmdOptions">Command Line Options</a> section.</p> 34 <p>If you need to know more about custom options, please proceed to the <a href="#CmdOptions">Command Line Options</a> section.</p>
35 </topic> 35 </topic>
36 <topic id="CmdOptions" title="Command Line Options"> 36 <topic id="CmdOptions" title="Command Line Options">
37 <heading scroll="no">Command Line Options</heading> 37 <heading scroll="no">Command Line Options</heading>
@@ -39,34 +39,34 @@
39 <p>KINSole [<i>options</i> ]<i>host</i>[ <i>port</i>]</p> 39 <p>KINSole [<i>options</i> ]<i>host</i>[ <i>port</i>]</p>
40 <p>Available options are:</p> 40 <p>Available options are:</p>
41 <ul> 41 <ul>
42 <li><b>-r <i>##</i></b> or <b>-<i>##</i></b> - Try to set the number of rows in console screen buffer.</li> 42 <li><b>-r <i>##</i></b> or <b>-<i>##</i></b> - Try to set the number of rows in console screen buffer.</li>
43 <li><b>-c <i>##</i></b> - Try to set the number of columns in console screenbuffer.</li> 43 <li><b>-c <i>##</i></b> - Try to set the number of columns in console screenbuffer.</li>
44 <li><note>Note: Changing of console's screenbuffer size either from command line or on remote host's request (ESC[?3h vt100/vt102 control sequence) may not work when in fullscreen mode.</note></li> 44 <li><note>Note: Changing of console's screenbuffer size either from command line or on remote host's request (ESC[?3h vt100/vt102 control sequence) may not work when in fullscreen mode.</note></li>
45 <li><b>-l <i>username</i></b> - Pass username to remote server in environment if remote server allows.</li> 45 <li><b>-l <i>username</i></b> - Pass username to remote server in environment if remote server allows.</li>
46 <li><b>-e <i>var</i>=<i>val</i></b> - Pass environment variable to remote server.</li> 46 <li><b>-e <i>var</i>=<i>val</i></b> - Pass environment variable to remote server.</li>
47 <li><b>-v <i>var</i>=<i>val</i></b> - Pass user environment variable to remote server.</li> 47 <li><b>-v <i>var</i>=<i>val</i></b> - Pass user environment variable to remote server.</li>
48 <li><b>-t <i>termtype</i></b> - Change preferred terminal type to pass to remote server. This option does not really force specific terminal emulation. Final decision on terminal type is left up to server. Both sides are supposed to negotiate terminal type when connecting so that both sides may feel satisfied. Default preference is <b>vt102</b>.</li> 48 <li><b>-t <i>termtype</i></b> - Change preferred terminal type to pass to remote server. This option does not really force specific terminal emulation. Final decision on terminal type is left up to server. Both sides are supposed to negotiate terminal type when connecting so that both sides may feel satisfied. Default preference is <b>vt102</b>.</li>
49 </ul> 49 </ul>
50 </topic> 50 </topic>
51 <topic id="HotKeys" title="Hot Keys"> 51 <topic id="HotKeys" title="Hot Keys">
52 <heading scroll="no">Hot Keys</heading> 52 <heading scroll="no">Hot Keys</heading>
53 <p>While running <kin>KINSole</kin> you may use these key combinations:</p> 53 <p>While running <kin>KINSole</kin> you may use these key combinations:</p>
54 <ul> 54 <ul>
55 <li><b>Alt-X/Alt-Q</b> - Terminate telnet session and leave <kin>KINSole</kin>.</li> 55 <li><b>Alt-X/Alt-Q</b> - Terminate telnet session and leave <kin>KINSole</kin>.</li>
56 <li><b>Alt-Y</b> - Send <b>AYT (Are You There)</b> telnet command. Remote host (if it supports telnet protocol as it's supposed to) should provide you with visible/printable/audible feedback stating that it's alive. You may want to use it when running program which takes unusually long time to finish and you suspect that your connection is dead.</li> 56 <li><b>Alt-Y</b> - Send <b>AYT (Are You There)</b> telnet command. Remote host (if it supports telnet protocol as it's supposed to) should provide you with visible/printable/audible feedback stating that it's alive. You may want to use it when running program which takes unusually long time to finish and you suspect that your connection is dead.</li>
57 <li><b>Shift-INS</b> Paste text from Windows Clipboard.</li> 57 <li><b>Shift-INS</b> Paste text from Windows Clipboard.</li>
58 <li><b>Ctrl-Break</b> Send <b>IP (Interrupt Process)</b> telnet command. Usually effectively equivalent to Ctrl-C, but it's up to server to decide what to do in each case.</li> 58 <li><b>Ctrl-Break</b> Send <b>IP (Interrupt Process)</b> telnet command. Usually effectively equivalent to Ctrl-C, but it's up to server to decide what to do in each case.</li>
59 <li><b>Alt-INS</b> - Invoke <b>copying</b> from <kin>KINSole</kin> screen buffer.</li> 59 <li><b>Alt-INS</b> - Invoke <b>copying</b> from <kin>KINSole</kin> screen buffer.</li>
60 <li><b>Alt-T</b> - Send <b>TIMING-MARK</b> request. As soon as response comes <kin>KINSole</kin> will flash window thrice or beep if window handle is not available for some reason.</li> 60 <li><b>Alt-T</b> - Send <b>TIMING-MARK</b> request. As soon as response comes <kin>KINSole</kin> will flash window thrice or beep if window handle is not available for some reason.</li>
61 </ul> 61 </ul>
62 </topic> 62 </topic>
63 <topic id="BetaNotes" title="Beta Notes"> 63 <topic id="Notes" title="Notes">
64 <heading scroll="no">Beta Notes</heading> 64 <heading scroll="no">Notes</heading>
65 <p>A few things you may want to know about this Beta Release:</p> 65 <p>A few things you may want to know about this release:</p>
66 <ul> 66 <ul>
67 <li>Only two terminal emulation modules are included in this beta release - one for dumb terminal and one for vt100/102. If you try to select ANSI terminal type vt100 emulation will be selected, which is actually close enough to ANSI so you shouldn't suffer too much. Why would one want to use ANSI terminal emulation, anyway?</li> 67 <li>Only two terminal emulation modules are included in this release - one for dumb terminal and one for vt100/102. If you try to select ANSI terminal type vt100 emulation will be selected, which is actually close enough to ANSI so you shouldn't suffer too much. Why would one want to use ANSI terminal emulation, anyway?</li>
68 <li>Telnet <b>LINEMODE</b> option (<rfc num="1184"/>) is still to come.</li> 68 <li>Telnet <b>LINEMODE</b> option (<rfc num="1184"/>) is still to come.</li>
69 <li>Pasting of text using console toolbar button may cause <kin>KINSole</kin> to lock up. Use <b>Shift-INS</b> instead.</li> 69 <li>Pasting of text using console toolbar button may cause <kin>KINSole</kin> to lock up. Use <b>Shift-INS</b> instead.</li>
70 </ul> 70 </ul>
71 </topic> 71 </topic>
72</winhelp> 72</winhelp>
diff --git a/install/install.cpp b/install/install.cpp
index e6f4e5a..aa474d5 100644
--- a/install/install.cpp
+++ b/install/install.cpp
@@ -1,65 +1,65 @@
1#include "resource.h" 1#include "resource.h"
2#include "../shared-code/install.h" 2#include "../shared-code/install.h"
3 3
4 #define KINAME"KINSole 1.00 Beta 3" 4 #define KINAME"KINSole 1.1"
5 #define SKINAME"KINSole" 5 #define SKINAME"KINSole"
6 6
7BOOL Install(void) 7BOOL Install(void)
8{ 8{
9STRING tPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group, Inc.",SKINAME "Path"); 9STRING tPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path");
10STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group, Inc.","KINPath"); 10STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath");
11LPCSTR qPath = ((LPCSTR)tPath)?(LPCSTR)tPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings"); 11LPCSTR qPath = ((LPCSTR)tPath)?(LPCSTR)tPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings");
12STRING path = REQUESTPATH(" " KINAME,"Note: KINSole program file will be installed into your windows directory so that you can rely on it's presence in your search path\nEnter destination path:",qPath); 12STRING path = REQUESTPATH(" " KINAME,"Note: KINSole program file will be installed into your windows directory so that you can rely on it's presence in your search path\nEnter destination path:",qPath);
13 if(!path) 13 if(!path)
14 return NULL; 14 return NULL;
15STRING winDir(_MAX_PATH); 15STRING winDir(_MAX_PATH);
16 16
17 GetWindowsDirectory(winDir,_MAX_PATH); 17 GetWindowsDirectory(winDir,_MAX_PATH);
18 INSTALLFILE("KINSole.ex_",winDir,"KINSole.exe"); 18 INSTALLFILE("KINSole.ex_",winDir,"KINSole.exe");
19 MAKE_PATH(path); 19 MAKE_PATH(path);
20STRING shortPath = GET_SHORT_PATH(path); 20STRING shortPath = GET_SHORT_PATH(path);
21 if(!shortPath){ 21 if(!shortPath){
22 MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK); 22 MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK);
23 return FALSE; 23 return FALSE;
24 } 24 }
25 if(!( 25 if(!(
26 INSTALLFILE("KINSole.hl_",path,"KINSole.hlp") && 26 INSTALLFILE("KINSole.hl_",path,"KINSole.hlp") &&
27 INSTALLFILE("KINSole.cn_",path,"KINSole.cnt") 27 INSTALLFILE("KINSole.cn_",path,"KINSole.cnt")
28 )){ 28 )){
29 MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK); 29 MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK);
30 return FALSE; 30 return FALSE;
31 } 31 }
32 ADDMENU("Accessories\\Klever Co.","KINSole Help",path,SKINAME ".hlp"); 32 ADDMENU("Klever Group","KINSole Help",path,SKINAME ".hlp");
33 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group, Inc.", SKINAME "Path",path); 33 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group", SKINAME "Path",path);
34 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group, Inc.","KINPath",path); 34 strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath",path);
35FILE* inf=CREATE_INF_FILE(path, SKINAME ".INF"); 35FILE* inf=CREATE_INF_FILE(path, SKINAME ".INF");
36 if(!inf){ 36 if(!inf){
37 MessageBox(NULL,"Failed to install " KINAME,NULL,MB_ICONERROR|MB_OK); 37 MessageBox(NULL,"Failed to install " KINAME,NULL,MB_ICONERROR|MB_OK);
38 return FALSE; 38 return FALSE;
39 } 39 }
40 INF_FILE_HEADER(inf); 40 INF_FILE_HEADER(inf);
41 INF_FILE_SECTION(inf,"Uninstall"); 41 INF_FILE_SECTION(inf,"Uninstall");
42 fprintf(inf,"AddReg=kFiles\nDelReg=kReg\nUpdateInis=kMenu\n"); 42 fprintf(inf,"AddReg=kFiles\nDelReg=kReg\nUpdateInis=kMenu\n");
43 43
44 INF_FILE_SECTION(inf,"kFiles"); 44 INF_FILE_SECTION(inf,"kFiles");
45 INF_REMOVE_ROOT(inf,SKINAME "Files",shortPath); 45 INF_REMOVE_ROOT(inf,SKINAME "Files",shortPath);
46 INF_REMOVE_HELP_FILE(inf,SKINAME "Files",SKINAME); 46 INF_REMOVE_HELP_FILE(inf,SKINAME "Files",SKINAME);
47 INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".inf"); 47 INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".inf");
48 48
49 INF_REMOVE_ROOT(inf,SKINAME "WFiles",winDir); 49 INF_REMOVE_ROOT(inf,SKINAME "WFiles",winDir);
50 INF_REMOVE_FILE(inf,SKINAME "WFiles",SKINAME ".exe"); 50 INF_REMOVE_FILE(inf,SKINAME "WFiles",SKINAME ".exe");
51 51
52 INF_FILE_SECTION(inf,"kReg"); 52 INF_FILE_SECTION(inf,"kReg");
53 INF_UNINSTALL_REG(inf,SKINAME); 53 INF_UNINSTALL_REG(inf,SKINAME);
54 54
55 INF_FILE_SECTION(inf,"kMenu"); 55 INF_FILE_SECTION(inf,"kMenu");
56 INF_MENU_GROUP(inf,1,"Accessories\\Klever Co."); 56 INF_MENU_GROUP(inf,1,"Klever Group");
57 INF_MENU_ITEM(inf,1,"KINSole Help"); 57 INF_MENU_ITEM(inf,1,"KINSole Help");
58 fclose(inf); 58 fclose(inf);
59 59
60 REG_UNINSTALL_COMMAND(SKINAME,"Klever " KINAME,shortPath,SKINAME ".INF","Uninstall"); 60 REG_UNINSTALL_COMMAND(SKINAME,"Klever " KINAME,shortPath,SKINAME ".INF","Uninstall");
61 61
62 MessageBox(NULL,KINAME " installed successfully, you may now run it from command line, read documentation in Programs/Accessories/Klever Co. menu or simply remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK); 62 MessageBox(NULL,KINAME " installed successfully, you may now run it from command line, read documentation in 'Programs/Klever Group' menu or simply remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK);
63 63
64 return TRUE; 64 return TRUE;
65} 65}
diff --git a/install/install.rc b/install/install.rc
index d7780b6..04ae8f4 100644
--- a/install/install.rc
+++ b/install/install.rc
@@ -110,73 +110,73 @@ END
1103 TEXTINCLUDE DISCARDABLE 1103 TEXTINCLUDE DISCARDABLE
111BEGIN 111BEGIN
112 "#include ""custom.rch""\0" 112 "#include ""custom.rch""\0"
113END 113END
114 114
115#endif // APSTUDIO_INVOKED 115#endif // APSTUDIO_INVOKED
116 116
117 117
118///////////////////////////////////////////////////////////////////////////// 118/////////////////////////////////////////////////////////////////////////////
119// 119//
120// Icon 120// Icon
121// 121//
122 122
123// Icon with lowest ID value placed first to ensure application icon 123// Icon with lowest ID value placed first to ensure application icon
124// remains consistent on all systems. 124// remains consistent on all systems.
125IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico" 125IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico"
126 126
127#ifndef _MAC 127#ifndef _MAC
128///////////////////////////////////////////////////////////////////////////// 128/////////////////////////////////////////////////////////////////////////////
129// 129//
130// Version 130// Version
131// 131//
132 132
133VS_VERSION_INFO VERSIONINFO 133VS_VERSION_INFO VERSIONINFO
134 FILEVERSION 1,0,0,3 134 FILEVERSION 1,1,0,0
135 PRODUCTVERSION 1,0,0,3 135 PRODUCTVERSION 1,1,0,0
136 FILEFLAGSMASK 0x3fL 136 FILEFLAGSMASK 0x3fL
137#ifdef _DEBUG 137#ifdef _DEBUG
138 FILEFLAGS 0x1L 138 FILEFLAGS 0x1L
139#else 139#else
140 FILEFLAGS 0x0L 140 FILEFLAGS 0x0L
141#endif 141#endif
142 FILEOS 0x40004L 142 FILEOS 0x40004L
143 FILETYPE 0x1L 143 FILETYPE 0x1L
144 FILESUBTYPE 0x0L 144 FILESUBTYPE 0x0L
145BEGIN 145BEGIN
146 BLOCK "StringFileInfo" 146 BLOCK "StringFileInfo"
147 BEGIN 147 BEGIN
148 BLOCK "040904b0" 148 BLOCK "040904b0"
149 BEGIN 149 BEGIN
150 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" 150 VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0"
151 VALUE "FileDescription", "INSTALL: KINSole, telnet client\0" 151 VALUE "FileDescription", "INSTALL: KINSole, telnet client\0"
152 VALUE "FileVersion", "1, 0, 0, 3\0" 152 VALUE "FileVersion", "1, 1, 0, 0\0"
153 VALUE "InternalName", "INSTALL\0" 153 VALUE "InternalName", "INSTALL\0"
154 VALUE "LegalCopyright", "Copyright © 1998, 2002 Klever Group (http://www.klever.net/)\0" 154 VALUE "LegalCopyright", "Copyright © 1998-2004 Klever Group (http://www.klever.net/)\0"
155 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" 155 VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0"
156 VALUE "OriginalFilename", "INSTALL.EXE\0" 156 VALUE "OriginalFilename", "INSTALL.EXE\0"
157 VALUE "ProductName", "KINSole\0" 157 VALUE "ProductName", "KINSole\0"
158 VALUE "ProductVersion", "1, 0, 0, 3\0" 158 VALUE "ProductVersion", "1, 1, 0, 0\0"
159 END 159 END
160 END 160 END
161 BLOCK "VarFileInfo" 161 BLOCK "VarFileInfo"
162 BEGIN 162 BEGIN
163 VALUE "Translation", 0x409, 1200 163 VALUE "Translation", 0x409, 1200
164 END 164 END
165END 165END
166 166
167#endif // !_MAC 167#endif // !_MAC
168 168
169#endif // English (U.S.) resources 169#endif // English (U.S.) resources
170///////////////////////////////////////////////////////////////////////////// 170/////////////////////////////////////////////////////////////////////////////
171 171
172 172
173 173
174#ifndef APSTUDIO_INVOKED 174#ifndef APSTUDIO_INVOKED
175///////////////////////////////////////////////////////////////////////////// 175/////////////////////////////////////////////////////////////////////////////
176// 176//
177// Generated from the TEXTINCLUDE 3 resource. 177// Generated from the TEXTINCLUDE 3 resource.
178// 178//
179#include "custom.rch" 179#include "custom.rch"
180///////////////////////////////////////////////////////////////////////////// 180/////////////////////////////////////////////////////////////////////////////
181#endif // not APSTUDIO_INVOKED 181#endif // not APSTUDIO_INVOKED
182 182
diff --git a/kinsole.cpp b/kinsole.cpp
index 463db1c..01286f3 100644
--- a/kinsole.cpp
+++ b/kinsole.cpp
@@ -1,43 +1,43 @@
1#include <stdio.h> 1#include <stdio.h>
2 2
3 #ifdef_DEBUG 3 #ifdef_DEBUG
4#include <afxwin.h> 4#include <afxwin.h>
5#else 5#else
6#define ASSERT(f) ((void)0) 6#define ASSERT(f) ((void)0)
7#define VERIFY(f) ((void)(f)) 7#define VERIFY(f) ((void)(f))
8#define TRACE0(sz) 8#define TRACE0(sz)
9#define TRACE1(sz, p1) 9#define TRACE1(sz, p1)
10#define TRACE2(sz, p1, p2) 10#define TRACE2(sz, p1, p2)
11#define TRACE3(sz, p1, p2, p3) 11#define TRACE3(sz, p1, p2, p3)
12#endif 12#endif
13 13
14#include <winsock.h> 14#include <winsock.h>
15#include "resource.h" 15#include "resource.h"
16#include "windowsx.h" 16#include "windowsx.h"
17 17
18 #define DAMN_KIN_NAME "KINSole" 18 #define DAMN_KIN_NAME "KINSole"
19 #define DAMN_KIN_VERSION"v1.00 Beta 3" 19 #define DAMN_KIN_VERSION"1.1"
20 20
21#ifdef _DEBUG 21#ifdef _DEBUG
22#define new DEBUG_NEW 22#define new DEBUG_NEW
23#undef THIS_FILE 23#undef THIS_FILE
24static char THIS_FILE[] = __FILE__; 24static char THIS_FILE[] = __FILE__;
25#endif 25#endif
26 26
27enum { 27enum {
28 WM_USERSOCKET = WM_USER+16, 28 WM_USERSOCKET = WM_USER+16,
29 WM_USERKEY, 29 WM_USERKEY,
30 WM_USERNOP 30 WM_USERNOP
31}; 31};
32enum { 32enum {
33 tnIAC = 255, 33 tnIAC = 255,
34 tnSE = 240, 34 tnSE = 240,
35 tnNOP = 241, 35 tnNOP = 241,
36 tnDM = 242, 36 tnDM = 242,
37 tnBreak = 243, 37 tnBreak = 243,
38 tnIP = 244, 38 tnIP = 244,
39 tnAO = 245, 39 tnAO = 245,
40 tnAYT = 246, 40 tnAYT = 246,
41 tnEC = 247, 41 tnEC = 247,
42 tnEL = 248, 42 tnEL = 248,
43 tnGA = 249, 43 tnGA = 249,
@@ -529,61 +529,61 @@ HWND hrv = FindWindowEx(NULL,NULL,"tty",t);
529HWND nopro = NULL; 529HWND nopro = NULL;
530UINT nopros=0; 530UINT nopros=0;
531 do{ 531 do{
532 DWORD wpid; 532 DWORD wpid;
533 if(!GetWindowThreadProcessId(hrv,&wpid)) 533 if(!GetWindowThreadProcessId(hrv,&wpid))
534 continue; 534 continue;
535 if(wpid==pid) 535 if(wpid==pid)
536 return hrv; 536 return hrv;
537 nopro=hrv; 537 nopro=hrv;
538 nopros++; 538 nopros++;
539 hrv = FindWindowEx(NULL,hrv,"tty",t); 539 hrv = FindWindowEx(NULL,hrv,"tty",t);
540 }while(hrv); 540 }while(hrv);
541 if(nopros==1){ 541 if(nopros==1){
542 ASSERT(nopro); 542 ASSERT(nopro);
543 return nopro; 543 return nopro;
544 } 544 }
545 return NULL; 545 return NULL;
546} 546}
547 547
548main(int argc,char*argv[]) 548main(int argc,char*argv[])
549{ 549{
550 if(argc<2){ 550 if(argc<2){
551usagebye: 551usagebye:
552 printf( 552 printf(
553 DAMN_KIN_NAME " " DAMN_KIN_VERSION ", Copyright (c) 1998, 2002 Klever Group (http://www.klever.net/)\n\n" 553 DAMN_KIN_NAME " " DAMN_KIN_VERSION ", Copyright (c) 1998-2004 Klever Group (http://www.klever.net/)\n\n"
554 "Usage:\t" DAMN_KIN_NAME " [<options> ]<host-name/ip-address>[ <port>]\n\n" 554 "Usage:\t" DAMN_KIN_NAME " [<options> ]<host-name/ip-address>[ <port>]\n\n"
555 "Options are:\n" 555 "Options are:\n"
556 "-r## or -##\tSet number of rows in console screenbuffer\n" 556 "-r## or -##\tSet number of rows in console screenbuffer\n"
557 "-c##\t\tSet number of columns in console screenbuffer\n" 557 "-c##\t\tSet number of columns in console screenbuffer\n"
558 "\tnote: changing console screenbuffer size may not work properly\n" 558 "\tnote: changing console screenbuffer size may not work properly\n"
559 "\twhen in full-screen mode\n" 559 "\twhen in full-screen mode\n"
560 "-l<user>\tPass username to remote server in environment\n" 560 "-l<user>\tPass username to remote server in environment\n"
561 "-e<var>=<val>\tPass environment variable to remote server\n" 561 "-e<var>=<val>\tPass environment variable to remote server\n"
562 "-v<var>=<val>\tPass user environment variable to remote server\n" 562 "-v<var>=<val>\tPass user environment variable to remote server\n"
563 "-t<termtype>\tChange preferred terminal type\n" 563 "-t<termtype>\tChange preferred terminal type\n"
564 "\tnote: there are only two different terminal emulations in this\n" 564 "\tnote: there are only two different terminal emulations in this\n"
565 "\tbeta release - one for dumb terminal and one for vt terminal\n" 565 "\trelease - one for dumb terminal and one for vt terminal\n"
566 ); 566 );
567 CleanEnvars(); 567 CleanEnvars();
568 return 1; 568 return 1;
569 } 569 }
570 if(!InitializeWinsock()){ 570 if(!InitializeWinsock()){
571 DeinitializeWinsock(); 571 DeinitializeWinsock();
572 return 2; 572 return 2;
573 } 573 }
574CONSOLE_SCREEN_BUFFER_INFO csbi; 574CONSOLE_SCREEN_BUFFER_INFO csbi;
575int ac = 0; 575int ac = 0;
576CHAR *ho = NULL, *po = NULL; 576CHAR *ho = NULL, *po = NULL;
577HANDLE hConsole = CreateFile("CONOUT$",GENERIC_READ|GENERIC_WRITE,FILE_SHARE_READ|FILE_SHARE_WRITE, 577HANDLE hConsole = CreateFile("CONOUT$",GENERIC_READ|GENERIC_WRITE,FILE_SHARE_READ|FILE_SHARE_WRITE,
578 NULL,OPEN_EXISTING,0,NULL); 578 NULL,OPEN_EXISTING,0,NULL);
579 ASSERT(hConsole); 579 ASSERT(hConsole);
580 // *** GetStdHandle(STD_OUTPUT_HANDLE);// *?*?* Do something about redirections and not only here. 580 // *** GetStdHandle(STD_OUTPUT_HANDLE);// *?*?* Do something about redirections and not only here.
581 VERIFY(GetConsoleScreenBufferInfo(hConsole,&csbi)); 581 VERIFY(GetConsoleScreenBufferInfo(hConsole,&csbi));
582BOOL bSized=FALSE; 582BOOL bSized=FALSE;
583 bTermPulled=FALSE; 583 bTermPulled=FALSE;
584 for(int tmp=1;tmp<argc;tmp++){ 584 for(int tmp=1;tmp<argc;tmp++){
585 char* v = argv[tmp]; 585 char* v = argv[tmp];
586 ASSERT(v && *v); 586 ASSERT(v && *v);
587 if((*v)=='/' || (*v)=='-'){ 587 if((*v)=='/' || (*v)=='-'){
588 int lines = atoi(&v[1]); 588 int lines = atoi(&v[1]);
589 if(lines){ 589 if(lines){
diff --git a/kinsole.mak b/kinsole.mak
index b25a32d..9b7eeac 100644
--- a/kinsole.mak
+++ b/kinsole.mak
@@ -44,205 +44,205 @@ NULL=nul
44# PROP BASE Output_Dir "Release" 44# PROP BASE Output_Dir "Release"
45# PROP BASE Intermediate_Dir "Release" 45# PROP BASE Intermediate_Dir "Release"
46# PROP BASE Target_Dir "" 46# PROP BASE Target_Dir ""
47# PROP Use_MFC 0 47# PROP Use_MFC 0
48# PROP Use_Debug_Libraries 0 48# PROP Use_Debug_Libraries 0
49# PROP Output_Dir "Release" 49# PROP Output_Dir "Release"
50# PROP Intermediate_Dir "Release" 50# PROP Intermediate_Dir "Release"
51# PROP Target_Dir "" 51# PROP Target_Dir ""
52OUTDIR=.\Release 52OUTDIR=.\Release
53INTDIR=.\Release 53INTDIR=.\Release
54# Begin Custom Macros 54# Begin Custom Macros
55OutDir=.\Release 55OutDir=.\Release
56TargetName=kinsole 56TargetName=kinsole
57# End Custom Macros 57# End Custom Macros
58 58
59ALL : "$(OUTDIR)\kinsole.exe" "$(OUTDIR)\kinsole.ex_" "$(OUTDIR)\kinsole.hlp"\ 59ALL : "$(OUTDIR)\kinsole.exe" "$(OUTDIR)\kinsole.ex_" "$(OUTDIR)\kinsole.hlp"\
60 "$(OUTDIR)\kinsole.cnt" "$(OUTDIR)\kinsole.hl_" "$(OUTDIR)\kinsole.cn_" 60 "$(OUTDIR)\kinsole.cnt" "$(OUTDIR)\kinsole.hl_" "$(OUTDIR)\kinsole.cn_"
61 61
62CLEAN : 62CLEAN :
63 -@erase "$(INTDIR)\kinsole.cn_" 63 -@erase "$(INTDIR)\kinsole.cn_"
64 -@erase "$(INTDIR)\kinsole.cnt" 64 -@erase "$(INTDIR)\kinsole.cnt"
65 -@erase "$(INTDIR)\kinsole.hl_" 65 -@erase "$(INTDIR)\kinsole.hl_"
66 -@erase "$(INTDIR)\kinsole.hlp" 66 -@erase "$(INTDIR)\kinsole.hlp"
67 -@erase "$(INTDIR)\KINSole.obj" 67 -@erase "$(INTDIR)\KINSole.obj"
68 -@erase "$(INTDIR)\KINSole.res" 68 -@erase "$(INTDIR)\kinsole.res"
69 -@erase "$(OUTDIR)\kinsole.ex_" 69 -@erase "$(OUTDIR)\kinsole.ex_"
70 -@erase "$(OUTDIR)\kinsole.exe" 70 -@erase "$(OUTDIR)\kinsole.exe"
71 -@erase "$(OUTDIR)\kinsole.map" 71 -@erase "$(OUTDIR)\kinsole.map"
72 72
73"$(OUTDIR)" : 73"$(OUTDIR)" :
74 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" 74 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
75 75
76CPP=cl.exe 76CPP=cl.exe
77# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c 77# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
78# ADD CPP /nologo /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c 78# ADD CPP /nologo /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c
79# SUBTRACT CPP /YX 79# SUBTRACT CPP /YX
80CPP_PROJ=/nologo /ML /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_CONSOLE"\ 80CPP_PROJ=/nologo /ML /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_CONSOLE"\
81 /Fo"$(INTDIR)/" /c 81 /Fo"$(INTDIR)/" /c
82CPP_OBJS=.\Release/ 82CPP_OBJS=.\Release/
83CPP_SBRS=.\. 83CPP_SBRS=.\.
84 84
85.c{$(CPP_OBJS)}.obj: 85.c{$(CPP_OBJS)}.obj:
86 $(CPP) $(CPP_PROJ) $< 86 $(CPP) $(CPP_PROJ) $<
87 87
88.cpp{$(CPP_OBJS)}.obj: 88.cpp{$(CPP_OBJS)}.obj:
89 $(CPP) $(CPP_PROJ) $< 89 $(CPP) $(CPP_PROJ) $<
90 90
91.cxx{$(CPP_OBJS)}.obj: 91.cxx{$(CPP_OBJS)}.obj:
92 $(CPP) $(CPP_PROJ) $< 92 $(CPP) $(CPP_PROJ) $<
93 93
94.c{$(CPP_SBRS)}.sbr: 94.c{$(CPP_SBRS)}.sbr:
95 $(CPP) $(CPP_PROJ) $< 95 $(CPP) $(CPP_PROJ) $<
96 96
97.cpp{$(CPP_SBRS)}.sbr: 97.cpp{$(CPP_SBRS)}.sbr:
98 $(CPP) $(CPP_PROJ) $< 98 $(CPP) $(CPP_PROJ) $<
99 99
100.cxx{$(CPP_SBRS)}.sbr: 100.cxx{$(CPP_SBRS)}.sbr:
101 $(CPP) $(CPP_PROJ) $< 101 $(CPP) $(CPP_PROJ) $<
102 102
103RSC=rc.exe 103RSC=rc.exe
104# ADD BASE RSC /l 0x409 /d "NDEBUG" 104# ADD BASE RSC /l 0x409 /d "NDEBUG"
105# ADD RSC /l 0x409 /d "NDEBUG" 105# ADD RSC /l 0x409 /d "NDEBUG"
106RSC_PROJ=/l 0x409 /fo"$(INTDIR)/KINSole.res" /d "NDEBUG" 106RSC_PROJ=/l 0x409 /fo"$(INTDIR)/kinsole.res" /d "NDEBUG"
107BSC32=bscmake.exe 107BSC32=bscmake.exe
108# ADD BASE BSC32 /nologo 108# ADD BASE BSC32 /nologo
109# ADD BSC32 /nologo 109# ADD BSC32 /nologo
110BSC32_FLAGS=/nologo /o"$(OUTDIR)/kinsole.bsc" 110BSC32_FLAGS=/nologo /o"$(OUTDIR)/kinsole.bsc"
111BSC32_SBRS= \ 111BSC32_SBRS= \
112 112
113LINK32=link.exe 113LINK32=link.exe
114# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 114# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
115# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /subsystem:console /map /machine:I386 115# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib /nologo /subsystem:console /map /machine:I386
116LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ 116LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
117 advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\ 117 advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
118 odbccp32.lib wsock32.lib /nologo /subsystem:console /incremental:no\ 118 odbccp32.lib wsock32.lib /nologo /subsystem:console /incremental:no\
119 /pdb:"$(OUTDIR)/kinsole.pdb" /map:"$(INTDIR)/kinsole.map" /machine:I386\ 119 /pdb:"$(OUTDIR)/kinsole.pdb" /map:"$(INTDIR)/kinsole.map" /machine:I386\
120 /out:"$(OUTDIR)/kinsole.exe" 120 /out:"$(OUTDIR)/kinsole.exe"
121LINK32_OBJS= \ 121LINK32_OBJS= \
122 "$(INTDIR)\KINSole.obj" \ 122 "$(INTDIR)\KINSole.obj" \
123 "$(INTDIR)\KINSole.res" 123 "$(INTDIR)\kinsole.res"
124 124
125"$(OUTDIR)\kinsole.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) 125"$(OUTDIR)\kinsole.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
126 $(LINK32) @<< 126 $(LINK32) @<<
127 $(LINK32_FLAGS) $(LINK32_OBJS) 127 $(LINK32_FLAGS) $(LINK32_OBJS)
128<< 128<<
129 129
130# Begin Custom Build - Performing Custom Build Step 130# Begin Custom Build - Performing Custom Build Step
131OutDir=.\Release 131OutDir=.\Release
132TargetName=kinsole 132TargetName=kinsole
133InputPath=.\Release\kinsole.exe 133InputPath=.\Release\kinsole.exe
134SOURCE=$(InputPath) 134SOURCE=$(InputPath)
135 135
136"$(OutDir)\$(TargetName).ex_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" 136"$(OutDir)\$(TargetName).ex_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
137 compress $(OutDir)\$(TargetName).exe $(OutDir)\$(TargetName).ex_ 137 compress $(OutDir)\$(TargetName).exe $(OutDir)\$(TargetName).ex_
138 138
139# End Custom Build 139# End Custom Build
140 140
141!ELSEIF "$(CFG)" == "KINSole - Win32 Debug" 141!ELSEIF "$(CFG)" == "KINSole - Win32 Debug"
142 142
143# PROP BASE Use_MFC 0 143# PROP BASE Use_MFC 0
144# PROP BASE Use_Debug_Libraries 1 144# PROP BASE Use_Debug_Libraries 1
145# PROP BASE Output_Dir "Debug" 145# PROP BASE Output_Dir "Debug"
146# PROP BASE Intermediate_Dir "Debug" 146# PROP BASE Intermediate_Dir "Debug"
147# PROP BASE Target_Dir "" 147# PROP BASE Target_Dir ""
148# PROP Use_MFC 2 148# PROP Use_MFC 2
149# PROP Use_Debug_Libraries 1 149# PROP Use_Debug_Libraries 1
150# PROP Output_Dir "Debug" 150# PROP Output_Dir "Debug"
151# PROP Intermediate_Dir "Debug" 151# PROP Intermediate_Dir "Debug"
152# PROP Target_Dir "" 152# PROP Target_Dir ""
153OUTDIR=.\Debug 153OUTDIR=.\Debug
154INTDIR=.\Debug 154INTDIR=.\Debug
155# Begin Custom Macros 155# Begin Custom Macros
156OutDir=.\Debug 156OutDir=.\Debug
157TargetName=kinsole 157TargetName=kinsole
158# End Custom Macros 158# End Custom Macros
159 159
160ALL : "$(OUTDIR)\kinsole.exe" "$(OUTDIR)\kinsole.ex_" "$(OUTDIR)\kinsole.hlp"\ 160ALL : "$(OUTDIR)\kinsole.exe" "$(OUTDIR)\kinsole.ex_" "$(OUTDIR)\kinsole.hlp"\
161 "$(OUTDIR)\kinsole.cnt" "$(OUTDIR)\kinsole.hl_" "$(OUTDIR)\kinsole.cn_" 161 "$(OUTDIR)\kinsole.cnt" "$(OUTDIR)\kinsole.hl_" "$(OUTDIR)\kinsole.cn_"
162 162
163CLEAN : 163CLEAN :
164 -@erase "$(INTDIR)\kinsole.cn_" 164 -@erase "$(INTDIR)\kinsole.cn_"
165 -@erase "$(INTDIR)\kinsole.cnt" 165 -@erase "$(INTDIR)\kinsole.cnt"
166 -@erase "$(INTDIR)\kinsole.hl_" 166 -@erase "$(INTDIR)\kinsole.hl_"
167 -@erase "$(INTDIR)\kinsole.hlp" 167 -@erase "$(INTDIR)\kinsole.hlp"
168 -@erase "$(INTDIR)\KINSole.obj" 168 -@erase "$(INTDIR)\KINSole.obj"
169 -@erase "$(INTDIR)\KINSole.res" 169 -@erase "$(INTDIR)\kinsole.res"
170 -@erase "$(INTDIR)\vc40.idb" 170 -@erase "$(INTDIR)\vc40.idb"
171 -@erase "$(INTDIR)\vc40.pdb" 171 -@erase "$(INTDIR)\vc40.pdb"
172 -@erase "$(OUTDIR)\kinsole.ex_" 172 -@erase "$(OUTDIR)\kinsole.ex_"
173 -@erase "$(OUTDIR)\kinsole.exe" 173 -@erase "$(OUTDIR)\kinsole.exe"
174 -@erase "$(OUTDIR)\kinsole.ilk" 174 -@erase "$(OUTDIR)\kinsole.ilk"
175 -@erase "$(OUTDIR)\kinsole.pdb" 175 -@erase "$(OUTDIR)\kinsole.pdb"
176 176
177"$(OUTDIR)" : 177"$(OUTDIR)" :
178 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" 178 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
179 179
180CPP=cl.exe 180CPP=cl.exe
181# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c 181# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
182# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_AFXDLL" /D "_MBCS" /c 182# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_AFXDLL" /D "_MBCS" /c
183# SUBTRACT CPP /YX 183# SUBTRACT CPP /YX
184CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE"\ 184CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE"\
185 /D "_AFXDLL" /D "_MBCS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c 185 /D "_AFXDLL" /D "_MBCS" /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c
186CPP_OBJS=.\Debug/ 186CPP_OBJS=.\Debug/
187CPP_SBRS=.\. 187CPP_SBRS=.\.
188 188
189.c{$(CPP_OBJS)}.obj: 189.c{$(CPP_OBJS)}.obj:
190 $(CPP) $(CPP_PROJ) $< 190 $(CPP) $(CPP_PROJ) $<
191 191
192.cpp{$(CPP_OBJS)}.obj: 192.cpp{$(CPP_OBJS)}.obj:
193 $(CPP) $(CPP_PROJ) $< 193 $(CPP) $(CPP_PROJ) $<
194 194
195.cxx{$(CPP_OBJS)}.obj: 195.cxx{$(CPP_OBJS)}.obj:
196 $(CPP) $(CPP_PROJ) $< 196 $(CPP) $(CPP_PROJ) $<
197 197
198.c{$(CPP_SBRS)}.sbr: 198.c{$(CPP_SBRS)}.sbr:
199 $(CPP) $(CPP_PROJ) $< 199 $(CPP) $(CPP_PROJ) $<
200 200
201.cpp{$(CPP_SBRS)}.sbr: 201.cpp{$(CPP_SBRS)}.sbr:
202 $(CPP) $(CPP_PROJ) $< 202 $(CPP) $(CPP_PROJ) $<
203 203
204.cxx{$(CPP_SBRS)}.sbr: 204.cxx{$(CPP_SBRS)}.sbr:
205 $(CPP) $(CPP_PROJ) $< 205 $(CPP) $(CPP_PROJ) $<
206 206
207RSC=rc.exe 207RSC=rc.exe
208# ADD BASE RSC /l 0x409 /d "_DEBUG" 208# ADD BASE RSC /l 0x409 /d "_DEBUG"
209# ADD RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL" 209# ADD RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL"
210RSC_PROJ=/l 0x409 /fo"$(INTDIR)/KINSole.res" /d "_DEBUG" /d "_AFXDLL" 210RSC_PROJ=/l 0x409 /fo"$(INTDIR)/kinsole.res" /d "_DEBUG" /d "_AFXDLL"
211BSC32=bscmake.exe 211BSC32=bscmake.exe
212# ADD BASE BSC32 /nologo 212# ADD BASE BSC32 /nologo
213# ADD BSC32 /nologo 213# ADD BSC32 /nologo
214BSC32_FLAGS=/nologo /o"$(OUTDIR)/kinsole.bsc" 214BSC32_FLAGS=/nologo /o"$(OUTDIR)/kinsole.bsc"
215BSC32_SBRS= \ 215BSC32_SBRS= \
216 216
217LINK32=link.exe 217LINK32=link.exe
218# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 218# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386
219# ADD LINK32 wsock32.lib /nologo /subsystem:console /debug /machine:I386 219# ADD LINK32 wsock32.lib /nologo /subsystem:console /debug /machine:I386
220LINK32_FLAGS=wsock32.lib /nologo /subsystem:console /incremental:yes\ 220LINK32_FLAGS=wsock32.lib /nologo /subsystem:console /incremental:yes\
221 /pdb:"$(OUTDIR)/kinsole.pdb" /debug /machine:I386 /out:"$(OUTDIR)/kinsole.exe" 221 /pdb:"$(OUTDIR)/kinsole.pdb" /debug /machine:I386 /out:"$(OUTDIR)/kinsole.exe"
222LINK32_OBJS= \ 222LINK32_OBJS= \
223 "$(INTDIR)\KINSole.obj" \ 223 "$(INTDIR)\KINSole.obj" \
224 "$(INTDIR)\KINSole.res" 224 "$(INTDIR)\kinsole.res"
225 225
226"$(OUTDIR)\kinsole.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) 226"$(OUTDIR)\kinsole.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
227 $(LINK32) @<< 227 $(LINK32) @<<
228 $(LINK32_FLAGS) $(LINK32_OBJS) 228 $(LINK32_FLAGS) $(LINK32_OBJS)
229<< 229<<
230 230
231# Begin Custom Build 231# Begin Custom Build
232OutDir=.\Debug 232OutDir=.\Debug
233TargetName=kinsole 233TargetName=kinsole
234InputPath=.\Debug\kinsole.exe 234InputPath=.\Debug\kinsole.exe
235SOURCE=$(InputPath) 235SOURCE=$(InputPath)
236 236
237"$(OutDir)\$(TargetName).ex_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" 237"$(OutDir)\$(TargetName).ex_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
238 compress $(OutDir)\$(TargetName).exe $(OutDir)\$(TargetName).ex_ 238 compress $(OutDir)\$(TargetName).exe $(OutDir)\$(TargetName).ex_
239 239
240# End Custom Build 240# End Custom Build
241 241
242!ELSEIF "$(CFG)" == "Install - Win32 Release" 242!ELSEIF "$(CFG)" == "Install - Win32 Release"
243 243
244# PROP BASE Use_MFC 2 244# PROP BASE Use_MFC 2
245# PROP BASE Use_Debug_Libraries 0 245# PROP BASE Use_Debug_Libraries 0
246# PROP BASE Output_Dir "Install\Release" 246# PROP BASE Output_Dir "Install\Release"
247# PROP BASE Intermediate_Dir "Install\Release" 247# PROP BASE Intermediate_Dir "Install\Release"
248# PROP BASE Target_Dir "Install" 248# PROP BASE Target_Dir "Install"
@@ -402,75 +402,111 @@ LINK32_OBJS= \
402 402
403"$(OUTDIR)\Install.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) 403"$(OUTDIR)\Install.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
404 $(LINK32) @<< 404 $(LINK32) @<<
405 $(LINK32_FLAGS) $(LINK32_OBJS) 405 $(LINK32_FLAGS) $(LINK32_OBJS)
406<< 406<<
407 407
408!ENDIF 408!ENDIF
409 409
410################################################################################ 410################################################################################
411# Begin Target 411# Begin Target
412 412
413# Name "KINSole - Win32 Release" 413# Name "KINSole - Win32 Release"
414# Name "KINSole - Win32 Debug" 414# Name "KINSole - Win32 Debug"
415 415
416!IF "$(CFG)" == "KINSole - Win32 Release" 416!IF "$(CFG)" == "KINSole - Win32 Release"
417 417
418!ELSEIF "$(CFG)" == "KINSole - Win32 Debug" 418!ELSEIF "$(CFG)" == "KINSole - Win32 Debug"
419 419
420!ENDIF 420!ENDIF
421 421
422################################################################################ 422################################################################################
423# Begin Source File 423# Begin Source File
424 424
425SOURCE=.\KINSole.cpp 425SOURCE=.\KINSole.cpp
426
427!IF "$(CFG)" == "KINSole - Win32 Release"
428
426DEP_CPP_KINSO=\ 429DEP_CPP_KINSO=\
427 ".\NAWS.cpp"\ 430 ".\NAWS.cpp"\
428 ".\NEW-ENVIRON.cpp"\ 431 ".\NEW-ENVIRON.cpp"\
429 ".\options.cpp"\ 432 ".\options.cpp"\
430 ".\status.cpp"\ 433 ".\status.cpp"\
431 ".\terminal.cpp"\ 434 ".\terminal.cpp"\
432 ".\TIMING-MARK.cpp"\ 435 ".\TIMING-MARK.cpp"\
433 ".\TTY.cpp"\ 436 ".\TTY.cpp"\
434 ".\VT100.cpp"\ 437 ".\VT100.cpp"\
435 438
436 439
437"$(INTDIR)\KINSole.obj" : $(SOURCE) $(DEP_CPP_KINSO) "$(INTDIR)" 440"$(INTDIR)\KINSole.obj" : $(SOURCE) $(DEP_CPP_KINSO) "$(INTDIR)"
438 441
439 442
443!ELSEIF "$(CFG)" == "KINSole - Win32 Debug"
444
445DEP_CPP_KINSO=\
446 ".\NAWS.cpp"\
447 ".\NEW-ENVIRON.cpp"\
448 ".\options.cpp"\
449 ".\status.cpp"\
450 ".\terminal.cpp"\
451 ".\TIMING-MARK.cpp"\
452 ".\TTY.cpp"\
453 ".\VT100.cpp"\
454
455
456"$(INTDIR)\KINSole.obj" : $(SOURCE) $(DEP_CPP_KINSO) "$(INTDIR)"
457
458
459!ENDIF
460
440# End Source File 461# End Source File
441################################################################################ 462################################################################################
442# Begin Source File 463# Begin Source File
443 464
444SOURCE=.\kinsole.rc 465SOURCE=.\kinsole.rc
466
467!IF "$(CFG)" == "KINSole - Win32 Release"
468
445DEP_RSC_KINSOL=\ 469DEP_RSC_KINSOL=\
446 ".\res\kinsole.ico"\ 470 ".\res\kinsole.ico"\
447 471
448 472
449"$(INTDIR)\KINSole.res" : $(SOURCE) $(DEP_RSC_KINSOL) "$(INTDIR)" 473"$(INTDIR)\kinsole.res" : $(SOURCE) $(DEP_RSC_KINSOL) "$(INTDIR)"
450 $(RSC) $(RSC_PROJ) $(SOURCE) 474 $(RSC) $(RSC_PROJ) $(SOURCE)
451 475
452 476
477!ELSEIF "$(CFG)" == "KINSole - Win32 Debug"
478
479DEP_RSC_KINSOL=\
480 ".\res\kinsole.ico"\
481
482
483"$(INTDIR)\kinsole.res" : $(SOURCE) $(DEP_RSC_KINSOL) "$(INTDIR)"
484 $(RSC) $(RSC_PROJ) $(SOURCE)
485
486
487!ENDIF
488
453# End Source File 489# End Source File
454################################################################################ 490################################################################################
455# Begin Source File 491# Begin Source File
456 492
457SOURCE=.\VT100.cpp 493SOURCE=.\VT100.cpp
458# PROP Exclude_From_Build 1 494# PROP Exclude_From_Build 1
459# End Source File 495# End Source File
460################################################################################ 496################################################################################
461# Begin Source File 497# Begin Source File
462 498
463SOURCE=".\NEW-ENVIRON.cpp" 499SOURCE=".\NEW-ENVIRON.cpp"
464# PROP Exclude_From_Build 1 500# PROP Exclude_From_Build 1
465# End Source File 501# End Source File
466################################################################################ 502################################################################################
467# Begin Source File 503# Begin Source File
468 504
469SOURCE=.\help\kinsole.hpj 505SOURCE=.\help\kinsole.hpj
470 506
471!IF "$(CFG)" == "KINSole - Win32 Release" 507!IF "$(CFG)" == "KINSole - Win32 Release"
472 508
473# Begin Custom Build - Building Help 509# Begin Custom Build - Building Help
474OutDir=.\Release 510OutDir=.\Release
475TargetName=kinsole 511TargetName=kinsole
476InputPath=.\help\kinsole.hpj 512InputPath=.\help\kinsole.hpj
diff --git a/kinsole.rc b/kinsole.rc
index b789f37..6e45d44 100644
--- a/kinsole.rc
+++ b/kinsole.rc
@@ -42,73 +42,73 @@ BEGIN
42END 42END
43 43
442 TEXTINCLUDE DISCARDABLE 442 TEXTINCLUDE DISCARDABLE
45BEGIN 45BEGIN
46 "#include ""afxres.h""\r\n" 46 "#include ""afxres.h""\r\n"
47 "\0" 47 "\0"
48END 48END
49 49
503 TEXTINCLUDE DISCARDABLE 503 TEXTINCLUDE DISCARDABLE
51BEGIN 51BEGIN
52 "\r\n" 52 "\r\n"
53 "\0" 53 "\0"
54END 54END
55 55
56#endif // APSTUDIO_INVOKED 56#endif // APSTUDIO_INVOKED
57 57
58 58
59#ifndef _MAC 59#ifndef _MAC
60///////////////////////////////////////////////////////////////////////////// 60/////////////////////////////////////////////////////////////////////////////
61// 61//
62// Version 62// Version
63// 63//
64 64
65VS_VERSION_INFO VERSIONINFO 65VS_VERSION_INFO VERSIONINFO
66 FILEVERSION 1,0,0,3 66 FILEVERSION 1,1,0,0
67 PRODUCTVERSION 1,0,0,3 67 PRODUCTVERSION 1,1,0,0
68 FILEFLAGSMASK 0x3fL 68 FILEFLAGSMASK 0x3fL
69#ifdef _DEBUG 69#ifdef _DEBUG
70 FILEFLAGS 0x29L 70 FILEFLAGS 0x29L
71#else 71#else
72 FILEFLAGS 0x28L 72 FILEFLAGS 0x28L
73#endif 73#endif
74 FILEOS 0x4L 74 FILEOS 0x4L
75 FILETYPE 0x1L 75 FILETYPE 0x1L
76 FILESUBTYPE 0x3L 76 FILESUBTYPE 0x3L
77BEGIN 77BEGIN
78 BLOCK "StringFileInfo" 78 BLOCK "StringFileInfo"
79 BEGIN 79 BEGIN
80 BLOCK "040904b0" 80 BLOCK "040904b0"
81 BEGIN 81 BEGIN
82 VALUE "CompanyName", "Klever Group (http://www.klever.net)\0" 82 VALUE "CompanyName", "Klever Group (http://www.klever.net)\0"
83 VALUE "FileDescription", "KINSole, telnet client\0" 83 VALUE "FileDescription", "KINSole, telnet client\0"
84 VALUE "FileVersion", "1, 0, 0, 3\0" 84 VALUE "FileVersion", "1, 1, 0, 0\0"
85 VALUE "InternalName", "KINSOLE\0" 85 VALUE "InternalName", "KINSOLE\0"
86 VALUE "LegalCopyright", "Copyright © 1998, 2002 Klever Group (http://www.klever.net/)\0" 86 VALUE "LegalCopyright", "Copyright © 1998-2004 Klever Group (http://www.klever.net/)\0"
87 VALUE "LegalTrademarks", "Klever Group (http://www.klevernet/)\0" 87 VALUE "LegalTrademarks", "Klever Group (http://www.klevernet/)\0"
88 VALUE "OriginalFilename", "KINSOLE.EXE\0" 88 VALUE "OriginalFilename", "KINSOLE.EXE\0"
89 VALUE "ProductName", "KINSole\0" 89 VALUE "ProductName", "KINSole\0"
90 VALUE "ProductVersion", "1, 0, 0, 3\0" 90 VALUE "ProductVersion", "1, 1, 0, 0\0"
91 END 91 END
92 END 92 END
93 BLOCK "VarFileInfo" 93 BLOCK "VarFileInfo"
94 BEGIN 94 BEGIN
95 VALUE "Translation", 0x409, 1200 95 VALUE "Translation", 0x409, 1200
96 END 96 END
97END 97END
98 98
99#endif // !_MAC 99#endif // !_MAC
100 100
101#endif // English (U.S.) resources 101#endif // English (U.S.) resources
102///////////////////////////////////////////////////////////////////////////// 102/////////////////////////////////////////////////////////////////////////////
103 103
104 104
105 105
106#ifndef APSTUDIO_INVOKED 106#ifndef APSTUDIO_INVOKED
107///////////////////////////////////////////////////////////////////////////// 107/////////////////////////////////////////////////////////////////////////////
108// 108//
109// Generated from the TEXTINCLUDE 3 resource. 109// Generated from the TEXTINCLUDE 3 resource.
110// 110//
111 111
112 112
113///////////////////////////////////////////////////////////////////////////// 113/////////////////////////////////////////////////////////////////////////////
114#endif // not APSTUDIO_INVOKED 114#endif // not APSTUDIO_INVOKED