ferdnyc / rpms / OpenIPMI

Forked from rpms/OpenIPMI 5 years ago
Clone
dec645c
From dfca464e5fe4c9107f08bff7e6e2730a504945b7 Mon Sep 17 00:00:00 2001
dec645c
From: Boris Ranto <branto@redhat.com>
dec645c
Date: Thu, 2 Jun 2016 12:47:22 +0200
dec645c
Subject: [PATCH] Apply './OpenIPMI-2.0.19-man.patch'
dec645c
dec645c
Signed-off-by: Boris Ranto <branto@redhat.com>
dec645c
---
dec645c
 lanserv/ipmilan.8       | 13 ++++++++++---
dec645c
 man/ipmi_cmdlang.7      | 36 ++++++++++++++++++------------------
dec645c
 man/ipmi_ui.1           | 10 +++++-----
dec645c
 man/openipmi_conparms.7 |  4 ++--
dec645c
 man/openipmicmd.1       |  6 +++---
dec645c
 man/openipmigui.1       | 12 ++++++------
dec645c
 man/openipmish.1        | 12 +++++++++++-
dec645c
 man/rmcp_ping.1         |  2 +-
dec645c
 man/solterm.1           |  6 +++---
dec645c
 sample/ipmicmd.c        |  1 +
dec645c
 sample/rmcp_ping.c      |  5 +++++
dec645c
 sample/solterm.c        |  7 ++++++-
dec645c
 ui/basic_ui.c           | 25 +++++++++++++++++++++++++
dec645c
 13 files changed, 96 insertions(+), 43 deletions(-)
dec645c
dec645c
diff --git a/lanserv/ipmilan.8 b/lanserv/ipmilan.8
dec645c
index ff43d5c..9360507 100644
dec645c
--- a/lanserv/ipmilan.8
dec645c
+++ b/lanserv/ipmilan.8
dec645c
@@ -29,18 +29,25 @@ address they came in.
dec645c
 
dec645c
 .SH OPTIONS
dec645c
 .TP
dec645c
-.BI \-c\  config-file
dec645c
+\fB\-c\fR file,\ \fB\-\-config\-file\fR file
dec645c
 Set the configuration file to one other than the default of
dec645c
 .I "/etc/ipmi_lan.conf"
dec645c
 .TP
dec645c
-.B \-n
dec645c
+\fB\-i\fR device,\ \fB\-\-ipmi-dev\fR device
dec645c
+Sets the desired device
dec645c
+.TP
dec645c
+\fB\-n\fR,\ \fB\-\-daemonize\fR
dec645c
 Stops  the  daemon  from  forking  and  detaching  from the controlling
dec645c
 terminal. This is useful for running from init.
dec645c
 .TP
dec645c
-.B \-d
dec645c
+\fB\-d\fR,\ \fB\-\-debug\fR
dec645c
 Turns on debugging to standard output.  You generally have to use
dec645c
 .B \-n
dec645c
 with this.
dec645c
+.TP
dec645c
+\fB\-?\fR,\ \fB\-\-help\fR,\ \fB\-\-usage\fR
dec645c
+Prints brief usage hints message.
dec645c
+
dec645c
 
dec645c
 
dec645c
 .SH CONFIGURATION
dec645c
diff --git a/man/ipmi_cmdlang.7 b/man/ipmi_cmdlang.7
dec645c
index 4d18e76..a6d73b9 100644
dec645c
--- a/man/ipmi_cmdlang.7
dec645c
+++ b/man/ipmi_cmdlang.7
dec645c
@@ -246,7 +246,7 @@ instance, the command to create a domain is
Ales Ledvinka 6c5c8e8
 The command to list all sensors in a domain named domain1 is
Ales Ledvinka 6c5c8e8
 .B sensor list domain1.
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
-Each command has a reponse for each object operated on, which is
Ales Ledvinka 6c5c8e8
+Each command has a response for each object operated on, which is
Ales Ledvinka 6c5c8e8
 listed after the command description.  In those responses, anything
Ales Ledvinka 6c5c8e8
 that begins with a
Ales Ledvinka 6c5c8e8
 .B %
dec645c
@@ -316,7 +316,7 @@ BMC.  For that, notice that the LAN connection has an options extra IP
Ales Ledvinka 6c5c8e8
 and port for the second IP address.  OpenIPMI supports these IP
Ales Ledvinka 6c5c8e8
 addresses and connection, detecting failures, switching between
Ales Ledvinka 6c5c8e8
 addresses, and other fault-tolerant things.  It does this
Ales Ledvinka 6c5c8e8
-transparently to the user.  Mutiple connections may require special
Ales Ledvinka 6c5c8e8
+transparently to the user.  Multiple connections may require special
Ales Ledvinka 6c5c8e8
 OEM support, read the documentation about your specific system if you
Ales Ledvinka 6c5c8e8
 need this.
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
@@ -336,7 +336,7 @@ or
Ales Ledvinka 6c5c8e8
 \fI<name>\fP and \fI<password>\fP are the user name and password of
Ales Ledvinka 6c5c8e8
 the IPMI user to use for the connection.
Ales Ledvinka 6c5c8e8
 The <smi num> is the driver number, generally 0.
Ales Ledvinka 6c5c8e8
-Options enable and disable various automitic processing and are:
Ales Ledvinka 6c5c8e8
+Options enable and disable various automatic processing and are:
Ales Ledvinka 6c5c8e8
 .PD 0
Ales Ledvinka 6c5c8e8
 .HP
Ales Ledvinka 6c5c8e8
 .B -[no]all
Ales Ledvinka 6c5c8e8
@@ -356,7 +356,7 @@ is false by default.
Ales Ledvinka 6c5c8e8
 is false by default.
Ales Ledvinka 6c5c8e8
 .HP
Ales Ledvinka 6c5c8e8
 .B -[no]ipmbscan
Ales Ledvinka 6c5c8e8
-- IPMB bus scanning.  This turns on scanning IPMB busses when they are found.
Ales Ledvinka 6c5c8e8
+- IPMB bus scanning.  This turns on scanning IPMB buses when they are found.
Ales Ledvinka 6c5c8e8
 This is false by default.
Ales Ledvinka 6c5c8e8
 .HP
Ales Ledvinka 6c5c8e8
 .B -[no]oeminit
Ales Ledvinka 6c5c8e8
@@ -461,7 +461,7 @@ available hacks are:
Ales Ledvinka 6c5c8e8
 The -M option sets the maximum outstanding messages.  The default is
Ales Ledvinka 6c5c8e8
 2, ranges 1-63.
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
-Options enable and disable various automitic processing and are:
Ales Ledvinka 6c5c8e8
+Options enable and disable various automatic processing and are:
Ales Ledvinka 6c5c8e8
 .PD 0
Ales Ledvinka 6c5c8e8
 .HP
Ales Ledvinka 6c5c8e8
 .B -[no]all
Ales Ledvinka 6c5c8e8
@@ -519,7 +519,7 @@ Domain Created: <domain>
Ales Ledvinka 6c5c8e8
 .RE
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 .B fru <domain> <is_logical> <device_address> <device_id> <lun> <private_bus> <channel>
Ales Ledvinka 6c5c8e8
-- dump a fru given all it's insundry information.
Ales Ledvinka 6c5c8e8
+- dump a fru given all it's sundry information.
Ales Ledvinka 6c5c8e8
 .TP
Ales Ledvinka 6c5c8e8
 Response:
Ales Ledvinka 6c5c8e8
 .RS
Ales Ledvinka 6c5c8e8
@@ -533,7 +533,7 @@ Domain
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 .B msg <domain> <channel> <ipmb> <LUN> <NetFN> <Cmd> [data...]
Ales Ledvinka 6c5c8e8
 - Send a command to the given IPMB address on the given channel and
Ales Ledvinka 6c5c8e8
-display the response.  Note that this does not require the existance
Ales Ledvinka 6c5c8e8
+display the response.  Note that this does not require the existence
Ales Ledvinka 6c5c8e8
 of an MC in OpenIPMI.
Ales Ledvinka 6c5c8e8
 .TP
Ales Ledvinka 6c5c8e8
 Response:
Ales Ledvinka 6c5c8e8
@@ -571,7 +571,7 @@ SEL Rescan done: <domain>
Ales Ledvinka 6c5c8e8
 .RE
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 .B presence <domain>
Ales Ledvinka 6c5c8e8
-- Audit the presence of all enities in the domain.  Note that this just
Ales Ledvinka 6c5c8e8
+- Audit the presence of all entities in the domain.  Note that this just
Ales Ledvinka 6c5c8e8
 starts the process; it will run in the background.
Ales Ledvinka 6c5c8e8
 .TP
Ales Ledvinka 6c5c8e8
 Response is:
Ales Ledvinka 6c5c8e8
@@ -689,7 +689,7 @@ FRU deleted: <fru>
Ales Ledvinka 6c5c8e8
 - Set the value of a FRU element.  The
Ales Ledvinka 6c5c8e8
 name is the record name, or multi-record.  The number is required
Ales Ledvinka 6c5c8e8
 for fields that need it (custom and multi-record).  The value is
Ales Ledvinka 6c5c8e8
-an a single value for integers.  For strings it is a string
Ales Ledvinka 6c5c8e8
+a single value for integers.  For strings it is a string
Ales Ledvinka 6c5c8e8
 type (either binary, ascii, or unicode) and the info.  Binary and
Ales Ledvinka 6c5c8e8
 unicode data is specified as numbers.  ascii data is specified in
Ales Ledvinka 6c5c8e8
 a string.  Note that setting a ascii value with no string will
Ales Ledvinka 6c5c8e8
@@ -770,7 +770,7 @@ Domain
Ales Ledvinka 6c5c8e8
 .B info <entity>
Ales Ledvinka 6c5c8e8
 - Dump information about an entity.
Ales Ledvinka 6c5c8e8
 .TP
Ales Ledvinka 6c5c8e8
-Reponse:
Ales Ledvinka 6c5c8e8
+Response:
Ales Ledvinka 6c5c8e8
 .RS
Ales Ledvinka 6c5c8e8
 .nf
Ales Ledvinka 6c5c8e8
 Entity
Ales Ledvinka 6c5c8e8
@@ -784,7 +784,7 @@ Entity
Ales Ledvinka 6c5c8e8
 .B fru <entity>
Ales Ledvinka 6c5c8e8
 - Dump the FRU information about the given entity.
Ales Ledvinka 6c5c8e8
 .TP
Ales Ledvinka 6c5c8e8
-Reponse:
Ales Ledvinka 6c5c8e8
+Response:
Ales Ledvinka 6c5c8e8
 .RS
Ales Ledvinka 6c5c8e8
 .nf
Ales Ledvinka 6c5c8e8
 Entity
Ales Ledvinka 6c5c8e8
@@ -813,7 +813,7 @@ Entity
Ales Ledvinka 6c5c8e8
 .B set_act_time <entity>
Ales Ledvinka 6c5c8e8
 - Set the hot-swap auto-activate time.
Ales Ledvinka 6c5c8e8
 .TP
Ales Ledvinka 6c5c8e8
-Reponse:
Ales Ledvinka 6c5c8e8
+Response:
Ales Ledvinka 6c5c8e8
 .RS
Ales Ledvinka 6c5c8e8
 .nf
Ales Ledvinka 6c5c8e8
 Set act time: <entity>
Ales Ledvinka 6c5c8e8
@@ -981,7 +981,7 @@ Response:
Ales Ledvinka 6c5c8e8
 .nf
Ales Ledvinka 6c5c8e8
 Sensor
Ales Ledvinka 6c5c8e8
   Name: <sensor>
Ales Ledvinka 6c5c8e8
-  Positivie Hysteresis: <integer>
Ales Ledvinka 6c5c8e8
+  Positive Hysteresis: <integer>
Ales Ledvinka 6c5c8e8
   Negative Hysteresis: <integer>
Ales Ledvinka 6c5c8e8
 .fi
Ales Ledvinka 6c5c8e8
 .RE
Ales Ledvinka 6c5c8e8
@@ -1101,7 +1101,7 @@ Set done: <control>
Ales Ledvinka 6c5c8e8
 .RE
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 .B get <control>
Ales Ledvinka 6c5c8e8
-- Get the value of a control.  The reponse depends
Ales Ledvinka 6c5c8e8
+- Get the value of a control.  The response depends
Ales Ledvinka 6c5c8e8
 on the control type.
Ales Ledvinka 6c5c8e8
 .TP
Ales Ledvinka 6c5c8e8
 Response:
dec645c
@@ -1128,7 +1128,7 @@ multiple lights.  The options values (marked with
Ales Ledvinka 6c5c8e8
 ) will not be
Ales Ledvinka 6c5c8e8
 present if local control is set to true.  Local control means that
Ales Ledvinka 6c5c8e8
 the LED takes whatever default function it does on the device
Ales Ledvinka 6c5c8e8
-(like disk activity, ethernet activity, hot-swap LED, etc.).
Ales Ledvinka 6c5c8e8
+(like disk activity, Ethernet activity, hot-swap LED, etc.).
Ales Ledvinka 6c5c8e8
 Response for id control:
Ales Ledvinka 6c5c8e8
 .RS
Ales Ledvinka 6c5c8e8
 .nf
Ales Ledvinka 6c5c8e8
@@ -1325,7 +1325,7 @@ Channel Access
Ales Ledvinka 6c5c8e8
 - Set information about the MC's channel access.  There are two different
Ales Ledvinka 6c5c8e8
 places where this is stored, the present in-use values (volatile) and the
Ales Ledvinka 6c5c8e8
 non-volatile storage that is loaded at startup.  Note if you specify
Ales Ledvinka 6c5c8e8
-channel 0xe, the modified channel will be the current channel.  Parms
Ales Ledvinka 6c5c8e8
+channel 0xe, the modified channel will be the current channel.  Parameters
Ales Ledvinka 6c5c8e8
 are:
Ales Ledvinka 6c5c8e8
 .RS
Ales Ledvinka 6c5c8e8
 .nf
Ales Ledvinka 6c5c8e8
@@ -1547,7 +1547,7 @@ PET destroyed: <pet>
Ales Ledvinka 6c5c8e8
 .SS pef
Ales Ledvinka 6c5c8e8
 commands dealing with platform even filters.  These are basically
Ales Ledvinka 6c5c8e8
 connections to the PEF configuration parameters in an MC.  You use a
Ales Ledvinka 6c5c8e8
-pef to fetch a pef config, which you can then modify and write back to
Ales Ledvinka 6c5c8e8
+pef to fetch a pef configuration, which you can then modify and write back to
Ales Ledvinka 6c5c8e8
 the MC.  Note that when you get a pef config, you claim a lock on the
Ales Ledvinka 6c5c8e8
 MC that must be unlocked.
Ales Ledvinka 6c5c8e8
 
dec645c
@@ -1780,7 +1780,7 @@ operational and finished all it SDR, FRU, and bus scans:
Ales Ledvinka 6c5c8e8
 .fi
Ales Ledvinka 6c5c8e8
 .RE
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
-The following comes out when domain connection infomration changes:
Ales Ledvinka 6c5c8e8
+The following comes out when domain connection information changes:
Ales Ledvinka 6c5c8e8
 .RS
Ales Ledvinka 6c5c8e8
 .nf
Ales Ledvinka 6c5c8e8
   EVENT
dec645c
diff --git a/man/ipmi_ui.1 b/man/ipmi_ui.1
dec645c
index 9c5d9b6..011255f 100644
dec645c
--- a/man/ipmi_ui.1
dec645c
+++ b/man/ipmi_ui.1
Ales Ledvinka 6c5c8e8
@@ -4,7 +4,7 @@
Ales Ledvinka 6c5c8e8
 ipmi_ui \- Crude interface to an IPMI system
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 .SH SYNOPSIS
Ales Ledvinka 6c5c8e8
-.B ipmiui
Ales Ledvinka 6c5c8e8
+.B ipmi_ui
Ales Ledvinka 6c5c8e8
 .RB [\| \-dmsg \|]
Ales Ledvinka 6c5c8e8
 .RB [\| \-dmem \|]
Ales Ledvinka 6c5c8e8
 .RB [\| \-c \|]
Ales Ledvinka 6c5c8e8
@@ -34,7 +34,7 @@ Normally,
Ales Ledvinka 6c5c8e8
 starts up in a full-screen format.  The left window shows the output
Ales Ledvinka 6c5c8e8
 of commands, the right window shows the logs from OpenIPMI.  Both
Ales Ledvinka 6c5c8e8
 windows are scrollable with page up and page down keys, press the "\fBF1\fP"
Ales Ledvinka 6c5c8e8
-key to choose the the left window to scroll, the "\fBF2\fP" key to choose
Ales Ledvinka 6c5c8e8
+key to choose the left window to scroll, the "\fBF2\fP" key to choose
Ales Ledvinka 6c5c8e8
 the right window to scroll.
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 Note that you must set your environment \fBTERM\fP variable properly for
dec645c
@@ -48,7 +48,7 @@ the connections are to the same IPMI domain through different
Ales Ledvinka 6c5c8e8
 management controllers.  Also, each LAN connection may have two IP
Ales Ledvinka 6c5c8e8
 addresses.  These are two different addresses to the same management
Ales Ledvinka 6c5c8e8
 controller.  So you may have a total of 4 IP addresses to an IPMI
Ales Ledvinka 6c5c8e8
-domain, two management controllers and two IP adresses to each
Ales Ledvinka 6c5c8e8
+domain, two management controllers and two IP addresses to each
Ales Ledvinka 6c5c8e8
 management controller.
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 .SH OPTIONS
dec645c
@@ -174,12 +174,12 @@ turns events on or off from the sensor (\fB0\fP or \fB1\fP).
Ales Ledvinka 6c5c8e8
 turns scanning on or off for the sensor (\fB0\fP or \fB1\fP).
Ales Ledvinka 6c5c8e8
 .I "assertion-bitmask"
Ales Ledvinka 6c5c8e8
 specifies the bitmask of thresholds or states
Ales Ledvinka 6c5c8e8
-that should be enabled or disabled when a thrshold or state is
Ales Ledvinka 6c5c8e8
+that should be enabled or disabled when a threshold or state is
Ales Ledvinka 6c5c8e8
 asserted.  It is a bunch of 0's and 1's, where the first one is for
Ales Ledvinka 6c5c8e8
 threshold/state 0, the second for threshold/state 1, etc.
Ales Ledvinka 6c5c8e8
 .I "deassertion-bitmask"
Ales Ledvinka 6c5c8e8
 specifies the bitmask of thresholds or states
Ales Ledvinka 6c5c8e8
-that should be enabled or disabled when a thrshold or state is
Ales Ledvinka 6c5c8e8
+that should be enabled or disabled when a threshold or state is
Ales Ledvinka 6c5c8e8
 deasserted.
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 .SH CONTROLS
dec645c
diff --git a/man/openipmi_conparms.7 b/man/openipmi_conparms.7
dec645c
index 587da2a..9dc6404 100644
dec645c
--- a/man/openipmi_conparms.7
dec645c
+++ b/man/openipmi_conparms.7
dec645c
@@ -1,7 +1,7 @@
dec645c
 .TH openipmi_conparms 7 05/13/03 OpenIPMI "Connection Parameters for OpenIPMI"
dec645c
 
dec645c
 .SH NAME
dec645c
-openipmi_cmdparms \- Connection parmeters for OpenIPMI
dec645c
+openipmi_cmdparms \- Connection parameters for OpenIPMI
dec645c
 
dec645c
 .SH SYNOPSIS
dec645c
 
dec645c
@@ -97,7 +97,7 @@ use.
dec645c
 .TP
dec645c
 .BI \-Rc\  confidentiality\ algorithm
dec645c
 The \fIRMCP+ confidentiality (encryption) algorithm\fP to use.  This keeps
dec645c
-evesdroppers from seeing the data.  Valid values are: \fBbmcpick\fP,
dec645c
+eavesdroppers from seeing the data.  Valid values are: \fBbmcpick\fP,
dec645c
 \fBaes_cbc_128\fP, \fBxrc4_128\fP, and \fBxrc_40\fP.  The \fBbmcpick\fP option is used by
dec645c
 default, which means the BMC picks the algorithm it wants to use.
dec645c
 
dec645c
diff --git a/man/openipmicmd.1 b/man/openipmicmd.1
dec645c
index 6bd2401..5d206d1 100644
dec645c
--- a/man/openipmicmd.1
dec645c
+++ b/man/openipmicmd.1
Ales Ledvinka 6c5c8e8
@@ -22,7 +22,7 @@ interfaces.
Ales Ledvinka 6c5c8e8
 Execute a single command an exit.
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 .TP
Ales Ledvinka 6c5c8e8
-.BI <connection parms>
Ales Ledvinka 6c5c8e8
+.BI <connection\ parms>
Ales Ledvinka 6c5c8e8
 The parameters for the connection depend on the connection type.
Ales Ledvinka 6c5c8e8
 These are all described in openipmi_conparms (7)
Ales Ledvinka 6c5c8e8
 
dec645c
@@ -32,7 +32,7 @@ Once up, you can execute commands in the user interface.  Note that
Ales Ledvinka 6c5c8e8
 commands and responses are asynchronous, you issue a command and the
Ales Ledvinka 6c5c8e8
 interface returns immediately.  When the response comes back, it will
Ales Ledvinka 6c5c8e8
 be dumped on your console.  That's a little strange looking, but IPMI
Ales Ledvinka 6c5c8e8
-is ansychronous underneath.  Note that the \fB\-k\fP option is synchronous,
Ales Ledvinka 6c5c8e8
+is asynchronous underneath.  Note that the \fB\-k\fP option is synchronous,
Ales Ledvinka 6c5c8e8
 it will wait for the response or a timeout before returning.
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 .TP
Ales Ledvinka 6c5c8e8
@@ -82,7 +82,7 @@ Remove a command registration.
Ales Ledvinka 6c5c8e8
 .BR openipmi_conparms (7)
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 .SH "KNOWN PROBLEMS"
Ales Ledvinka 6c5c8e8
-The asychronous nature of the program can be annoying.
Ales Ledvinka 6c5c8e8
+The asynchronous nature of the program can be annoying.
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 .SH AUTHOR
Ales Ledvinka 6c5c8e8
 .PP
dec645c
diff --git a/man/openipmigui.1 b/man/openipmigui.1
dec645c
index 04f880b..0c8c10f 100644
dec645c
--- a/man/openipmigui.1
dec645c
+++ b/man/openipmigui.1
dec645c
@@ -38,7 +38,7 @@ Turn on message debugging, this will dump all messages to debug log output.
Ales Ledvinka 6c5c8e8
 .TP
Ales Ledvinka 6c5c8e8
 .B \-\-drawmsg
Ales Ledvinka 6c5c8e8
 Turn on raw message debugging, this will dump all low-level messages to
Ales Ledvinka 6c5c8e8
-debug log output.  This differes from normal message debugging in that all
Ales Ledvinka 6c5c8e8
+debug log output.  This differs from normal message debugging in that all
Ales Ledvinka 6c5c8e8
 protocol messages are also dumped, not just IPMI messages.
Ales Ledvinka 6c5c8e8
 .TP
Ales Ledvinka 6c5c8e8
 .B \-\-dmem
Ales Ledvinka 6c5c8e8
@@ -81,7 +81,7 @@ tree.
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 The tree window has a top-level list of all the domains for which
Ales Ledvinka 6c5c8e8
 OpenIPMI has connections (or pending connection).  Each domain
Ales Ledvinka 6c5c8e8
-exapands into domain-specific information and a list of entities and
Ales Ledvinka 6c5c8e8
+expands into domain-specific information and a list of entities and
Ales Ledvinka 6c5c8e8
 Management Controllers (MCs) for that domain.
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 Right click drives most of the operations in the tree window.  Many
dec645c
@@ -92,7 +92,7 @@ Color is used in the GUI to denote error status, and shading is used
Ales Ledvinka 6c5c8e8
 to denote availability.  If a sensor has an error, the tree entry for
Ales Ledvinka 6c5c8e8
 that sensor will change colors.  Black means no error, yellow means
Ales Ledvinka 6c5c8e8
 warning, red means critical, and blue means non-recoverable.  These
Ales Ledvinka 6c5c8e8
-errors propigate up, so the entity containing that sensor will be the
Ales Ledvinka 6c5c8e8
+errors propagate up, so the entity containing that sensor will be the
Ales Ledvinka 6c5c8e8
 same color as the most critical error for the sensors underneath it.
Ales Ledvinka 6c5c8e8
 The same goes for domain, it will be the same color as the most
Ales Ledvinka 6c5c8e8
 critical error for the entities underneath it.  This way, if you watch
Ales Ledvinka 6c5c8e8
@@ -146,7 +146,7 @@ that sensor.
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 .SH CONTROLS
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
-Controls are available under the entity they belong to.  control
Ales Ledvinka 6c5c8e8
+Controls are available under the entity they belong to.  Control
Ales Ledvinka 6c5c8e8
 information is beyond the scope of this document, as IPMI controls are
Ales Ledvinka 6c5c8e8
 very complex.  See the IPMI document from OpenIPMI for information
Ales Ledvinka 6c5c8e8
 about controls.
dec645c
@@ -214,7 +214,7 @@ channel listing.  Note that some user setting (the name and password)
Ales Ledvinka 6c5c8e8
 are global to all channels on the MC.
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 Due to the IPMI spec and some unfortunate implementation bugs, some
Ales Ledvinka 6c5c8e8
-wierd issues exist with this information.  The user has an Enabled
Ales Ledvinka 6c5c8e8
+weird issues exist with this information.  The user has an Enabled
Ales Ledvinka 6c5c8e8
 value that tells whether the user is enabled or not.  When initially
Ales Ledvinka 6c5c8e8
 displayed, this field shows as a "?" because this field is not
Ales Ledvinka 6c5c8e8
 readable. It will displayed as the actual value when it is modified,
Ales Ledvinka 6c5c8e8
@@ -247,7 +247,7 @@ changed.
Ales Ledvinka 6c5c8e8
 .SH SOLPARMS
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 In the channel display on a 8023_LAN channel, a LANPARM configuration
Ales Ledvinka 6c5c8e8
-command is available if the MC supporte SOL (Serial Over LAN).  This
Ales Ledvinka 6c5c8e8
+command is available if the MC supports SOL (Serial Over LAN).  This
Ales Ledvinka 6c5c8e8
 pulls up all the parameters for the LAN and allows them to be set.
Ales Ledvinka 6c5c8e8
 Right-clicking on an item allows it to be changed.
Ales Ledvinka 6c5c8e8
 
dec645c
diff --git a/man/openipmish.1 b/man/openipmish.1
dec645c
index 36b1e43..2c902e4 100644
dec645c
--- a/man/openipmish.1
dec645c
+++ b/man/openipmish.1
dec645c
@@ -26,7 +26,7 @@ Turn on message debugging, this will dump all messages to debug log output.
Ales Ledvinka 6c5c8e8
 .TP
Ales Ledvinka 6c5c8e8
 .B \-\-drawmsg
Ales Ledvinka 6c5c8e8
 Turn on raw message debugging, this will dump all low-level messages to
Ales Ledvinka 6c5c8e8
-debug log output.  This differes from normal message debugging in that all
Ales Ledvinka 6c5c8e8
+debug log output.  This differs from normal message debugging in that all
Ales Ledvinka 6c5c8e8
 protocol messages are also dumped, not just IPMI messages.
Ales Ledvinka 6c5c8e8
 .TP
Ales Ledvinka 6c5c8e8
 .B \-\-dmem
dec645c
@@ -34,11 +34,21 @@ Turn on memory debugging, this will cause memory allocation and
Ales Ledvinka 6c5c8e8
 deallocations to be checked.  When the program terminates, it will
Ales Ledvinka 6c5c8e8
 dump all memory that was not properly freed (leaked).
Ales Ledvinka 6c5c8e8
 .TP
Ales Ledvinka 6c5c8e8
+.B \-\-dmsgerr
Ales Ledvinka 6c5c8e8
+Turn on printing out low-level message errors.
Ales Ledvinka 6c5c8e8
+.TP
Ales Ledvinka 6c5c8e8
 .B \-\-dlock
Ales Ledvinka 6c5c8e8
 Turn on lock debugging, this will check lock operations to make sure
Ales Ledvinka 6c5c8e8
 that locks are help in all the proper places and make sure that locks
Ales Ledvinka 6c5c8e8
 are properly nested.
Ales Ledvinka 6c5c8e8
 .TP
Ales Ledvinka 6c5c8e8
+\fB-x\fR\ <string>,\ \fB\-\-execute\fR\ <string>
Ales Ledvinka 6c5c8e8
+Execute the given string at startup.  This may be entered multiple times
Ales Ledvinka 6c5c8e8
+for multiple commands.
Ales Ledvinka 6c5c8e8
+.TP
Ales Ledvinka 6c5c8e8
+.B \-\-glib
Ales Ledvinka 6c5c8e8
+Use glib for the OS handler.
Ales Ledvinka 6c5c8e8
+.TP
Ales Ledvinka 6c5c8e8
 .B \-\-snmp
Ales Ledvinka 6c5c8e8
 Enable the SNMP trap handler.
Ales Ledvinka 6c5c8e8
 .B openipmish
dec645c
diff --git a/man/rmcp_ping.1 b/man/rmcp_ping.1
dec645c
index d60019a..ce5cab0 100644
dec645c
--- a/man/rmcp_ping.1
dec645c
+++ b/man/rmcp_ping.1
Ales Ledvinka 6c5c8e8
@@ -38,7 +38,7 @@ starttag.  This is zero by default
Ales Ledvinka 6c5c8e8
 Turns on debugging to standard output.
Ales Ledvinka 6c5c8e8
 .TP
Ales Ledvinka 6c5c8e8
 .I destination
Ales Ledvinka 6c5c8e8
-The target address, default is the boradcast address (default 255.255.255.255)
Ales Ledvinka 6c5c8e8
+The target address, default is the broadcast address (default 255.255.255.255)
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 .SH AUTHOR
Ales Ledvinka 6c5c8e8
 .PP
dec645c
diff --git a/man/solterm.1 b/man/solterm.1
dec645c
index 1479a1b..ada15d8 100644
dec645c
--- a/man/solterm.1
dec645c
+++ b/man/solterm.1
dec645c
@@ -37,9 +37,9 @@ These are all described in openipmi_conparms (7)
Ales Ledvinka 6c5c8e8
 .TP
Ales Ledvinka 6c5c8e8
 .BI \-e\  escape_char
Ales Ledvinka 6c5c8e8
 The character to use to escape, or exit, the program.  Entering this
Ales Ledvinka 6c5c8e8
-chatacter right after a newline is entered causes the program to go
Ales Ledvinka 6c5c8e8
+character right after a newline is entered causes the program to go
Ales Ledvinka 6c5c8e8
 into command mode.  A single character after this performs a command.
Ales Ledvinka 6c5c8e8
-The default escape character is "~" as shown below.  Suppported
Ales Ledvinka 6c5c8e8
+The default escape character is "~" as shown below.  Supported
Ales Ledvinka 6c5c8e8
 commands are:
Ales Ledvinka 6c5c8e8
 .RS
Ales Ledvinka 6c5c8e8
 .IP ~.
Ales Ledvinka 6c5c8e8
@@ -98,7 +98,7 @@ the SoL session. This is the default.
Ales Ledvinka 6c5c8e8
 .TP
Ales Ledvinka 6c5c8e8
 .BI \-holdoff
Ales Ledvinka 6c5c8e8
 Specifies that CTS, DTR, and DSR are to be deasserted at the start of
Ales Ledvinka 6c5c8e8
-the SoL session so that the configuration may be modifeid before the
Ales Ledvinka 6c5c8e8
+the SoL session so that the configuration may be modified before the
Ales Ledvinka 6c5c8e8
 handshake is released.
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 .TP
dec645c
diff --git a/sample/ipmicmd.c b/sample/ipmicmd.c
48a2b72
index 6cbcdc5..5f5c1ec 100644
dec645c
--- a/sample/ipmicmd.c
dec645c
+++ b/sample/ipmicmd.c
Ales Ledvinka 6c5c8e8
@@ -124,6 +124,7 @@ void usage(void)
Ales Ledvinka 6c5c8e8
     printf("%s [-k <command>] [-v] <con_parms>\n", progname);
Ales Ledvinka 6c5c8e8
     printf("Where <con_parms> is one of:");
Ales Ledvinka 6c5c8e8
     ipmi_parse_args_iter_help(con_usage, NULL);
Ales Ledvinka 6c5c8e8
+    printf("\n");
Ales Ledvinka 6c5c8e8
 }
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 char *
dec645c
diff --git a/sample/rmcp_ping.c b/sample/rmcp_ping.c
dec645c
index 7814792..5778fea 100644
dec645c
--- a/sample/rmcp_ping.c
dec645c
+++ b/sample/rmcp_ping.c
Ales Ledvinka 6c5c8e8
@@ -156,6 +156,11 @@ main(int argc, char *argv[])
Ales Ledvinka 6c5c8e8
 	if (strcmp(argv[i], "--") == 0) {
Ales Ledvinka 6c5c8e8
 	    i++;
Ales Ledvinka 6c5c8e8
 	    break;
Ales Ledvinka 6c5c8e8
+	} else if ((strcmp(argv[i], "--help") == 0) ||
Ales Ledvinka 6c5c8e8
+		   (strcmp(argv[i], "-?") == 0) ||
Ales Ledvinka 6c5c8e8
+		   (strcmp(argv[i], "-h") == 0)) {
Ales Ledvinka 6c5c8e8
+	    i++;
Ales Ledvinka 6c5c8e8
+	    usage();
Ales Ledvinka 6c5c8e8
 	} else if (strcmp(argv[i], "-p") == 0) {
Ales Ledvinka 6c5c8e8
 	    i++;
Ales Ledvinka 6c5c8e8
 	    if (i >= argc) {
dec645c
diff --git a/sample/solterm.c b/sample/solterm.c
dec645c
index 38a3f9d..a3e52de 100644
dec645c
--- a/sample/solterm.c
dec645c
+++ b/sample/solterm.c
Ales Ledvinka 6c5c8e8
@@ -743,7 +743,12 @@ int main(int argc, char *argv[])
Ales Ledvinka 6c5c8e8
 
Ales Ledvinka 6c5c8e8
 	/* Now we make sure "lan" is the first argument so we get the
Ales Ledvinka 6c5c8e8
 	   right connection type... */
Ales Ledvinka 6c5c8e8
-	if (strcmp(argv[1], "lan") != 0) {
Ales Ledvinka 6c5c8e8
+	if ((strcmp(argv[1], "-h") == 0) ||
Ales Ledvinka 6c5c8e8
+	    (strcmp(argv[1], "--help") == 0) ||
Ales Ledvinka 6c5c8e8
+	    (strcmp(argv[1], "-?") == 0)) {
Ales Ledvinka 6c5c8e8
+		usage();
Ales Ledvinka 6c5c8e8
+		exit(1);
Ales Ledvinka 6c5c8e8
+	} else if (strcmp(argv[1], "lan") != 0) {
Ales Ledvinka 6c5c8e8
 		fprintf(stderr, "main: %s only supports lan connections\n",
Ales Ledvinka 6c5c8e8
 			progname);
Ales Ledvinka 6c5c8e8
 		exit(1);
dec645c
diff --git a/ui/basic_ui.c b/ui/basic_ui.c
48a2b72
index 6993eb2..84889cb 100644
dec645c
--- a/ui/basic_ui.c
dec645c
+++ b/ui/basic_ui.c
48a2b72
@@ -306,6 +306,26 @@ snmp_init(os_handler_t *os_hnd)
48a2b72
 static void snmp_setup_fds(os_handler_t *os_hnd) { }
Ales Ledvinka 6c5c8e8
 #endif /* HAVE_UCDSNMP */
Ales Ledvinka 6c5c8e8
     
Ales Ledvinka 6c5c8e8
+void help(void)
Ales Ledvinka 6c5c8e8
+{
Ales Ledvinka 6c5c8e8
+    fprintf(stdout, "ipmi_ui [ options ] smi smi-num\n");
Ales Ledvinka 6c5c8e8
+    fprintf(stdout, "ipmi_ui [ oprions ] lan IP port [IP2 port2] auth priv user pass\n");
Ales Ledvinka 6c5c8e8
+    fprintf(stdout, "\n");
Ales Ledvinka 6c5c8e8
+    fprintf(stdout, "Options:\n");
Ales Ledvinka 6c5c8e8
+    fprintf(stdout, "    -c       Command line mode\n");
Ales Ledvinka 6c5c8e8
+    fprintf(stdout, "    -dlock   Lock debugging ON\n");
Ales Ledvinka 6c5c8e8
+    fprintf(stdout, "    -dmem    Memory debugging ON\n");
Ales Ledvinka 6c5c8e8
+    fprintf(stdout, "    -drawmsg Raw message ON\n");
Ales Ledvinka 6c5c8e8
+    fprintf(stdout, "    -dmsg    Dump all messages.\n");
Ales Ledvinka 6c5c8e8
+#ifdef HAVE_UCDSNMP
Ales Ledvinka 6c5c8e8
+    fprintf(stdout, "    -snmp    SNMP trap handler ON\n");
Ales Ledvinka 6c5c8e8
+#endif
Ales Ledvinka 6c5c8e8
+    fprintf(stdout, "Auth:\n");
Ales Ledvinka 6c5c8e8
+    fprintf(stdout, "    none | straight | md5 | md2\n");
Ales Ledvinka 6c5c8e8
+    fprintf(stdout, "Priv:\n");
Ales Ledvinka 6c5c8e8
+    fprintf(stdout, "    callback | user | operator | admin\n");
Ales Ledvinka 6c5c8e8
+}
Ales Ledvinka 6c5c8e8
+
Ales Ledvinka 6c5c8e8
 int
Ales Ledvinka 6c5c8e8
 main(int argc, char *argv[])
Ales Ledvinka 6c5c8e8
 {
48a2b72
@@ -327,6 +347,11 @@ main(int argc, char *argv[])
Ales Ledvinka 6c5c8e8
 	curr_arg++;
Ales Ledvinka 6c5c8e8
 	if (strcmp(arg, "--") == 0) {
Ales Ledvinka 6c5c8e8
 	    break;
Ales Ledvinka 6c5c8e8
+	} else if (strcmp(arg, "-?") == 0 ||
Ales Ledvinka 6c5c8e8
+		   strcmp(arg, "-h") == 0 ||
Ales Ledvinka 6c5c8e8
+		   strcmp(arg, "--help") == 0) {
Ales Ledvinka 6c5c8e8
+	   help();
Ales Ledvinka 6c5c8e8
+	   return(1);
Ales Ledvinka 6c5c8e8
 	} else if (strcmp(arg, "-c") == 0) {
Ales Ledvinka 6c5c8e8
 	    full_screen = 0;
Ales Ledvinka 6c5c8e8
 	} else if (strcmp(arg, "-dlock") == 0) {
dec645c
-- 
dec645c
2.7.4
dec645c