summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--COPYING2
-rw-r--r--bigbrother.rc14
-rw-r--r--help/bigbrother.rtf4
-rw-r--r--help/bigbrother.xml5
-rw-r--r--install/install.cpp8
-rw-r--r--install/install.rc10
6 files changed, 27 insertions, 16 deletions
diff --git a/COPYING b/COPYING
index 427b0ba..fa23ff9 100644
--- a/COPYING
+++ b/COPYING
@@ -1,19 +1,19 @@
-Copyright (c) 1996-2004 Klever Group (http://www.klever.net/)
+Copyright (c) 1996-2005 Klever Group (http://www.klever.net/)
Permission 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:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
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.
diff --git a/bigbrother.rc b/bigbrother.rc
index e4c335f..d7aedec 100644
--- a/bigbrother.rc
+++ b/bigbrother.rc
@@ -48,540 +48,540 @@ BEGIN
"#ifdef _WIN32\r\n"
"LANGUAGE 9, 1\r\n"
"#pragma code_page(1252)\r\n"
"#endif\r\n"
"#include ""res\\BigBrother.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
"#include ""afxres.rc"" // Standard components\r\n"
"#include ""afxprint.rc"" // printing/print preview resources\r\n"
"#endif\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME ICON DISCARDABLE "res\\bigbrother.ico"
IDR_BIGBROTYPE ICON DISCARDABLE "res\\BigBrotherDoc.ico"
IDI_NOHOST ICON DISCARDABLE "res\\nohost.ico"
IDI_PENDING ICON DISCARDABLE "res\\pending.ico"
IDI_HOST ICON DISCARDABLE "res\\host.ico"
IDI_PINGING ICON DISCARDABLE "res\\pinging.ico"
IDI_GOINGDOWN ICON DISCARDABLE "res\\goingdown.ico"
IDI_HOSTDOWN ICON DISCARDABLE "res\\hostdown.ico"
IDI_PREPLAY ICON DISCARDABLE "shared-data/play-icon.ico"
IDI_BROWSESOUND ICON DISCARDABLE "shared-data/browse-icon.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDR_MAINFRAME BITMAP MOVEABLE PURE "res\\maintoolbar.bmp"
IDR_JUNKTOOLBAR BITMAP DISCARDABLE "res\\junktoolbar.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// Toolbar
//
IDR_MAINFRAME TOOLBAR DISCARDABLE 16, 15
BEGIN
BUTTON ID_FILE_NEW
BUTTON ID_FILE_OPEN
BUTTON ID_FILE_SAVE
SEPARATOR
BUTTON ID_BROTHERS_NEW
BUTTON ID_BROTHERS_ADDBROTHER
BUTTON ID_BROTHERS_DELETE
SEPARATOR
BUTTON ID_VIEW_HOSTPROPERTIES
BUTTON ID_FILE_PAUSE
SEPARATOR
BUTTON ID_APP_ABOUT
BUTTON ID_CONTEXT_HELP
BUTTON ID_HELP_LEGEND
END
IDR_JUNKTOOLBAR TOOLBAR DISCARDABLE 16, 15
BEGIN
BUTTON ID_FILE_PRINT
BUTTON ID_EDIT_CUT
BUTTON ID_EDIT_COPY
BUTTON ID_EDIT_PASTE
END
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDR_MAINFRAME MENU PRELOAD DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&New\tCtrl+N", ID_FILE_NEW
MENUITEM "&Open...\tCtrl+O", ID_FILE_OPEN
MENUITEM "&Save\tCtrl+S", ID_FILE_SAVE
MENUITEM "Save &As...", ID_FILE_SAVE_AS
MENUITEM SEPARATOR
MENUITEM "&Autoload", ID_FILE_AUTOLOAD
MENUITEM "Preferences\tCtrl+P", ID_FILE_PREFERENCES
MENUITEM "&Pause", ID_FILE_PAUSE
MENUITEM SEPARATOR
MENUITEM "Recent File", ID_FILE_MRU_FILE1, GRAYED
MENUITEM SEPARATOR
MENUITEM "E&xit", ID_APP_EXIT
END
POPUP "&Brother"
BEGIN
MENUITEM "Add &child", ID_BROTHERS_NEW
MENUITEM "Add &brother", ID_BROTHERS_ADDBROTHER
MENUITEM "&Delete", ID_BROTHERS_DELETE
END
POPUP "&View"
BEGIN
MENUITEM "&Toolbar", ID_VIEW_TOOLBAR
MENUITEM "&Status Bar", ID_VIEW_STATUS_BAR
MENUITEM "Adjust s&plitter", ID_WINDOW_SPLIT
MENUITEM SEPARATOR
MENUITEM "&Main Window", ID_VIEW_MAINWINDOW
MENUITEM "&Host Properties", ID_VIEW_HOSTPROPERTIES
END
POPUP "&Help"
BEGIN
MENUITEM "&Help Topics", ID_HELP_FINDER
MENUITEM "&Legend", ID_HELP_LEGEND
MENUITEM SEPARATOR
MENUITEM "&About BigBrother...", ID_APP_ABOUT
END
END
IDM_POPUPS MENU DISCARDABLE
BEGIN
POPUP "Tray"
BEGIN
MENUITEM "&Show main window", ID_VIEW_MAINWINDOW
MENUITEM SEPARATOR
MENUITEM "&Help Topics", ID_HELP_FINDER
MENUITEM "&About Big Brother", ID_APP_ABOUT
MENUITEM "E&xit", ID_APP_EXIT
END
POPUP "Junk"
BEGIN
MENUITEM "PingBar", ID_INDICATOR_PINGBAR
POPUP "&Edit"
BEGIN
MENUITEM "&Undo\tCtrl+Z", ID_EDIT_UNDO
MENUITEM SEPARATOR
MENUITEM "Cu&t\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE
END
MENUITEM SEPARATOR
MENUITEM "&Print...\tCtrl+P", ID_FILE_PRINT
MENUITEM "Print Pre&view", ID_FILE_PRINT_PREVIEW
MENUITEM "P&rint Setup...", ID_FILE_PRINT_SETUP
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
BEGIN
"N", ID_FILE_NEW, VIRTKEY, CONTROL, NOINVERT
"O", ID_FILE_OPEN, VIRTKEY, CONTROL, NOINVERT
"P", ID_FILE_PREFERENCES, VIRTKEY, CONTROL, NOINVERT
"S", ID_FILE_SAVE, VIRTKEY, CONTROL, NOINVERT
VK_DELETE, ID_BROTHERS_DELETE, VIRTKEY, NOINVERT
VK_DELETE, ID_BROTHERS_DELETE, VIRTKEY, NOINVERT
VK_F1, ID_HELP, VIRTKEY, NOINVERT
VK_F1, ID_CONTEXT_HELP, VIRTKEY, SHIFT, NOINVERT
VK_F6, ID_NEXT_PANE, VIRTKEY, NOINVERT
VK_F6, ID_PREV_PANE, VIRTKEY, SHIFT, NOINVERT
VK_INSERT, ID_BROTHERS_NEW, VIRTKEY, NOINVERT
"X", ID_APP_EXIT, VIRTKEY, ALT, NOINVERT
END
IDR_JUNKACCELERATOR ACCELERATORS DISCARDABLE
BEGIN
"C", ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
"P", ID_FILE_PRINT, VIRTKEY, CONTROL, NOINVERT
"V", ID_EDIT_PASTE, VIRTKEY, CONTROL, NOINVERT
VK_BACK, ID_EDIT_UNDO, VIRTKEY, ALT, NOINVERT
VK_DELETE, ID_EDIT_CUT, VIRTKEY, SHIFT, NOINVERT
VK_INSERT, ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
VK_INSERT, ID_EDIT_PASTE, VIRTKEY, SHIFT, NOINVERT
"X", ID_EDIT_CUT, VIRTKEY, CONTROL, NOINVERT
"Z", ID_EDIT_UNDO, VIRTKEY, CONTROL, NOINVERT
END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 74
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About Big Brother"
FONT 8, "MS Sans Serif"
BEGIN
ICON IDR_MAINFRAME,IDC_STATIC,13,16,18,20
- LTEXT "Big Brother, Version 1.5",IDC_STATIC,48,16,119,8,
+ LTEXT "Big Brother, Version 1.5.1",IDC_STATIC,48,16,119,8,
SS_NOPREFIX
- LTEXT "Copyright © 1996-2004 Klever Group",IDC_STATIC,48,31,119,8
+ LTEXT "Copyright © 1996-2005 Klever Group",IDC_STATIC,48,31,119,8
DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP
PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,65,53,86,14
END
IDD_PROPS_SETTINGS DIALOG DISCARDABLE 0, 0, 220, 90
STYLE DS_3DLOOK | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Settings"
FONT 8, "MS Sans Serif"
BEGIN
GROUPBOX "",IDC_STATIC,7,7,206,45,BS_NOTIFY
CONTROL "Ping &Intervals",IDC_OVERRIDE_INTERVALS,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,14,7,55,10
LTEXT "When the host is known as reach&able:",IDC_STATIC,14,18,
122,8
EDITTEXT IDC_PINGINTERVAL_GOOD,165,16,40,13,ES_AUTOHSCROLL
LTEXT "When the host is known as &unreachable:",IDC_STATIC,14,
32,130,8
EDITTEXT IDC_PINGINTERVAL_BAD,165,30,40,13,ES_AUTOHSCROLL
CONTROL "Maximum ping reply &timeout:",IDC_OVERRIDE_TIMEOUT,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,56,104,10
EDITTEXT IDC_PINGTIMEOUT,165,55,40,13,ES_AUTOHSCROLL
CONTROL "Maimum &retries count:",IDC_OVERRIDE_RETRIES,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,14,70,85,10
EDITTEXT IDC_RETRIES,165,70,40,13,ES_AUTOHSCROLL
END
IDD_PROPS_GENERAL DIALOG DISCARDABLE 0, 0, 221, 90
STYLE DS_3DLOOK | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "General"
FONT 8, "MS Sans Serif"
BEGIN
LTEXT "&Host:",IDC_STATIC,7,7,18,8
EDITTEXT IDC_HOST,7,17,205,13,ES_LOWERCASE | ES_AUTOHSCROLL
LTEXT "&Description:",IDC_STATIC,7,33,38,8
EDITTEXT IDC_DESC,7,44,205,13,ES_AUTOHSCROLL
CONTROL "&Log host's activity",IDC_LOG_ACTIVITY,"Button",
BS_AUTO3STATE | BS_PUSHLIKE | WS_TABSTOP,7,63,205,14
END
IDD_PROPS_ACTION DIALOG DISCARDABLE 0, 0, 220, 90
STYLE DS_3DLOOK | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Action"
FONT 8, "MS Sans Serif"
BEGIN
CONTROL "&Override Action",IDC_OVERRIDE_ACTION,"Button",
BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP,7,7,208,11
GROUPBOX "Going down",IDC_STATIC,7,20,102,63
CONTROL "&Play a sound:",IDC_PLAYASOUND_DOWN,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,13,29,59,10
COMBOBOX IDC_SOUND_DOWN,13,40,91,43,CBS_DROPDOWN |
CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "",IDC_BROWSE_SOUND_DOWN,78,29,12,10,BS_ICON | BS_CENTER |
BS_VCENTER | BS_NOTIFY
PUSHBUTTON "",IDC_PREVIEW_SOUND_DOWN,92,29,12,10,BS_ICON |
BS_CENTER | BS_VCENTER | BS_NOTIFY
CONTROL "&Run custom program:",IDC_CUSTOM_DOWN,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,13,55,83,10
EDITTEXT IDC_PROGRAM_DOWN,13,66,91,12,ES_AUTOHSCROLL
GROUPBOX "Going up",IDC_STATIC,111,20,102,63
CONTROL "P&lay a sound:",IDC_PLAYASOUND_UP,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,117,29,59,10
COMBOBOX IDC_SOUND_UP,117,40,91,43,CBS_DROPDOWN | CBS_AUTOHSCROLL |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "",IDC_BROWSE_SOUND_UP,182,29,12,10,BS_ICON | BS_CENTER |
BS_VCENTER | BS_NOTIFY
PUSHBUTTON "",IDC_PREVIEW_SOUND_UP,196,29,12,10,BS_ICON | BS_CENTER |
BS_VCENTER | BS_NOTIFY
CONTROL "R&un custom program:",IDC_CUSTOM_UP,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,117,55,83,10
EDITTEXT IDC_PROGRAM_UP,117,66,91,12,ES_AUTOHSCROLL
END
IDD_PREFS DIALOGEX 0, 0, 191, 156
STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION
EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE
CAPTION "Preferences"
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
GROUPBOX "Save options",IDC_STATIC,7,7,121,41
CONTROL "On windows shut&down save without confirmation.",
IDC_SAVEONSHUTDOWN,"Button",BS_AUTOCHECKBOX | BS_CENTER |
BS_MULTILINE | BS_NOTIFY | WS_TABSTOP,13,15,110,16
LTEXT "&Autosave every",IDC_STATIC,13,35,50,8
EDITTEXT IDC_AUTOSAVEMINS,67,33,27,12,ES_AUTOHSCROLL
CONTROL "Spin1",IDC_AUTOSPIN,"msctls_updown32",UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
UDS_ARROWKEYS | UDS_NOTHOUSANDS,82,33,11,12
LTEXT "minutes",IDC_STATIC,99,35,25,8
GROUPBOX "ICMP options",IDC_STATIC,7,49,177,37
LTEXT "&Ping data packet size:",IDC_STATIC,13,59,71,8,
SS_NOTIFY
EDITTEXT IDC_PINGSIZE,87,57,35,12,ES_AUTOHSCROLL
CONTROL "Spin2",IDC_DATASIZESPIN,"msctls_updown32",UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
UDS_ARROWKEYS | UDS_NOTHOUSANDS,106,57,11,12
LTEXT "bytes",IDC_STATIC,125,59,18,8
LTEXT "&hosts simultaneously",IDC_STATIC,63,72,65,8
EDITTEXT IDC_MAXTHREADS,33,70,27,12,ES_AUTOHSCROLL
CONTROL "Spin3",IDC_THREADSPIN,"msctls_updown32",UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
UDS_ARROWKEYS | UDS_NOTHOUSANDS,50,70,10,12
LTEXT "Ping ",IDC_STATIC,13,72,17,8
GROUPBOX "Watch options",IDC_STATIC,7,88,177,61
LTEXT "Log to &file:",IDC_STATIC,13,96,34,8
EDITTEXT IDC_LOGFILE,13,106,150,13,ES_AUTOHSCROLL
PUSHBUTTON "",IDC_BROWSE,166,106,14,13,BS_ICON | BS_CENTER |
BS_VCENTER | BS_NOTIFY
LTEXT "Show &last ",IDC_STATIC,13,122,34,8
EDITTEXT IDC_LOGMINS,47,120,27,12,ES_AUTOHSCROLL
CONTROL "Spin1",IDC_LOGMINSPIN,"msctls_updown32",UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
UDS_ARROWKEYS | UDS_NOTHOUSANDS,64,120,10,12
LTEXT "minutes in activity pane",IDC_STATIC,79,122,74,8,
SS_NOTIFY
DEFPUSHBUTTON "OK",IDOK,134,14,50,14
PUSHBUTTON "Cancel",IDCANCEL,134,31,50,14
CONTROL "&Store recent activity pane data",IDC_STOREACTIVITY,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,31,134,113,10
END
#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 1,5,0,0
- PRODUCTVERSION 1,5,0,0
+ FILEVERSION 1,5,1,0
+ PRODUCTVERSION 1,5,1,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0"
VALUE "FileDescription", "Big Brother, network monitoring tool\0"
- VALUE "FileVersion", "1, 5, 0, 0\0"
+ VALUE "FileVersion", "1, 5, 1, 0\0"
VALUE "InternalName", "BIGBROTHER\0"
- VALUE "LegalCopyright", "Copyright © 1996-2004 Klever Group (http://www.klever.net/)\0"
+ VALUE "LegalCopyright", "Copyright © 1996-2005 Klever Group (http://www.klever.net/)\0"
VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0"
VALUE "OriginalFilename", "BIGBRO.EXE\0"
VALUE "ProductName", "Big Brother\0"
- VALUE "ProductVersion", "1, 5, 0, 0\0"
+ VALUE "ProductVersion", "1, 5, 1, 0\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_ABOUTBOX, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 210
TOPMARGIN, 7
BOTTOMMARGIN, 67
END
IDD_PROPS_SETTINGS, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 213
TOPMARGIN, 7
BOTTOMMARGIN, 83
END
IDD_PROPS_GENERAL, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 214
TOPMARGIN, 7
BOTTOMMARGIN, 83
END
IDD_PROPS_ACTION, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 213
VERTGUIDE, 110
TOPMARGIN, 7
BOTTOMMARGIN, 83
HORZGUIDE, 20
END
IDD_PREFS, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 184
TOPMARGIN, 7
BOTTOMMARGIN, 149
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Dialog Info
//
IDD_PROPS_ACTION DLGINIT
BEGIN
IDC_SOUND_DOWN, 0x403, 10, 0
0x6828, 0x736f, 0x2d74, 0x7075, 0x0029,
IDC_SOUND_DOWN, 0x403, 12, 0
0x6828, 0x736f, 0x2d74, 0x6f64, 0x6e77, 0x0029,
IDC_SOUND_DOWN, 0x403, 12, 0
0x7328, 0x7379, 0x6574, 0x2d6d, 0x6b6f, 0x0029,
IDC_SOUND_DOWN, 0x403, 18, 0
0x7328, 0x7379, 0x6574, 0x2d6d, 0x7263, 0x7469, 0x6369, 0x6c61, 0x0029,
IDC_SOUND_UP, 0x403, 10, 0
0x6828, 0x736f, 0x2d74, 0x7075, 0x0029,
IDC_SOUND_UP, 0x403, 12, 0
0x6828, 0x736f, 0x2d74, 0x6f64, 0x6e77, 0x0029,
IDC_SOUND_UP, 0x403, 12, 0
0x7328, 0x7379, 0x6574, 0x2d6d, 0x6b6f, 0x0029,
IDC_SOUND_UP, 0x403, 18, 0
0x7328, 0x7379, 0x6574, 0x2d6d, 0x7263, 0x7469, 0x6369, 0x6c61, 0x0029,
0
END
/////////////////////////////////////////////////////////////////////////////
//
// AVI
//
IDR_PINGBAR AVI DISCARDABLE "res\\3angle.avi"
/////////////////////////////////////////////////////////////////////////////
//
// WAVE
//
IDW_HOST_UP WAVE DISCARDABLE "res\\host-up.wav"
IDW_HOST_DOWN WAVE DISCARDABLE "res\\host-down.wav"
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed."
IDS_PROPS_TITLE "Properties"
IDS_LOG_DOLOG "&Log host activity"
IDS_LOG_DONTLOG "Don't &Log host activity"
IDS_LOG_ASKBIGBROTHER "&Log if parent does"
IDS_NODESC "..no description.."
IDS_PS_FAILEDTORESOLVE "Failed to resolve host"
IDS_PS_UNABLETOICMP "Failed to request ICMP service"
END
STRINGTABLE PRELOAD DISCARDABLE
BEGIN
IDR_MAINFRAME "Big Brother\n\nBigBro\nBig Brother Files (*.bro)\n.BRO\nBigBrother.Document\nBigBro Document"
IDS_PS_UNKNOWNERROR "Unkown error %lu"
IDS_REGISTRYKEY "Klever Group"
IDS_AVIEW_NOTIP "Host(s) activity"
IDS_AVIEW_SHORTTIP "%s (%s)"
IDS_AVIEW_TIP_TIMEFORMAT "%c"
IDS_AVIEW_TIP_UNPINGED "no timing information"
IDS_AVIEW_TIP_UNREACHABLE "not reached"
IDS_AVIEW_TIP_RTTREPORT "RTT = %lu"
IDS_ROOTNODENAME "Global Settings"
IDS_WAVFILTER "Wave files (*.wav)|*.wav|All files (*.*)|*.*|"
IDS_ACTION_HOST_UP "(host-up)"
IDS_ACTION_HOST_DOWN "(host-down)"
IDS_LOGFILTER "Log files (*.log)|*.log|All files (*.*)|*.*|"
IDS_LOG_HOSTUP "%s (%s) has changed state to up"
IDS_LOG_HOSTDOWN "%s (%s) has changed state to down"
END
STRINGTABLE PRELOAD DISCARDABLE
BEGIN
AFX_IDS_APP_TITLE "BigBrother"
AFX_IDS_IDLEMESSAGE "For Help, press F1"
AFX_IDS_HELPMODEMESSAGE "Select an object on which to get Help"
END
STRINGTABLE DISCARDABLE
BEGIN
ID_INDICATOR_EXT "EXT"
ID_INDICATOR_CAPS "CAP"
ID_INDICATOR_NUM "NUM"
ID_INDICATOR_SCRL "SCRL"
ID_INDICATOR_OVR "OVR"
ID_INDICATOR_REC "REC"
END
STRINGTABLE DISCARDABLE
BEGIN
ID_FILE_NEW "Create a new document\nNew"
ID_FILE_OPEN "Open an existing document\nOpen"
ID_FILE_CLOSE "Close the active document\nClose"
ID_FILE_SAVE "Save the active document\nSave"
ID_FILE_SAVE_AS "Save the active document with a new name\nSave As"
ID_FILE_PAGE_SETUP "Change the printing options\nPage Setup"
ID_FILE_PRINT_SETUP "Change the printer and printing options\nPrint Setup"
ID_FILE_PRINT "Print the active document\nPrint"
ID_FILE_PRINT_PREVIEW "Display full pages\nPrint Preview"
END
STRINGTABLE DISCARDABLE
BEGIN
ID_APP_ABOUT "Display program information, version number and copyright\nAbout"
ID_APP_EXIT "Quit the application; prompts to save documents\nExit"
ID_HELP_INDEX "Opens Help\nHelp Topics"
ID_HELP_FINDER "List Help topics\nHelp Topics"
ID_HELP_USING "Display instructions about how to use help\nHelp"
ID_CONTEXT_HELP "Display help for clicked on buttons, menus and windows\nHelp"
ID_HELP "Display help for current task or command\nHelp"
END
STRINGTABLE DISCARDABLE
BEGIN
ID_FILE_MRU_FILE1 "Open this document"
ID_FILE_MRU_FILE2 "Open this document"
ID_FILE_MRU_FILE3 "Open this document"
ID_FILE_MRU_FILE4 "Open this document"
diff --git a/help/bigbrother.rtf b/help/bigbrother.rtf
index e16c646..c2ae976 100644
--- a/help/bigbrother.rtf
+++ b/help/bigbrother.rtf
@@ -1,230 +1,232 @@
{\rtf1\ansi
@{\footnote
THIS FILE WAS AUTOMATICALLY GENERATED FROM XML DOCUMENT.
DO NOT MODIFY THIS FILE DIRECTLY. EDIT XML DOCUMENT INSTEAD
}
{\fonttbl{\f0\froman Times New Roman;}{\f1\fswiss Arial;}{\f3\froman Symbol;}}{\colortbl;
\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;
\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;
\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;
\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}
\pard\plain\keepn
#{\footnote About}
${\footnote About Big Brother}
K{\footnote about}
{ \f1\fs18\b\sb120 About {\b Big Brother}}
\par\sa120\sb120\qr\f1\fs16 dedicated to Kundel
\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b Big Brother} is a program designed to monitor your IP-network activities. it gives you a comprehensive picture of what happened to any point on the Net that you put in. Just {\uldb add}{\v Add} this point by specifying it's IP address or hostname and optional short description (for your information only).
\par\sa120\sb120\qj\pard \f1\fs18\sb120 The hosts are organized into a hierarchical tree so that you may configure your network picture according to your needs and imagination. Most of the father host properties are inherited by his children unless you wish to specify child's settings explicitly.
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Every specified period of time {\b Big Brother} will send echo request to every host. And wait for response for at most specified {\uldb timeout}{\v timeOutHIDD_PROPS_SETTINGS}.
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Results are presented in a graphical form in the lower pane. Each line of the lower window is related to specific host which is shown on the tooltip when you move your mouse over the graphics. Host activities are also {\uldb logged into file}{\v fileHIDD_PREFS}.
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Your current {\uldb preferences}{\v HIDD_PREFS} and network tree are automatically saved on Windows shutdown (unless specified otherwise) and may be {\uldb autosaved}{\v autosaveHIDD_PREFS} every specified amount of minutes. Most recently used {\uldb file}{\v MRUFile} is {\uldb automatically loaded}{\v HID_FILE_AUTOLOAD} at {\b Big Brother}'s startup unless you don't want it.
\par\sa120\sb120\qj\pard \f1\fs18\sb120 You can also hide {\b Big Brother} into your notify tray so that it won't occupy more than 16x16 square of your precious windows' desktop. Just click \{bmct bbullet.bmp\} in your notify tray or select {\uldb View/Main Window}{\v HID_VIEW_MAINWINDOW} from menu. Click \{bmct bbullet.bmp\} again to restore {\b Big Brother} to its full size.
\par\sa120\sb120\qj\pard \f1\fs18\sb120
\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b {\i Enjoy!}}
{
-\par\pard\plain\sb360\sa120 \f1\fs16 Copyright (c) 1996-2004 {\uldb\cf0 Klever Group (http://www.klever.net/)}{\v %!ExecFile("http://www.klever.net/")}
+\par\pard\plain\sb360\sa120 \f1\fs16 Copyright (c) 1996-2005 {\uldb\cf0 Klever Group (http://www.klever.net/)}{\v %!ExecFile("http://www.klever.net/")}
\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:
\par The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
\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.
}
\par \sa0\sb120\ql \f1\fs16 Author: {\b\uldb\cf11 Michael Krelin ({\i hacker@klever.net})}{\v %!ExecFile("mailto:hacker@klever.net")}
\par \sa0\sb0 Fan mail send to {\i\uldb gefilte@klever.net}{\v %!ExecFile("mailto:gefilte@klever.net")}
\page
\pard\plain
#{\footnote News}
${\footnote What's New}
+\par\pard\plain\f1\fs24\qc\cf2\b 1.5.1 - August 6th, 2005
+\par\pard\plain\fi0\li0\f1\fs18 \bullet Fixed uninstall procedure so that it works on XP
\par\pard\plain\f1\fs24\qc\cf2\b 1.5 - July 11th, 2004
\par\pard\plain\fi0\li0\f1\fs18 \bullet License change and opening the source code
\par\pard\plain\fi0\li0\f1\fs18 \bullet Made it work with Win2k and friends
\par\pard\plain\fi0\li0\f1\fs18 \bullet Added kinwide installer
\page
\pard\plain\keepn
#{\footnote Using}
${\footnote Using Big Brother}
{ \f1\fs18\b\sb120 Using {\b Big Brother}}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Using {\b Big Brother} consists of two parts - designing your network tree and monitoring it's activity. The latter takes no effort of yours.
\par\sa120\sb120\qj\pard \f1\fs18\sb120 To design the network layout is to put your hosts into Network Tree pane. To {\uldb add a child host}{\v HID_BROTHERS_NEW} to the current just press insert or Select Brothers/Add child from menu. To {\uldb add a brother}{\v HID_BROTHERS_ADDBROTHER} of the current host select Brothers/Add brother from menu. (note: You can't add brother to the root node)
\par\sa120\sb120\qj\pard \f1\fs18\sb120 You may also show {\uldb properties}{\v HostProps} dialog box by selecting View/Host Properties menu. {\uldb Properties}{\v HostProps} dialog box also pops up automatically whenever you press {\b Enter} in the tree view pane.
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Monitoring your network activities is even easier. You just relax and watch the screen (or listen to your speakers if you have ones). Network activities are reflected using the lower host activity pane and icons in the tree view. The possible states of the host are:\pard
\par \fi0\li0 \bullet \{bmct IDI_NOHOST.bmp\}{\b Network} - you haven't specified host name or ip address for this host. The only reason that makes sense is that you probably want to use this node as a father for family of hosts.
\par \fi0\li0 \bullet \{bmct IDI_PINGING.bmp\}{\b In progress} - checking of this host is in progress.
\par \fi0\li0 \bullet \{bmct IDI_HOST.bmp\}{\b Reachable host} - this host is reachable and you have no reason to worry about it.
\par \fi0\li0 \bullet \{bmct IDI_GOINGDOWN.bmp\}{\b Worrisome host} - this host was reported as unreachable, but less than for specified {\uldb retries}{\v HIDD_PROPS_SETTINGS} times.
\par \fi0\li0 \bullet \{bmct IDI_HOSTDOWN.bmp\}{\b Unreachable host} - this host is known as unreachable for a long time. Whenever the host enters or leaves this state specified {\uldb actions}{\v HIDD_PROPS_ACTION} are taken.\pard
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Lower pane shows a histogram of response times for a {\uldb specified}{\v logLengthHIDD_PREFS} amount of time. Histograms are shown for current host and it's descendants. Hidden (collapsed) children are not shown in activity pane. When you move your mouse over histogram tooltip shows the host name and host address for the corresponding host. If you also hold left mouse button or Ctrl key it will also show you the time corresponding to the point you point at. If you hold Shift key it will also show the Round Trip Time.
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Histogram shows the Round Trip Time in the following colours:\pard
\par \fi0\li0 \bullet \{bmct green.bmp\} Host's response time is less than 1/3 of the {\uldb specified}{\v timeOutHIDD_PROPS_SETTINGS} timeout.
\par \fi0\li0 \bullet \{bmct yellow.bmp\} Host's response time is more than 1/3, but less then 2/3 of the {\uldb specified}{\v timeOutHIDD_PROPS_SETTINGS} timeout.
\par \fi0\li0 \bullet \{bmct red.bmp\} Host's response time is more than 2/3 of the {\uldb specified}{\v timeOutHIDD_PROPS_SETTINGS} timeout.\pard
\page
\pard\plain\keepn
#{\footnote HIDD_PREFS}
${\footnote Preferences}
{ \f1\fs18\b\sb120 Preferences}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 The Preferences dialog box allows you to change global system preferences which are:\pard
\par \fi0\li0 \bullet {\b On windows shutdown save without confirmation} - you may specify how does {\b Big Brother} act on windows shutdown, whether to save current tree without a confirmation or not.
\par \fi0\li0 \bullet {#{\footnote autosaveHIDD_PREFS}}Autosave - the interval at wich {\b Big Brother} will save current tree automatically. Specify 0 if you don't want to use this feature.
\par \fi0\li0 \bullet Ping data packet size - the size of echo request packet in bytes.
\par \fi0\li0 \bullet Ping .. hosts simultaneously - number of hosts to ping at a time. If you have a big network to monitor and have a slow computer or connection, you may want to limit number of hosts to ping simultaneously.
\par \fi0\li0 \bullet {#{\footnote fileHIDD_PREFS}}Log to file - Here is where you specify the name of the file to log hosts activities to.
\par \fi0\li0 \bullet {#{\footnote logLengthHIDD_PREFS}}Show last .. minutes in activity pane - This is the time length of your graphical pane window.
\par \fi0\li0 \bullet {#{\footnote storeActivityHIDD_PREFS}}Store activity pane data - This lets you specify where to store activity pane data when saving file or not.\pard
\page
\pard\plain\keepn
#{\footnote HID_VIEW_HOSTPROPERTIES}
{ \f1\fs18\b\sb120 Host Properties}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 You may show/hide Host Properties dialog box using this menu command
\par\sa120\sb120\qj\pard \f1\fs18\sb120 {#{\footnote HostProps}}Host Properties dialog box consists of three tabs. See {\uldb General tab}{\v HIDD_PROPS_GENERAL}, {\uldb Settings tab}{\v HIDD_PROPS_SETTINGS} and {\uldb Action tab}{\v HIDD_PROPS_ACTION} for further details.
\page
\pard\plain\keepn
#{\footnote HID_BROTHERS_NEW}
{ \f1\fs18\b\sb120 Add new host (child to current)}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 You can add new host into your network using this menu command. New host will be the child to current.
\page
\pard\plain\keepn
#{\footnote HID_FILE_AUTOLOAD}
{ \f1\fs18\b\sb120 Autoload}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 You may specify whether you want Big Brother to load most recently used file at the startup or not.
\page
\pard\plain\keepn
#{\footnote HIDD_PROPS_ACTION}
${\footnote Action tab}
{ \f1\fs18\b\sb120 Action}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Using action tab of {\uldb host properties}{\v HostProps} dialog box you may specify the actions to be taken whenever host changes its state from up to down and vice versa.\pard
\par \fi0\li0 \bullet Override action - You may specify if you want this host to specify some specific actions to take or if you want it to act as it's parent does.
\par \fi0\li0 \bullet Going down - Actions to take whenever host goes down (is known as unreachable for {\uldb retries}{\v retriesHIDD_PROPS_SETTINGS} times in a row). See {\uldb below}{\v Action} for details.
\par \fi0\li0 \bullet Going up - Actions to take whenever host becomes reachable after it is considered to be down.\pard
\par\sa120\sb120\qj\pard \f1\fs18\sb120 {#{\footnote Action}}Possible actions are:\pard
\par \fi0\li0 \bullet Play a sound - Plays a sound. You may specify a .wav file or use one of the predefined sounds which are
\pard
\par \fi0\li0 \bullet (host-up) - Default sound indicating host recovering from crash
\par \fi0\li0 \bullet (host-down) - Default sound indicating crashing host
\par \fi0\li0 \bullet (system-ok) - System sound as defined in Control Panel/Sounds 'Asterisk'
\par \fi0\li0 \bullet (system-critical) - System sound as defined in Control Panel/Sounds 'Critical Stop'\pard
\par \fi0\li0 \bullet Run custom program - Run custom program. The following special sequences are defined:
\pard
\par \fi0\li0 \bullet %h - Host name
\par \fi0\li0 \bullet %d - Host description
\par \fi0\li0 \bullet %% - % sign\pard\pard
\page
\pard\plain\keepn
#{\footnote HID_VIEW_MAINWINDOW}
{ \f1\fs18\b\sb120 Main Window}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 You may hide {\b Big Brother}'s main window using this command. You may get the window back by clicking the \{bmct bbullet.bmp\} in your notification tray area.
\page
\pard\plain\keepn
#{\footnote HIDD_PROPS_GENERAL}
${\footnote General tab}
{ \f1\fs18\b\sb120 General tab}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 General tab of {\uldb Host Properties}{\v HostProps} dialog box lets you specify the following:\pard
\par \fi0\li0 \bullet Host - either host name or ip address of host you want to monitor.
\par \fi0\li0 \bullet Description - a short description of the host. The name you want to refer to this host by in the future.
\par \fi0\li0 \bullet Log Activity - You may specify if you do or don't want to log changes of this host's state into {\uldb file}{\v fileHIDD_PREFS}.\pard
\page
\pard\plain\keepn
#{\footnote HID_FILE_PAUSE}
{ \f1\fs18\b\sb120 Pause}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 This command lets you temporarily disable monitoring of hosts. {\b Big Brother} will just sit and wait until you let him do his work.
\page
\pard\plain\keepn
#{\footnote HIDD_PROPS_SETTINGS}
${\footnote Settings tab}
{ \f1\fs18\b\sb120 Settings tab}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Settings tab of {\uldb Host Properties}{\v HostProps} dialog box lets you specify the following:\pard
\par \fi0\li0 \bullet Ping intervals - check this if you want to specify intervals for this host explicitly. If you don't - this host will use parent's settings. You can't uncheck this for root node.
\pard
\par \fi0\li0 \bullet When the host is known as reachable - time to wait until next ping if the last ping succeeded.
\par \fi0\li0 \bullet When the host is known as unreachable - time to wait until next ping If the last ping failed.\pard
\par \fi0\li0 \bullet {#{\footnote timeOutHIDD_PROPS_SETTINGS}}Maximum ping reply timeout - amount of milliseconds to wait for echo reply.
\par \fi0\li0 \bullet {#{\footnote retriesHIDD_PROPS_SETTINGS}}Maximum retries count - number of failed pings before Big Brother considers the host is down.\pard
\page
\pard\plain\keepn
#{\footnote HID_BROTHERS_DELETE}
{ \f1\fs18\b\sb120 Delete}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Use this feature to remove current host and all of its children. You can't remove the root node, although you may remove all hosts but root using this command.
\page
\pard\plain\keepn
#{\footnote HID_BROTHERS_ADDBROTHER}
{ \f1\fs18\b\sb120 Add new host (brother to current)}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 You can add new host into your network using this menu command. New host will be a brother to current. (note: You can't add brother to the root node)
\page
\pard\plain\keepn
#{\footnote HID_FILE_NEW}
{ \f1\fs18\b\sb120 New}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Create the whole new network tree. This command will remove all hosts you currently have.
\page
\pard\plain\keepn
#{\footnote HID_FILE_OPEN}
{ \f1\fs18\b\sb120 Open}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Open previously {\uldb saved}{\v HID_FILE_SAVE} network file.
\page
\pard\plain\keepn
#{\footnote HID_FILE_SAVE}
{ \f1\fs18\b\sb120 Save}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Save your current network layout to disk file for future {\uldb retrieval}{\v HID_FILE_OPEN}
\page
\pard\plain\keepn
#{\footnote HID_FILE_SAVE_AS}
{ \f1\fs18\b\sb120 Save as}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Save your current network layout under different name.
\page
\pard\plain\keepn
#{\footnote HID_APP_EXIT}
{ \f1\fs18\b\sb120 Exit}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Leave {\b Big Brother}. you will be prompted if you have unsaved information.
\page
\pard\plain\keepn
#{\footnote HID_VIEW_TOOLBAR}
{ \f1\fs18\b\sb120 Toolbar}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Use this command to hide or show toolbar.
\page
\pard\plain\keepn
#{\footnote HID_VIEW_STATUS_BAR}
{ \f1\fs18\b\sb120 Status bar}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Use this command to hide or show status bar.
\page
\pard\plain\keepn
#{\footnote HID_WINDOW_SPLIT}
{ \f1\fs18\b\sb120 Adjust Splitter}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Adjust position of splitter between tree view pane and host activity pane
\page
\pard\plain\keepn
#{\footnote HID_HELP_FINDER}
{ \f1\fs18\b\sb120 Help Topics}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Show help topics.
\page
\pard\plain\keepn
#{\footnote MRUFile}
{ \f1\fs18\b\sb120 Most Recently Used Files}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 The menu commands right before the Exit allows you to quickly retrieve one of the most recently used files.
\page
\pard\plain\keepn
#{\footnote HID_INDICATOR_PINGBAR}
{ \f1\fs18\b\sb120 {\b Big Brother} Activity indicator}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b Big Brother} activity indicator is a small red triangle spinning and turning to black whenever Big Brother is busy pinging hosts.
diff --git a/help/bigbrother.xml b/help/bigbrother.xml
index ec391ee..39969b6 100644
--- a/help/bigbrother.xml
+++ b/help/bigbrother.xml
@@ -1,209 +1,212 @@
<?xml version="1.0"?>
<winhelp>
<topic id="About" title="About Big Brother" keywords="about">
<heading scroll="no">About <kin>Big Brother</kin></heading>
<dedication>dedicated to Kundel</dedication>
<p><kin>Big Brother</kin> is a program designed to monitor your IP-network activities. it gives you a comprehensive picture of what happened to any point on the Net that you put in. Just <a href="#Add">add</a> this point by specifying it's IP address or hostname and optional short description (for your information only).</p>
<p>The hosts are organized into a hierarchical tree so that you may configure your network picture according to your needs and imagination. Most of the father host properties are inherited by his children unless you wish to specify child's settings explicitly.</p>
<p>Every specified period of time <kin>Big Brother</kin> will send echo request to every host. And wait for response for at most specified <a href="#timeOutHIDD_PROPS_SETTINGS">timeout</a>.</p>
<p>Results are presented in a graphical form in the lower pane. Each line of the lower window is related to specific host which is shown on the tooltip when you move your mouse over the graphics. Host activities are also <a href="#fileHIDD_PREFS">logged into file</a>.</p>
<p>Your current <a href="#HIDD_PREFS">preferences</a> and network tree are automatically saved on Windows shutdown (unless specified otherwise) and may be <a href="#autosaveHIDD_PREFS">autosaved</a> every specified amount of minutes. Most recently used <a href="#MRUFile">file</a> is <a href="#HID_FILE_AUTOLOAD">automatically loaded</a> at <kin>Big Brother</kin>'s startup unless you don't want it.</p>
<p>You can also hide <kin>Big Brother</kin> into your notify tray so that it won't occupy more than 16x16 square of your precious windows' desktop. Just click <image source="bbullet.bmp"/> in your notify tray or select <a href="#HID_VIEW_MAINWINDOW">View/Main Window</a> from menu. Click <image source="bbullet.bmp"/> again to restore <kin>Big Brother</kin> to its full size.</p>
<p/>
<p><b><i>Enjoy!</i></b></p>
- <license years="1996-2004"/>
+ <license years="1996-2005"/>
<credits/>
</topic>
<topic id="News" title="What's New">
+ <newsfor version="1.5.1" date="August 6th, 2005">
+ <ni>Fixed uninstall procedure so that it works on XP</ni>
+ </newsfor>
<newsfor version="1.5" date="July 11th, 2004">
<ni>License change and opening the source code</ni>
<ni>Made it work with Win2k and friends</ni>
<ni>Added kinwide installer</ni>
</newsfor>
</topic>
<topic id="Using" title="Using Big Brother">
<heading scroll="no">Using <kin>Big Brother</kin></heading>
<p>Using <kin>Big Brother</kin> consists of two parts - designing your network tree and monitoring it's activity. The latter takes no effort of yours.</p>
<p>To design the network layout is to put your hosts into Network Tree pane. To <a href="#HID_BROTHERS_NEW">add a child host</a> to the current just press insert or Select Brothers/Add child from menu. To <a href="#HID_BROTHERS_ADDBROTHER">add a brother</a> of the current host select Brothers/Add brother from menu. (note: You can't add brother to the root node)</p>
<p>You may also show <a href="#HostProps">properties</a> dialog box by selecting View/Host Properties menu. <a href="#HostProps">Properties</a> dialog box also pops up automatically whenever you press <b>Enter</b> in the tree view pane.</p>
<p>Monitoring your network activities is even easier. You just relax and watch the screen (or listen to your speakers if you have ones). Network activities are reflected using the lower host activity pane and icons in the tree view. The possible states of the host are:</p>
<ul>
<li><image source="IDI_NOHOST.bmp"/> <b>Network</b> - you haven't specified host name or ip address for this host. The only reason that makes sense is that you probably want to use this node as a father for family of hosts.</li>
<li><image source="IDI_PINGING.bmp"/> <b>In progress</b> - checking of this host is in progress.</li>
<li><image source="IDI_HOST.bmp"/> <b>Reachable host</b> - this host is reachable and you have no reason to worry about it.</li>
<li><image source="IDI_GOINGDOWN.bmp"/> <b>Worrisome host</b> - this host was reported as unreachable, but less than for specified <a href="#HIDD_PROPS_SETTINGS">retries</a> times.</li>
<li><image source="IDI_HOSTDOWN.bmp"/> <b>Unreachable host</b> - this host is known as unreachable for a long time. Whenever the host enters or leaves this state specified <a href="#HIDD_PROPS_ACTION">actions</a> are taken.</li>
</ul>
<p>Lower pane shows a histogram of response times for a <a href="#logLengthHIDD_PREFS">specified</a> amount of time. Histograms are shown for current host and it's descendants. Hidden (collapsed) children are not shown in activity pane. When you move your mouse over histogram tooltip shows the host name and host address for the corresponding host. If you also hold left mouse button or Ctrl key it will also show you the time corresponding to the point you point at. If you hold Shift key it will also show the Round Trip Time.</p>
<p>Histogram shows the Round Trip Time in the following colours:</p>
<ul>
<li><image source="green.bmp"/> Host's response time is less than 1/3 of the <a href="#timeOutHIDD_PROPS_SETTINGS">specified</a> timeout.</li>
<li><image source="yellow.bmp"/> Host's response time is more than 1/3, but less then 2/3 of the <a href="#timeOutHIDD_PROPS_SETTINGS">specified</a> timeout.</li>
<li><image source="red.bmp"/> Host's response time is more than 2/3 of the <a href="#timeOutHIDD_PROPS_SETTINGS">specified</a> timeout.</li>
</ul>
</topic>
<topic id="HIDD_PREFS" title="Preferences">
<heading scroll="no">Preferences</heading>
<p>The Preferences dialog box allows you to change global system preferences which are:</p>
<ul>
<li><b>On windows shutdown save without confirmation</b> - you may specify how does <kin>Big Brother</kin> act on windows shutdown, whether to save current tree without a confirmation or not.</li>
<li><a name="autosaveHIDD_PREFS"/>Autosave - the interval at wich <kin>Big Brother</kin> will save current tree automatically. Specify 0 if you don't want to use this feature.</li>
<li>Ping data packet size - the size of echo request packet in bytes.</li>
<li>Ping .. hosts simultaneously - number of hosts to ping at a time. If you have a big network to monitor and have a slow computer or connection, you may want to limit number of hosts to ping simultaneously.</li>
<li><a name="fileHIDD_PREFS"/>Log to file - Here is where you specify the name of the file to log hosts activities to.</li>
<li><a name="logLengthHIDD_PREFS"/>Show last .. minutes in activity pane - This is the time length of your graphical pane window.</li>
<li><a name="storeActivityHIDD_PREFS"/>Store activity pane data - This lets you specify where to store activity pane data when saving file or not.</li>
</ul>
</topic>
<topic id="HID_VIEW_HOSTPROPERTIES">
<heading scroll="no">Host Properties</heading>
<p>You may show/hide Host Properties dialog box using this menu command</p>
<p><a name="HostProps"/>Host Properties dialog box consists of three tabs. See <a href="#HIDD_PROPS_GENERAL">General tab</a>, <a href="#HIDD_PROPS_SETTINGS">Settings tab</a> and <a href="#HIDD_PROPS_ACTION">Action tab</a> for further details.</p>
</topic>
<topic id="HID_BROTHERS_NEW">
<heading scroll="no">Add new host (child to current)</heading>
<p>You can add new host into your network using this menu command. New host will be the child to current.</p>
</topic>
<topic id="HID_FILE_AUTOLOAD">
<heading scroll="no">Autoload</heading>
<p>You may specify whether you want Big Brother to load most recently used file at the startup or not.</p>
</topic>
<topic id="HIDD_PROPS_ACTION" title="Action tab">
<heading scroll="no">Action</heading>
<p>Using action tab of <a href="#HostProps">host properties</a> dialog box you may specify the actions to be taken whenever host changes its state from up to down and vice versa.</p>
<ul>
<li>Override action - You may specify if you want this host to specify some specific actions to take or if you want it to act as it's parent does.</li>
<li>Going down - Actions to take whenever host goes down (is known as unreachable for <a href="#retriesHIDD_PROPS_SETTINGS">retries</a> times in a row). See <a href="#Action">below</a> for details.</li>
<li>Going up - Actions to take whenever host becomes reachable after it is considered to be down.</li>
</ul>
<p><a name="Action"/>Possible actions are:</p>
<ul>
<li>Play a sound - Plays a sound. You may specify a .wav file or use one of the predefined sounds which are
<ul>
<li>(host-up) - Default sound indicating host recovering from crash</li>
<li>(host-down) - Default sound indicating crashing host</li>
<li>(system-ok) - System sound as defined in Control Panel/Sounds 'Asterisk'</li>
<li>(system-critical) - System sound as defined in Control Panel/Sounds 'Critical Stop'</li>
</ul>
</li>
<li>Run custom program - Run custom program. The following special sequences are defined:
<ul>
<li>%h - Host name</li>
<li>%d - Host description</li>
<li>%% - % sign</li>
</ul>
</li>
</ul>
</topic>
<topic id="HID_VIEW_MAINWINDOW">
<heading scroll="no">Main Window</heading>
<p>You may hide <kin>Big Brother</kin>'s main window using this command. You may get the window back by clicking the <image source="bbullet.bmp"/> in your notification tray area.</p>
</topic>
<topic id="HIDD_PROPS_GENERAL" title="General tab">
<heading scroll="no">General tab</heading>
<p>General tab of <a href="#HostProps">Host Properties</a> dialog box lets you specify the following:</p>
<ul>
<li>Host - either host name or ip address of host you want to monitor.</li>
<li>Description - a short description of the host. The name you want to refer to this host by in the future.</li>
<li>Log Activity - You may specify if you do or don't want to log changes of this host's state into <a href="#fileHIDD_PREFS">file</a>.</li>
</ul>
</topic>
<topic id="HID_FILE_PAUSE">
<heading scroll="no">Pause</heading>
<p>This command lets you temporarily disable monitoring of hosts. <kin>Big Brother</kin> will just sit and wait until you let him do his work.</p>
</topic>
<topic id="HIDD_PROPS_SETTINGS" title="Settings tab">
<heading scroll="no">Settings tab</heading>
<p>Settings tab of <a href="#HostProps">Host Properties</a> dialog box lets you specify the following:</p>
<ul>
<li>Ping intervals - check this if you want to specify intervals for this host explicitly. If you don't - this host will use parent's settings. You can't uncheck this for root node.
<ul>
<li>When the host is known as reachable - time to wait until next ping if the last ping succeeded.</li>
<li>When the host is known as unreachable - time to wait until next ping If the last ping failed.</li>
</ul>
</li>
<li><a name="timeOutHIDD_PROPS_SETTINGS"/>Maximum ping reply timeout - amount of milliseconds to wait for echo reply.</li>
<li><a name="retriesHIDD_PROPS_SETTINGS"/>Maximum retries count - number of failed pings before Big Brother considers the host is down.</li>
</ul>
</topic>
<topic id="HID_BROTHERS_DELETE">
<heading scroll="no">Delete</heading>
<p>Use this feature to remove current host and all of its children. You can't remove the root node, although you may remove all hosts but root using this command.</p>
</topic>
<topic id="HID_BROTHERS_ADDBROTHER">
<heading scroll="no">Add new host (brother to current)</heading>
<p>You can add new host into your network using this menu command. New host will be a brother to current. (note: You can't add brother to the root node)</p>
</topic>
<topic id="HID_FILE_NEW">
<heading scroll="no">New</heading>
<p>Create the whole new network tree. This command will remove all hosts you currently have.</p>
</topic>
<topic id="HID_FILE_OPEN">
<heading scroll="no">Open</heading>
<p>Open previously <a href="#HID_FILE_SAVE">saved</a> network file.</p>
</topic>
<topic id="HID_FILE_SAVE">
<heading scroll="no">Save</heading>
<p>Save your current network layout to disk file for future <a href="#HID_FILE_OPEN">retrieval</a></p>
</topic>
<topic id="HID_FILE_SAVE_AS">
<heading scroll="no">Save as</heading>
<p>Save your current network layout under different name.</p>
</topic>
<topic id="HID_APP_EXIT">
<heading scroll="no">Exit</heading>
<p>Leave <kin>Big Brother</kin>. you will be prompted if you have unsaved information.</p>
</topic>
<topic id="HID_VIEW_TOOLBAR">
<heading scroll="no">Toolbar</heading>
<p>Use this command to hide or show toolbar.</p>
</topic>
<topic id="HID_VIEW_STATUS_BAR">
<heading scroll="no">Status bar</heading>
<p>Use this command to hide or show status bar.</p>
</topic>
<topic id="HID_WINDOW_SPLIT">
<heading scroll="no">Adjust Splitter</heading>
<p>Adjust position of splitter between tree view pane and host activity pane</p>
</topic>
<topic id="HID_HELP_FINDER">
<heading scroll="no">Help Topics</heading>
<p>Show help topics.</p>
</topic>
<topic id="MRUFile">
<heading scroll="no">Most Recently Used Files</heading>
<p>The menu commands right before the Exit allows you to quickly retrieve one of the most recently used files.</p>
</topic>
<topic id="HID_INDICATOR_PINGBAR">
<heading scroll="no"><kin>Big Brother</kin> Activity indicator</heading>
<p><kin>Big Brother</kin> activity indicator is a small red triangle spinning and turning to black whenever Big Brother is busy pinging hosts.</p>
</topic>
<topic id="AFX_HIDW_STATUS_BAR">
<heading scroll="no">Status bar</heading>
<p>Sometimes you may see some useful messages in there. For instance, long descriptions of menu items whenever you are exploring the menu.</p>
</topic>
<topic id="HID_CONTEXT_HELP">
<heading scroll="no">Context help</heading>
<p>Move mouse cursor with question mark wherever you want and get help for something you click on.</p>
</topic>
<topic id="HID_SC_MAXIMIZE">
<heading scroll="no">Maximize</heading>
<p>This option will maximize <kin>Big Brother</kin> window to full screen.</p>
</topic>
<topic id="HID_SC_MOVE">
<heading scroll="no">Move</heading>
<p>This option will let you move <kin>Big Brother</kin> window around the screen.</p>
</topic>
<topic id="HID_SC_SIZE">
<heading scroll="no">Size</heading>
<p>This option will let you resize <kin>Big Brother</kin>'s window</p>
</topic>
<topic id="HID_SC_RESTORE">
<heading scroll="no">Restore</heading>
<p>You option may use this to restore <kin>Big Brother</kin>'s window to its original size after you've maximized it.</p>
</topic>
<topic id="HID_SC_CLOSE">
<heading scroll="no">Close</heading>
<p>This option does about the same as the <a href="#HID_APP_EXIT">Exit</a> menu command does.</p>
</topic>
<topic id="Add" title="Add new host">
diff --git a/install/install.cpp b/install/install.cpp
index 12b20f7..f16ec79 100644
--- a/install/install.cpp
+++ b/install/install.cpp
@@ -1,68 +1,74 @@
#include "resource.h"
#include "../shared-code/install.h"
#define KINSHORT "BigBro"
#define KINNAME "Big Brother"
-#define VERSION "1.5"
+#define VERSION "1.5.1"
BOOL Install(void)
{
STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",KINSHORT "Path");
STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath");
LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings");
STRING path = REQUESTPATH(" " KINNAME " " VERSION,"\nEnter destination path:",qPath);
if(!path)
return NULL;
#ifdef K_ANNED
STRING sysDir(_MAX_PATH);
GetSystemDirectory(sysDir,_MAX_PATH);
INSTALLFILE("mfc42.dl_",sysDir,"mfc42.dll");
#endif
MAKE_PATH(path);
STRING shortPath = GET_SHORT_PATH(path);
if(!shortPath){
MessageBox(NULL,"Failed to install " KINNAME " " VERSION " in specified directory",NULL,MB_ICONERROR|MB_OK);
return FALSE;
}
if(!(
INSTALLFILE("bigbro.ex_",path,"bigbro.exe") &&
INSTALLFILE("bigbro.hl_",path,"bigbro.hlp") &&
INSTALLFILE("bigbro.cn_",path,"bigbro.cnt")
)){
MessageBox(NULL,"Failed to install " KINNAME " " VERSION " in specified directory",NULL,MB_ICONERROR|MB_OK);
return FALSE;
}
ADDMENU("Klever Group",KINNAME,path,"bigbro.exe");
strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",KINSHORT "Path",path);
strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath",path);
FILE* inf=CREATE_INF_FILE(path,KINSHORT ".INF");
if(!inf){
MessageBox(NULL,"Failed to install " KINNAME " " VERSION,NULL,MB_ICONERROR|MB_OK);
return FALSE;
}
INF_FILE_HEADER(inf);
INF_FILE_SECTION(inf,"Uninstall");
fprintf(inf,"AddReg=kFiles\nDelReg=kReg\nUpdateInis=kMenu\n");
INF_FILE_SECTION(inf,"kFiles");
INF_REMOVE_ROOT(inf,KINSHORT "Files",path);
INF_REMOVE_FILE(inf,KINSHORT "Files","bigbro.exe");
INF_REMOVE_HELP_FILE(inf,KINSHORT "Files","bigbro");
INF_REMOVE_FILE(inf,KINSHORT "Files","bigbro.inf");
INF_FILE_SECTION(inf,"kReg");
INF_UNINSTALL_REG(inf,KINSHORT);
INF_FILE_SECTION(inf,"kMenu");
INF_MENU_GROUP(inf,1,"Klever Group");
INF_MENU_ITEM(inf,1,KINNAME);
fclose(inf);
REG_UNINSTALL_COMMAND(KINSHORT,"Klever " KINNAME " " VERSION,shortPath,KINSHORT".INF","Uninstall");
+ REG_UNINSTALL_ICON(KINSHORT,path,"bigbrother.exe",0);
+ REG_UNINSTALL_COMMENT(KINSHORT,"Klever Big brother");
+ REG_UNINSTALL_VERSION(KINSHORT,VERSION);
+ REG_UNINSTALL_LOCATION(KINSHORT,path);
+ REG_UNINSTALL_PUBLISHER(KINSHORT,"Klever Group");
+ REG_UNINSTALL_URLS(KINSHORT,"http://www.klever.net/","http://kin.klever.net/bigbrother/");
MessageBox(NULL,KINNAME" " VERSION " installed successfully, you may now run it from 'Programs/Klever Group' menu or remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK);
return TRUE;
}
diff --git a/install/install.rc b/install/install.rc
index 958704a..6b649fa 100644
--- a/install/install.rc
+++ b/install/install.rc
@@ -1,182 +1,182 @@
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
#if defined(APSTUDIO_INVOKED) || defined(FALSE)
#if defined(APSTUDIO_INVOKED)
IDD_INSTALLING$(FALSE) DIALOGEX 0, 0, 200, 74
#else
IDD_INSTALLING DIALOGEX 0, 0, 200, 74
#endif
STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
PUSHBUTTON "Cancel",IDCANCEL,143,53,50,14,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_FLAT,WS_EX_DLGMODALFRAME
CONTROL "Animate1",IDC_DISKS,"SysAnimate32",ACS_TRANSPARENT |
ACS_AUTOPLAY | WS_TABSTOP,161,7,32,32
LTEXT "",IDC_STATE,7,7,150,32,SS_NOPREFIX | SS_NOTIFY
CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",0x0,7,45,
186,7,WS_EX_DLGMODALFRAME
END
#endif
IDD_PATH DIALOGEX 0, 0, 255, 73
STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CENTER | WS_POPUP |
WS_VISIBLE | WS_CAPTION
EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
LTEXT "",IDC_PROMPT,7,7,241,30
EDITTEXT IDC_PATH,7,37,195,12,ES_AUTOHSCROLL
PUSHBUTTON "B&rowse..",IDC_BROWSE,208,37,40,12
DEFPUSHBUTTON "OK",IDOK,69,52,50,14
PUSHBUTTON "Cancel",IDCANCEL,135,52,50,14
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
"IDD_INSTALLING$(FALSE)", DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 193
TOPMARGIN, 7
BOTTOMMARGIN, 67
HORZGUIDE, 39
END
IDD_PATH, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 248
VERTGUIDE, 202
VERTGUIDE, 208
TOPMARGIN, 7
BOTTOMMARGIN, 66
HORZGUIDE, 37
END
END
#endif // APSTUDIO_INVOKED
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""custom.rch""\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico"
#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 1,5,0,0
- PRODUCTVERSION 1,5,0,0
+ FILEVERSION 1,5,1,0
+ PRODUCTVERSION 1,5,1,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0"
VALUE "FileDescription", "INSTALL: Big Brother, network monitoring tool\0"
- VALUE "FileVersion", "1, 5, 0, 0\0"
+ VALUE "FileVersion", "1, 5, 1, 0\0"
VALUE "InternalName", "INSTALL\0"
- VALUE "LegalCopyright", "Copyright © 1996-2004 Klever Group (http://www.klever.net/)\0"
+ VALUE "LegalCopyright", "Copyright © 1996-2005 Klever Group (http://www.klever.net/)\0"
VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0"
VALUE "OriginalFilename", "INSTALL.EXE\0"
VALUE "ProductName", "Big Brother\0"
- VALUE "ProductVersion", "1, 5, 0, 0\0"
+ VALUE "ProductVersion", "1, 5, 1, 0\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
#endif // !_MAC
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "custom.rch"
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED