<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/serlogger/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/serlogger/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 14 Dec 2013 15:56:37 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/serlogger/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/serlogger/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;Features&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
1.  runs under command line console, not rely on GUI environment;&lt;br /&gt;
2.  least dependency (only ncurses is needed);&lt;br /&gt;
3.  configurable timeouts for idle-lines, an empty line with time stamp will be printed once there are no new content received. This can be used to indicate the time is elapsing.&lt;br /&gt;
4.  local echo or not;&lt;br /&gt;
5.  terminal emulator, current only part of VT100 feature is supported;&lt;br /&gt;
6.  mask byte/character can be used to replace those unprintable characters on the screen;&lt;br /&gt;
7.  time stamp style can be customized, supports 5 kinds of styles;&lt;br /&gt;
8.  time stamp format can be customized, supports various time fields;&lt;br /&gt;
9.  support various start/stop condition, logging to file can be started/stopped according to different conditions. There are 3 conditions supported: time, line, pattern.&lt;br /&gt;
10. support customizable hotkeys: when the hotkey is pressed, it's predefined text/command will be sent to the remote host. If you are running a shell on the embedded system, you need to put a “\r” at the end of the text to make it be executed.&lt;br /&gt;
11. hotkeys can also be used to execute built-in commands, currently only “quit” is supported, this will quit the program.&lt;br /&gt;
12. automation mode is supported, this feature is based on hotkeys. The hotkey actions will be executed with the given interval. Closed-loop automation is possible.&lt;br /&gt;
13. the log file is saved to a given target directory, with the name in such a format “YYYYMMDDhhmmss.log”, where:&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;“YYYY” is the year;&lt;br /&gt;
“MM” is the month;&lt;br /&gt;
“DD” is the day of the month;&lt;br /&gt;
“hh” is the hour;&lt;br /&gt;
“mm” is the minute;&lt;br /&gt;
“ss” is the second;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;How to get help&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
1. run “serlogger -h” or “serlogger –help”;&lt;br /&gt;
2. read config file for available options;&lt;br /&gt;
3. a sample config file is provided in the package, whose name is “sample.serlogger”;&lt;br /&gt;
4. after the tool is built and already installed on system (“sudo make install”), you can also type “man serlogger” to get some help information.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;How to config&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
1. this tool needs a config file;&lt;br /&gt;
2. this config file can be specified with an option “--config” or “-c”, for example&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;serlogger -c sample.serlogger&lt;br /&gt;
3. if no such option provided, the default config file will be used, it should be “$HOME/.serlogger”.&lt;br /&gt;
4. if the default config file does not exist, the tool can still proceed, all the parameters are using default values, which is meaningless.&lt;br /&gt;
5. most of command line options have its corresponding entry in config file, if both of them are provided, the command line option value will be used.&lt;br /&gt;
6. each config entry has its description in the config template file (sample.serlogger), please read this file for available options.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;How to run this program&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
1. if you have a rather stable configuration&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;just modify the config template file (sample.serlogger);&lt;br /&gt;
copy it to the home directory;&lt;br /&gt;
and rename it to “.serlogger”;&lt;br /&gt;
later simply type the command “serlogger”, then everything is done;&lt;br /&gt;
2. if you have different config files, which vary a lot, you can create different config files, and specify it when starting the tool, such as:&lt;br /&gt;
serlogger -c config1.serlogger.&lt;br /&gt;
3. if you have a stable config, but sometimes you need a minor change, you can specify the new setting on the command line, which can override the one in config file, for example:&lt;br /&gt;
serlogger -t 10&lt;br /&gt;
this command will use a idle timeout value of 10 seconds, which replace the default value of 3 seconds.&lt;br /&gt;
4. if you want to use a specific config file, but want to change a setting, the command can be:&lt;br /&gt;
serlogger -c config1.serlogger -t 10&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;How to quit&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
1. config hotkeys which has name “quit”;&lt;br /&gt;
2. press triple ESC;&lt;br /&gt;
3. input “quit” command in the window;&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;the option 1 is preferred, because the other two options will also send those characters to the embedded system, that would cause some problem under certain conditions.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;How to enable automation mode&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
1. the automation mode can only be activated on command line (for example “serlogger -a”).&lt;br /&gt;
2. the automation actions can only be defined in config file;&lt;br /&gt;
3. each action has a pre-padding time and post-padding time (which is in the unit of second).&lt;br /&gt;
4. if the last action ever appeared in previous steps, this means a closed-loop automation is defined: when the last action is finished, the control will transfer to the next step of the first appearance of that action.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;How to define a hot-key&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
1. if you want o define a hot key, the first step is to find out the key tag value;&lt;br /&gt;
2. you can execute this command “serlogger -y”, then press the target key, the key tag value will be printed out;&lt;br /&gt;
3. in config file, add a hot-key entry, which includes the key name, key tags, and the text/commands;&lt;br /&gt;
4. when this key is pressed, the text/command will be sent to the remote emebedded system;&lt;br /&gt;
5. if this text/command should be executed right away, you need to put a “\r” at the end of this string, to simulate a CR;&lt;br /&gt;
6. the supported escape sequence is “\r”, “\n”, “\”, and “\””.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;How to build&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
1. obtain the package;&lt;br /&gt;
2. extract the package;&lt;br /&gt;
3. change to the root directory of this package, run “./autogen.sh”;&lt;br /&gt;
4. run “make” to build the tool;&lt;br /&gt;
5. the binary will be in “./src/serlogger”;&lt;br /&gt;
6. you can also “sudo make install” to install this software to system;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zhang Wei</dc:creator><pubDate>Sat, 14 Dec 2013 15:56:37 -0000</pubDate><guid>https://sourceforge.net3699fbb694807e455edc9fcc56865290a6422ec8</guid></item><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/serlogger/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Features&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;runs under command line console, not rely on GUI environment;&lt;/li&gt;
&lt;li&gt;least dependency (only ncurses is needed);&lt;/li&gt;
&lt;li&gt;configurable timeouts for idle-lines, an empty line with time stamp will be printed once there are no new content received. This can be used to indicate the time is elapsing.&lt;/li&gt;
&lt;li&gt;local echo or not;&lt;/li&gt;
&lt;li&gt;terminal emulator, current only part of VT100 feature is supported;&lt;/li&gt;
&lt;li&gt;mask byte/character can be used to replace those unprintable characters on the screen;&lt;/li&gt;
&lt;li&gt;time stamp style can be customized, supports 5 kinds of styles;&lt;/li&gt;
&lt;li&gt;time stamp format can be customized, supports various time fields;&lt;/li&gt;
&lt;li&gt;support various start/stop condition, logging to file can be started/stopped according to different conditions. There are 3 conditions supported: time, line, pattern.&lt;/li&gt;
&lt;li&gt;support customizable hotkeys: when the hotkey is pressed, it's predefined text/command will be sent to the remote host. If you are running a shell on the embedded system, you need to put a “\r” at the end of the text to make it be executed.&lt;/li&gt;
&lt;li&gt;hotkeys can also be used to execute built-in commands, currently only “quit” is supported, this will quit the program.&lt;/li&gt;
&lt;li&gt;automation mode is supported, this feature is based on hotkeys. The hotkey actions will be executed with the given interval. Closed-loop automation is possible.&lt;/li&gt;
&lt;li&gt;the log file is saved to a given target directory, with the name in such a format “YYYYMMDDhhmmss.log”, where:&lt;br /&gt;
    “YYYY” is the year;&lt;br /&gt;
    “MM” is the month;&lt;br /&gt;
    “DD” is the day of the month;&lt;br /&gt;
    “hh” is the hour;&lt;br /&gt;
    “mm” is the minute;&lt;br /&gt;
    “ss” is the second;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;How to get help&lt;br /&gt;
1. run “serlogger -h” or “serlogger –help”;&lt;br /&gt;
2. read config file for available options;&lt;br /&gt;
3. a sample config file is provided in the package, whose name is “sample.serlogger”;&lt;br /&gt;
4. after the tool is built and already installed on system (“sudo make install”), you can also type “man serlogger” to get some help information.&lt;/p&gt;
&lt;p&gt;How to config&lt;br /&gt;
1. this tool needs a config file;&lt;br /&gt;
2. this config file can be specified with an option “--config” or “-c”, for example&lt;br /&gt;
    serlogger -c sample.serlogger&lt;br /&gt;
3. if no such option provided, the default config file will be used, it should be “$HOME/.serlogger”.&lt;br /&gt;
4. if the default config file does not exist, the tool can still proceed, all the parameters are using default values, which is meaningless.&lt;br /&gt;
5. most of command line options have its corresponding entry in config file, if both of them are provided, the command line option value will be used.&lt;br /&gt;
6. each config entry has its description in the config template file (sample.serlogger), please read this file for available options.&lt;/p&gt;
&lt;p&gt;How to run this program&lt;br /&gt;
1. if you have a rather stable configuration&lt;br /&gt;
    just modify the config template file (sample.serlogger);&lt;br /&gt;
    copy it to the home directory;&lt;br /&gt;
    and rename it to “.serlogger”;&lt;br /&gt;
    later simply type the command “serlogger”, then everything is done;&lt;br /&gt;
2. if you have different config files, which vary a lot, you can create different config files, and specify it when starting the tool, such as:&lt;br /&gt;
    serlogger -c config1.serlogger.&lt;br /&gt;
3. if you have a stable config, but sometimes you need a minor change, you can specify the new setting on the command line, which can override the one in config file, for example:&lt;br /&gt;
    serlogger -t 10&lt;br /&gt;
    this command will use a idle timeout value of 10 seconds, which replace the default value of 3 seconds.&lt;br /&gt;
4. if you want to use a specific config file, but want to change a setting, the command can be:&lt;br /&gt;
    serlogger -c config1.serlogger -t 10&lt;/p&gt;
&lt;p&gt;How to quit&lt;br /&gt;
1. config hotkeys which has name “quit”;&lt;br /&gt;
2. press triple ESC;&lt;br /&gt;
3. input “quit” command in the window;&lt;/p&gt;
&lt;p&gt;the option 1 is preferred, because the other two options will also send those characters to the embedded system, that would cause some problem under certain conditions.&lt;/p&gt;
&lt;p&gt;How to enable automation mode&lt;br /&gt;
1. the automation mode can only be activated on command line (for example “serlogger -a”).&lt;br /&gt;
2. the automation actions can only be defined in config file;&lt;br /&gt;
3. each action has a pre-padding time and post-padding time (which is in the unit of second).&lt;br /&gt;
4. if the last action ever appeared in previous steps, this means a closed-loop automation is defined: when the last action is finished, the control will transfer to the next step of the first appearance of that action.&lt;/p&gt;
&lt;p&gt;How to define a hot-key&lt;br /&gt;
1. if you want o define a hot key, the first step is to find out the key tag value;&lt;br /&gt;
2. you can execute this command “serlogger -y”, then press the target key, the key tag value will be printed out;&lt;br /&gt;
3. in config file, add a hot-key entry, which includes the key name, key tags, and the text/commands;&lt;br /&gt;
4. when this key is pressed, the text/command will be sent to the remote emebedded system;&lt;br /&gt;
5. if this text/command should be executed right away, you need to put a “\r” at the end of this string, to simulate a CR;&lt;br /&gt;
6. the supported escape sequence is “\r”, “\n”, “\”, and “\””.&lt;/p&gt;
&lt;p&gt;How to build&lt;br /&gt;
1. obtain the package;&lt;br /&gt;
2. extract the package;&lt;br /&gt;
3. change to the root directory of this package, run “./autogen.sh”;&lt;br /&gt;
4. run “make” to build the tool;&lt;br /&gt;
5. the binary will be in “./src/serlogger”;&lt;br /&gt;
6. you can also “sudo make install” to install this software to system;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zhang Wei</dc:creator><pubDate>Sat, 30 Nov 2013 13:36:44 -0000</pubDate><guid>https://sourceforge.neta7ecd0b6b252233e4e3b4366a69695d61357c09f</guid></item><item><title>Home modified by Zhang Wei</title><link>https://sourceforge.net/p/serlogger/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/serlogger/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;&lt;ul class="md-users-list"&gt;&lt;li&gt;&lt;a href="/u/userid-2330544/"&gt;Zhang Wei&lt;/a&gt; (admin)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;span class="download-button-5176e7875fcbc9796004629e" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zhang Wei</dc:creator><pubDate>Tue, 23 Apr 2013 19:56:56 -0000</pubDate><guid>https://sourceforge.netb35ff1c2d48a3a4f10daefff22e2cfa1c017a8c9</guid></item></channel></rss>