Visit The New, Modern Unix Linux Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #566
Difficulty: Easy
Many programming languages use two ampersands, a && b to denote the logical And operator.
True or False?
Linux & Unix Commands - Search Man Pages

mode2(1) [debian man page]

MODE2(1)							   User Commands							  MODE2(1)

NAME
mode2, smode2, xmode2 - shows the pulse/space length of infrared signals SYNOPSIS
mode2 [options] DESCRIPTION
The main purpose of these programs is to check operation of your home-brew LIRC receiver hardware and to see the IR waveform of the remote controller without an expensive oscilloscope. Very useful for debugging. Of course this program won't work with hardware that decodes the signals itself like e.g. TV cards or the Irman. mode2 will simply print pulse&space lengths to stdout. -h --help display usage summary -v --version display version -d --device=device read from given device -H --driver=driver use given driver -m --mode enable alternative display mode -r --raw access device directly SEE ALSO
mode2(1), smode2(1), xmode2(1) The documentation for lirc is maintained as html pages. They are located under html/ in the documentation directory. mode2 0.9.0-pre1 October 2010 MODE2(1)

Check Out this Related Man Page

SMODE2(1)								FSF								 SMODE2(1)

NAME
mode2, smode2, xmode2 - shows the pulse/space length of infrared signals SYNOPSIS
smode2 [options] DESCRIPTION
The main purpose of these programs is to check operation of your home-brew LIRC receiver hardware and to see the IR waveform of the remote controller without an expensive oscilloscope. Very useful for debugging. Of course this program won't work with hardware that decodes the signals itself like e.g. TV cards or the Irman. smode2 uses the svgalib to show the IR waveform in a graphical representation. The time division is variable from 1 ms/unit to extremely high values (integer type) but there is no point increasing this value above 20 ms/unit, because one pulse is about 1 ms. This kind of pre- sentation is much more exciting than the simple pulse&space output showed by mode2. -h --help display usage summary -v --version display version -d --device=device read from given device -t --timediv=value ms per unit SEE ALSO
mode2(1), smode2(1), xmode2(1) The documentation for lirc is maintained as html pages. They are located under html/ in the documentation directory. smode2 0.8.7pre1 May 2010 SMODE2(1)

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Enviornment Variable in B shell (I call it nested variable)

#!/bin/sh APP_ROOT_MODE1=/opt/app1.0 APP_ROOT_MODE2=/opt/app2.0 APP_ROOT=${APP_ROOT_${APP_MODE}} # enviornment variable APP_MODE will be exported in the terminal where # we run the applciation, its value is string - MODE1 or MODE2 # My intension is: # when export APP_MODE=MODE1... (4 Replies)
Discussion started by: princelinux
4 Replies

2. Shell Programming and Scripting

Recursive FTP -- here at last.

Over the past few weeks, I saw a couple of threads requesting recursive ftp: Copying files between 2 Unix server ftp from NT to UNIX I decided to try to write a script to accommodate these requests. The result is HardFeed. Here are a few examples of what it can do. HardFeed ftpserver... (52 Replies)
Discussion started by: Perderabo
52 Replies

3. Programming

running PLSQL scripts through shell script

I am running the following ealth checks on my server there are two databases in my server . MODEL1 and MODEL2 i connect with the first database as sqlplus model1/password Then i exceute a query select x from table (4 Replies)
Discussion started by: asalman.qazi
4 Replies

4. Shell Programming and Scripting

Pass date range into optarg

here is the code echo begin while getopts 1:2:3:4: mode do case $mode in 1)echo "You have chosen mode1" case $OPTARG in a) echo "User Specified Date Range" rangelist.sh ;; b) echo "user specified month and year";; ?) echo "Default, Current... (4 Replies)
Discussion started by: pravsripad
4 Replies

5. Shell Programming and Scripting

How to execute default in getopts when no option is given ?

hi, here is a ksh script i wrote using getopts... i want to find out how i can run it in default mode when no option is mentioned and no arguments are provided... ? i.e if the script name is final1, then just running final1 should run in default mode.... while getopts 1:2:3:4: mode ... (1 Reply)
Discussion started by: pravsripad
1 Replies

6. Shell Programming and Scripting

awk sort based on difference of fields and print all fields

Hi I have a file as below <field1> <field2> <field3> ... <field_num1> <field_num2> Trying to sort based on difference of <field_num1> and <field_num2> in desceding order and print all fields. I tried this and it doesn't sort on the difference field .. Appreciate your help. cat... (9 Replies)
Discussion started by: newstart
9 Replies

Featured Tech Videos