lnptest2(1) General Commands Manual lnptest2(1)NAME
lnptest2 - LNP Client Test Application #2 (shorter test)
SYNOPSIS
lnptest2
DESCRIPTION
lnptest2 is an LNP Daemon test client used to test the connection between a client LNP program (in this case lnptest2) and the LNP daemon
through the Ir Tower to a corresponding test program running in an RCX. See the FILES section for the location of the RCX test program
source code (distributed with this package).
OPTIONS
lnptest2 does not support command-line options.
USAGE
To run the test:
- compile the lnptest2.c RCX program
- start the lnpd daemon
- download the lnptest2.lx program to the RCX
- at the RCX, run the program just downloaded to the RCX
- run this lnptest2 program
- inspect the output looking for lack of failure messages
FILES
/usr/share/doc/lnpd/examples/rcx
In this directory is the source to the RCX-side program which is called lnptest2.c but written to be compiled against BrickOS.
SEE ALSO lnptest(1), lnpdll(1), lnpd(8)
You can find additional documentation in /usr/share/doc/lnpd (on Debian GNU/Linux systems)
AUTHOR
lnptest2 was written by Michael Obenland <mobenland@users.sourceforge.net> This man page was written by Stephen M Moraco
<stephen@debian.org>
January 23, 2005 lnptest2(1)
Check Out this Related Man Page
LNPD(8) System Manager's Manual LNPD(8)NAME
lnpd - a LinuX Interface to the BrickOS Networking Protocol
SYNOPSIS
lnpd [-emseconds] [-f] [-l] [-mnumber] [-n] [-pport] [-r] [-ttty_device] [-vlevel]
DESCRIPTION
lnpd is a LinuX daemon that allows multiple clients to connect to a LEGO RCX running Markus L. Noga's famous BrickOS (formerly legOS) oper-
ating system and exchange messages using the LNP protocol.
OPTIONS
A summary of options understood by lnpd
-d Don't go into background
-e|--extrawait={mseconds}
Extra wait time for lnp
-f|--fast
Run LNP at 4800 baud
-l|--log[=filename]
Enable logging to syslog or file
NOTE: filename of '-' means to log to stdout.
-m|--maxclients={number}
Set max number of lnpd clients (default 16).
-n|--nolock
Do not manage tty lockfiles.
-p|--port={TCP_Port}
Daemon should listen on port {TCP_Port}. Default is port 7776.
-r|--realtime
Run daemon in realtime mode.
-t|--tty={tty_device}
Use {tty_device}. Defaults to /dev/ttyS0.
-v|--verbosity={level}
Enable enhanced logging. Valid levels are: d, l, i, a, and c.
-h Show similar help text at command-line.
-u Show short usage message.
-V|--version
Display lnpd version
Mandatory or option arguments to long options are also mandatory or optional for any corresponding short options.
FILES
/dev/ttyS0
The default device for lnpd. (Also See -t: in OPTIONS, above).
/usr/share/doc/lnpd/examples/lnptest.c
sample BrickOS code to be built and downloaded to your RCX. This code allows you to quickly ascertain that the lnpd daemon is work-
ing with your RCX and lnpd installation.
/bin/lnptest
a simple test program which uses lnpd to communicate with the lnptest program downloaded into your RCX for testing with this pro-
gram.
SEE ALSO
You'll find additional documentation in /usr/share/doc/lnpd (on Debian GNU/Linux systems)
AUTHOR
lnpd was written by Martin Cornelius <Martin.Cornelius@t-online.de> This man page was written by Stephen Moraco <stephen@users.source-
forge.net>
January 16, 2005 LNPD(8)
hi all
f1=demo1:/u2/test/test.doc (sco 5.0.5)
f2=demo2:/u2/test/test.doc (solaris 5.8)
how to use the files across servers? i.e. i want to copy the file from demo1 to demo2 with link (copy -l).
replies appreciated.
raguram R (3 Replies)
Hello,
i am very very puzzled,
im doing this project for school, its a deamon logger, but anyways
I'm supposed to run the daemon, let it run on the backgroun, and then run a different program (from command like prompt). but when i run my daemon, it never goes back to the nova> prompt. :(
i dont... (3 Replies)
I need a program to rename file name.
so the input to run the program would be
RenameFiles //server1/Folder1/folder2/test*er.doc
program would return:
++server1+Folder1+folder2+test*er.doc
Can some one please help me? (1 Reply)
hi ,
i need to run a parallel program .
for example;
program1
{
array=" the second program should called here : program 2"
the execution should continue
}
the 2nd program should recieve an array of information as argument and it should... (4 Replies)
Hello,
In my shell program, I need to test for a specific size of a text file before it can be imported into an oracle table.
If the size is less than that number, my program should stop processing. What is the correct command to do this test?
Thanks! (1 Reply)
Hello everyone,
I've got a C program that I'm trying to run through my unix shell but whenever i compile it using gcc (using "cc test.c"), it cannot find stdint.h. Right now, i have it in the same directory as the program I'm running, test.c. Any suggestions? (3 Replies)
Hello,
I am trying to compile a Pro*C program under unix:
proc iname=test.pc
works fine
but then I am not able to compile the test.c file :
gcc test.c -o test.o -L $ORACLE_HOME/lib -l clntsh
/usr/bin/ld:
Object file format error in: /u01/app/oracle/product/10.1.0.2.0/lib:... (1 Reply)
hi all,
I've written a Server socket program in C++, In my program Device Id is a unique one through which I accept the client connection. My code has to pass the below two test case.
1. If a client the the same device is connceted already, i've to reject the new conncetion.
2. If i... (2 Replies)
Long story short: I'm working inside of a Unix SSH under a bash shell. I have to code a C program that generates a random number. Then I have to call the compiled C program with a Perl program to run the C program 20 times and put all the generated random #s into a text file, then print that text... (1 Reply)
Hi friends,
I am a novice Linux user, and I want to take the RHCE test in future. As I have been told that the RHCE test is all about Redhat Enterprise Linux. I approached redhat.com to download RHEL 6.1, but they don't offer that to people who have email id's at gmail, yahoo etc. Where then I can... (2 Replies)
Hi guys here i'm again with more question
The code below try to find an user and write everything about him if exist, so my problem appear on line of test, where the program test if the user has secondary groups related. The rest it's clear
# usugrup.sh lista todas las caracteristicas de un... (3 Replies)
Ok, i'm trying to run xmakemol on Slackware 14. i downloaded the source, compiled it and installed it without any errors or warnings. When i try to run it, the following error occurs:
Error: XtCreateWidget "canvas" requires non-NULL widget class
Any idea what is this about? (1 Reply)
This is a very simple question.
So I have:
# cat << 'EOF' > /usr/share/servers/test man EOF
From the command line I want to put "man" into a /usr/share/servers/test. I have file "test" in directory /usr/share/servers/.
However when I run that it come back with # cat << 'EOF' >... (2 Replies)