Main > Free Download Search >

Free stdin software for linux

stdin

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 163
Grinch

Grinch


Grinch is a small script written in Perl which can be used to check whether a given address is an open mail relay host. more>>
Grinch is a small script written in Perl which can be used to check whether a given address is an open mail relay host. It can operate as a daemon and speaks the tcp_map protocol implemented in Postfix in that case.

Its also possible to use it in arbitrary shell script environments where the hostname is read from stdin and the error code is written to stdout.

The goal is to check "on the fly" whether a host accepts mail to a given destination it actually may not relay for. If it does, Grinch waits for the sent mail to return to you for a configurable period and meanwhile returns a soft error (450) for that host.

If the mail returns, the suspected host was verified as an open open relay and will be rejected until its cache entry times out.

<<less
Download (0.010MB)
Added: 2005-10-10 License: GPL (GNU General Public License) Price:
824 downloads
iodine 0.4.0

iodine 0.4.0


iodine is a piece of software that lets you tunnel IPv4 data through a DNS server. more>>
iodine is a piece of software that lets you tunnel IPv4 data through a DNS server. This can be useful in situations where Internet access is firewalled, but DNS queries are allowed.
iodine needs a TUN/TAP device to operate. The bandwidth is asymmetrical with limited upstream and up to 1 Mbit/s downstream.
Enhancements:
- Multiuser support was added for up to 8 users simultaneously.
- Authentication was added, and a password is entered as an argument or on stdin.
- A manpage was added. "make" targets were added for "install" and "uninstall".
- The DNS code was cleaned up.
- More test cases were added.
- The directory structure was changed.
<<less
Download (0.010MB)
Added: 2007-03-25 License: GPL (GNU General Public License) Price:
943 downloads
sud 1.3

sud 1.3


sud is a daemon to execute interactive and non-interactive processes with special privileges in a nosuid environment. more>>
sud is a daemon to execute interactive and non-interactive processes with special (and customizable) privileges in a nosuid environment.
Some advantages of the program are:
you can switch to root privileges on a remote machine and keep its disks mounted with nosuid flag
your client will be authenticated by getting effective credentials via unix socket
you cant brute force or try to exploit code unless youre in the authgroup (you dont have permission to open a client connection)
you can drop privileges and use sud to implement a suid program in a nosuid environment
Main features:
- added multiple services in the same configuration file every service is in the form label { parameters... }
- added general daemon options with label = options
- added general service options with label = default
- added SO_PEERCRED linux support
- added SIGHUP, SIGUSR1 support
- added emergency service
- signals are now more reliable based on self-pipe trick
- sessions are now queued in a list
- introduction of three new modes: read (alias command), blind (alias write) and readwrite. these are very useful to emulate setuid programs which dont need a terminal and to redirect stdin and stdout to suipfiles
- changes in suz client in order to support new modes
- improvements in SIGWINCH management
- minor changes and new options for services
Enhancements:
- added multiple services in the same configuration file every service is in the form label { parameters... }
- added general daemon options with label = options
- added general service options with label = default
- added SO_PEERCRED linux support
- added SIGHUP, SIGUSR1 support
- added emergency service
- fixed timeout support in Linux (value-result) (Posix.1g specifies the const qualifier for timeout in select)
- signals are now more reliable based on self-pipe trick
- sessions are now queued in a LIST
- introduction of three new modes: . read (aka command) blind (aka write) readwrite
- these are very useful to emulate setuid programs which dont need a terminal
- and to redirect stdin and stdout to suipfiles
- changes in suz client in order to support new modes
- improvements in SIGWINCH management
- minor changes and new options for services
<<less
Download (0.11MB)
Added: 2006-07-12 License: BSD License Price:
1199 downloads
Crystality Plugin 0.92

Crystality Plugin 0.92


Crystality Plugin consists of XMMS plugin and stdin/stdout plugin. more>>
Crystality Plugin consists of XMMS plugin and stdin/stdout plugin. It was written for realtime remastering of sound from mp3 files.
You will need a reasonably good stereo and a good ear to notice quality
improvement, otherwise this is not for you.

This plugin tries to patch mp3 format flaws, not a poor audio hardware! Yes, you should be able to hear well enough (sorry) - for some of my friends plugin is a cool thing, while the others does not hear nothing but echo and stereo expander (well, you will hear every effect if you set it to the maximum, but it will not sound nice).

Crystality was written for 16bit 44.1kHz stereo sound and may give strange results
with other sound formats.

Damian Hodgkiss sent me a quick port for Winamp 2.x. I have not tried it yet, but you can get it (cr-quick-winamp-port.zip).

This plugin does mainly four things (and some minor tricks):

1. Adds some sounds in very high frequency range. Most of the mp3s in The Net are flawed with a 16(15?) kHz cutoff. Even these ones compressed at high bitrates. This spectrum hole is audible and very unpleasant. This plugin helps a bit. Old mp3s made from the vinyl or the magnetic tape may also sound better with these "steroids". For old mp3s youll probably need to set filter to 0.1.

2. Adds some even harmonic distortions (actually nonlinearity), that sounds nice. Valve amps introduce even harmonic distortions (although differnt way) Look at audiophile pages for more info (well, mp3 format is not an audiophile stuff at all, but... welcome to the real world...).

3. Adds simple, but nice 3D echo (concert hall or church like). Most of echo plugins sounds too hard and aggresively for me. This one does not.

4. Extends stereo.

USING:

There are currently two versions of plugin - XMMS plugin and stdin/stdout. Stdin/out plugin is completly independent of XMMS plugin. It even stores its configuration in a separate file (~/.crystalityrc). Stdin/out plugin is alpha code, so some features are missed. You cannot reopen configuration dialog after closing without restarting plugin, there are no "save config", "load config" buttons. Configuration is loaded automatically on startup and saved on exit, either on normal finish or ^C. You can disable GUI with -g option (useful in scripts).

Because this plugin adds some sounds at high frequencies, you will probably need to decrease treble level on your amplifier. Plugin does not perform normalization, so you should slightly decrease signal level in XMMS equalizer (NOT volume slider on the main panel). Setting sliders to the maximum is generally a bad idea (well, except the filter, where that setting is useful).

PERFORMANCE:

It eats about 15% of CPU on my AMD K6-2/400 and optimization is still possible, this is not highly optimized code.

INSTALLATION:

Distribution contains binary version of XMMS plugin library and stdin/stdout plugin executable (Linux i586, glibc 2.1.3). You may copy plugin library file (libcrystality.so) into XMMSs Effect directory and executable (crystality-stdio) to /usr/local/bin or any location you prefer. For default locations simply type:

make install

and thats it.
You may also build crystality from the source.

make buildinstall

typed as root in the source directory should be all you have to do.

This plugin was my first small step in gtk programming, so dont expect any wonders, GUI is actually a quick hack to hardcoded settings. I am not a GUI programmer.

<<less
Download (0.032MB)
Added: 2006-04-20 License: GPL (GNU General Public License) Price:
1291 downloads
vobstripper 0.1.2

vobstripper 0.1.2


vobstripper is a program that copies a .VOB file from stdin to stdout, discarding subtitles and all but one AC3 audio channel. more>>
vobstripper is a program that copies a .VOB file from stdin to stdout, discarding subtitles and all but one AC3 audio channel. The practical effect is to make the .VOB file smaller by throwing away unused extra information without requiring the .VOB file to be remultiplexed.
This program does not adjust pointers and other information in the .VOB file to cleanly delete the discarded streams. However, the resulting .VOB files are acceptable for input to a program such as dvdauthor that expects to be responsible for filling in the VOBs.
Since vobstripper invalidates the pointers in the .VOB file, a .VOB file that is to be processed by both vobstripper and vobwalker must be processed by vobwalker first.
vobstripper is in the public domain (GPL license).
Enhancements:
- Multiple private stream 1 subchannels can be specified as keepers on the command line.
- Discards MPEG program stream end codes. Ive seen several files on which tools like mpeg2dec and bbdmux silently stop before processing the entire file because of a rogue MPEG program stream end code embedded in the middle of the file.
- Slightly more sophisticated Makfile contributed by a user.
<<less
Download (0.020MB)
Added: 2006-08-03 License: GPL (GNU General Public License) Price:
1177 downloads
Scalar::Util 1.19

Scalar::Util 1.19


Scalar::Util is a selection of general-utility scalar subroutines. more>>
Scalar::Util is a selection of general-utility scalar subroutines.

SYNOPSIS

use Scalar::Util qw(blessed dualvar isweak readonly refaddr reftype tainted
weaken isvstring looks_like_number set_prototype);

Scalar::Util contains a selection of subroutines that people have expressed would be nice to have in the perl core, but the usage would not really be high enough to warrant the use of a keyword, and the size so small such that being individual extensions would be wasteful.

By default Scalar::Util does not export any subroutines. The subroutines defined are

blessed EXPR

If EXPR evaluates to a blessed reference the name of the package that it is blessed into is returned. Otherwise undef is returned.

$scalar = "foo";
$class = blessed $scalar; # undef

$ref = [];
$class = blessed $ref; # undef

$obj = bless [], "Foo";
$class = blessed $obj; # "Foo"

dualvar NUM, STRING

Returns a scalar that has the value NUM in a numeric context and the value STRING in a string context.

$foo = dualvar 10, "Hello";
$num = $foo + 2; # 12
$str = $foo . " world"; # Hello world

isvstring EXPR

If EXPR is a scalar which was coded as a vstring the result is true.

$vs = v49.46.48;
$fmt = isvstring($vs) ? "%vd" : "%s"; #true
printf($fmt,$vs);

isweak EXPR

If EXPR is a scalar which is a weak reference the result is true.

$ref = $foo;
$weak = isweak($ref); # false
weaken($ref);
$weak = isweak($ref); # true

NOTE: Copying a weak reference creates a normal, strong, reference.

$copy = $ref;
$weak = isweak($ref); # false

looks_like_number EXPR

Returns true if perl thinks EXPR is a number. See "looks_like_number" in perlapi.

openhandle FH

Returns FH if FH may be used as a filehandle and is open, or FH is a tied handle. Otherwise undef is returned.

$fh = openhandle(*STDIN); # *STDIN
$fh = openhandle(*STDIN); # *STDIN
$fh = openhandle(*NOTOPEN); # undef
$fh = openhandle("scalar"); # undef

readonly SCALAR

Returns true if SCALAR is readonly.

sub foo { readonly($_[0]) }

$readonly = foo($bar); # false
$readonly = foo(0); # true

refaddr EXPR

If EXPR evaluates to a reference the internal memory address of the referenced value is returned. Otherwise undef is returned.

$addr = refaddr "string"; # undef
$addr = refaddr $var; # eg 12345678
$addr = refaddr []; # eg 23456784

$obj = bless {}, "Foo";
$addr = refaddr $obj; # eg 88123488

reftype EXPR

If EXPR evaluates to a reference the type of the variable referenced is returned. Otherwise undef is returned.

$type = reftype "string"; # undef
$type = reftype $var; # SCALAR
$type = reftype []; # ARRAY

$obj = bless {}, "Foo";
$type = reftype $obj; # HASH

set_prototype CODEREF, PROTOTYPE

Sets the prototype of the given function, or deletes it if PROTOTYPE is undef. Returns the CODEREF.

set_prototype &foo, $$;

tainted EXPR

Return true if the result of EXPR is tainted

$taint = tainted("constant"); # false
$taint = tainted($ENV{PWD}); # true if running under -T

weaken REF

REF will be turned into a weak reference. This means that it will not hold a reference count on the object it references. Also when the reference count on that object reaches zero, REF will be set to undef.

This is useful for keeping copies of references , but you dont want to prevent the object being DESTROY-ed at its usual time.

{
my $var;
$ref = $var;
weaken($ref); # Make $ref a weak reference
}
# $ref is now undef

Note that if you take a copy of a scalar with a weakened reference, the copy will be a strong reference.

my $var;
my $foo = $var;
weaken($foo); # Make $foo a weak reference
my $bar = $foo; # $bar is now a strong reference

This may be less obvious in other situations, such as grep(), for instance when grepping through a list of weakened references to objects that may have been destroyed already:

@object = grep { defined } @object;

This will indeed remove all references to destroyed objects, but the remaining references to objects will be strong, causing the remaining objects to never be destroyed because there is now always a strong reference to them in the @object array.

<<less
Download (0.042MB)
Added: 2007-05-21 License: Perl Artistic License Price:
888 downloads
GINS 0.9.0

GINS 0.9.0


GINS is a way to add GTK interfaces to script languages that dont have any GTK bindings, like BASH scripts. more>>
GINS a.k.a. Gtk INterface for Script is a way to add GTK interfaces to scrpit languages that doesnt have any GTK bindigs, like BASH scripts. GINS load a GLADE xml file, using libglade. Then run the script, linking to his stdin & stdout.
Now script can communicate to GINS simply writting to stdin and reading from stdinput.
GINS pass to script every events that occours to gtk widgets, and script can react.
Enhancements:
- BradC: This version of GINS adds the ability to get boolean and double and the ability to set ints. So we can both get and set; int, str, double and boolean.
<<less
Download (0.014MB)
Added: 2007-03-09 License: GPL (GNU General Public License) Price:
964 downloads
JavaScript::Minifier 0.01

JavaScript::Minifier 0.01


JavaScript::Minifier is a Perl translation of jsmin.c. more>>
JavaScript::Minifier is a Perl translation of jsmin.c.

SYNOPSIS

use JavaScript::Minifier;
my $obj = new JavaScript::Minifier;
$obj->minify(*STDIN, *STDOUT);

use JavaScript::Minifier qw(jsmin);
jsmin(*STDIN, *STDOUT);

This work is a translation from C to Perl of jsmin.c published by Douglas Crockford. Permission is hereby granted to use the Perl version under the same conditions as the jsmin.c on which it is based.

Refer to the JSMin website for further information: http://javascript.crockford.com/jsmin.html
Speed is a bit slower than the python version and the python and perl versions are quite a bit slower than the c version(of course).

Here are test results processing a 71K javascript file. This is one of the largest we have -- most are considerably smaller.

| wall clock seconds(approximate)
---------------------------------------
Perl: | 1.4
Python: | 1.0
C: | 0.03

Tests performed on a Intel(R) Pentium(R) 4 CPU 1.80GHz under no load.

<<less
Download (0.004MB)
Added: 2007-02-12 License: Perl Artistic License Price:
988 downloads
astfax 1.0

astfax 1.0


astfax allows you to create an email to fax gateway. more>>
astfax allows you to create an email to fax gateway. It processes incoming email messages with attached fax images and sends them out via the txfax module. Asterisks outgoing call queue is used to initiate the fax call and transfer. The call file generated for the outgoing call queue is in template form, and can easily be updated for any systems configuration. It can be used (for example) with qmail, asterisk, spandsp, and eps to create an email/fax gateway.

For complete functioning of astfax you will need a mail solution which allows you to send an email via stdin to an external delivery program. Generally, qmail is the preferred MTA on Unix-based systems. One can easily set up an Asterisk-dedicated qmail MTA for delivery of voicemail
messages, faxes, etc.

<<less
Download (0.009MB)
Added: 2006-06-26 License: GPL (GNU General Public License) Price:
1216 downloads
Pod::PlainText 1.34

Pod::PlainText 1.34


Pod::PlainText is a Perl module that can convert POD data to formatted ASCII text. more>>
Pod::PlainText is a Perl module that can convert POD data to formatted ASCII text.

SYNOPSIS

use Pod::PlainText;
my $parser = Pod::PlainText->new (sentence => 0, width => 78);

# Read POD from STDIN and write to STDOUT.
$parser->parse_from_filehandle;

# Read POD from file.pod and write to file.txt.
$parser->parse_from_file (file.pod, file.txt);

Pod::PlainText is a module that can convert documentation in the POD format (the preferred language for documenting Perl) into formatted ASCII. It uses no special formatting controls or codes whatsoever, and its output is therefore suitable for nearly any device.

As a derived class from Pod::Parser, Pod::PlainText supports the same methods and interfaces. See Pod::Parser for all the details; briefly, one creates a new parser with Pod::PlainText->new() and then calls either parse_from_filehandle() or parse_from_file().

<<less
Download (0.094MB)
Added: 2006-08-15 License: Perl Artistic License Price:
1165 downloads
Prostat 1.3

Prostat 1.3


Prostat software is a statistic tool for Squid. more>>
Prostat software is a statistic tool for Squid.

HOWTO

Archive prostat_1.3.tar.gz contains very little documentation so heres the extra short manual for how to use prostat:

1. install prostat package
2. make your own copy of /usr/local/prostat/prostat.conf and edit it as you want (or edit directly /usr/local/prostat/prostat.conf)
3. run

prostat +g

(or just prostat in case you do not make copy of prostat.conf)

Example:

cat /var/log/squid/access.log.0 | prostat +g/usr/local/prostat/myconf.conf -

this produces statistic for entries in rotated log using options stored in /usr/local/prostat/myconf.conf file (option LOGFILE is ignored while prostat (in this example) is taking log data from stdin)

Note: do not insert space after +g option

Tips:

- use prostat and crontab to generate statistic automaticly as often as you want
- look at analhead.h in source prostat_1.3.tar.gz archive for some information about command-line options
<<less
Download (0.046MB)
Added: 2007-06-21 License: GPL (GNU General Public License) Price:
856 downloads
dicelab 0.4

dicelab 0.4


dicelab allows you to express complex dice rolling schemes in a functional language and then roll dice. more>>
dicelab allows you to express complex dice rolling schemes in a functional language and then roll dice according to such a scheme or analyze the statistic distribution of values.
It is useful when designing games (and to some degree when playing them).
Usage: dicelab [options] [-f < file >]
Options:
--help -h -? print this text
--version -v print the program version
--print-tree -p print the parse tree (for debugging)
--eval -e evaluate the statistical distribution by
re-rollingp
--count -c specify the number of rolls used with --eval
default is 10000
--roll -r roll the dice as specified, will also be used
if no other action is requested
File:
--file -f read the dice rolling specs from the file
specified, use stdin if not supplied
Enhancements:
- The program is much faster now.
<<less
Download (0.13MB)
Added: 2007-08-21 License: GPL (GNU General Public License) Price:
794 downloads
Simple Metronome 0.4

Simple Metronome 0.4


Simple Metronome (simetro) is a console program that provides basic metronome functions and supports accent patterns. more>>
Simple Metronome (simetro) is a console program that provides basic metronome functions and supports accent patterns.
If all you want is a 100 bpm metronome, do this:
../simetro 100 9 | ecasound -f:s16,2,44100,i -i:stdin
A sightly fancier example would use simetro like this:
./simetro 240 6232
1st arg: 240 ticks per minute. 2nd arg: a string of one or more digits, possibly annotated with other non-digit characters. 0 is silent. 5 is medium. 9 is loud. The pattern 9099 means loud-rest-loud-loud. The example pattern, 240 6232, represents normally accented sixteenth notes at 60 beats per minute. The length of the second argument determines the length of the pattern.
Typical accent strings (second arg):
5, 73, 733, 8242, 8222, 832-632
For your convenience, you can add non-numeric characters (annotation) to the accent string. These characters are ignored by simetro. So 832-632 and 832632 are equivalent. The groove and military examples in the examples/ directory illustrate this. noaccent-100bpm is the simplest example. tabla is a fanciest example.
The first argument is "ticks per minute" so if you are representing your rhythm with one tick per beat, than the ticks per minute will be equal to the beats per minute. But if, for example, your ticks are 16th notes, then the ticks per minute will be four times the beats per minute.
There are two methods for hearing the output waveform.
1) Pipe the output to a realtime raw audio player.
2) Send the output to a file. Convert to WAV. Play WAV file.
Using Ecasound, you can do it like this:
./simetro 240 6232 | ecasound -f:s16,2,44100,i -i:stdin
This is probably the most practical configuration. Ecasound is good code and I recommend it. Or you can use some other program that can play an audio stream from stdin. Srp also works:
./simetro 240 6232 | srp > /dev/null
It starts immediately, does not create any files, and stops with CTRL-C. srp is part of my Simple Multitrack package which can be found at http://freshmeat.net/projects/simple-multitrack/ and runs on Linux/OSS and on Mac OS X. Other programs undoubtedly provide the same capability.
On Solaris 9, I use this bash command for realtime (but low quality) output:
alias rawplay="sox -t sw -r 44100 -c 2 - -t raw -r 8012 -u -b -c 1 /dev/audio"
./simetro 300 5222 | rawplay
If you want to make a file and play it (method 2), you can do this:
./simetro 240 6232 | dd bs=1024 count=10k > rawfile
sox -t sw -r 44100 -c 2 rawfile outfile.wav
sox is an audio format converter. You can get it here:
http://sox.sourceforge.net/
Please email your comments, suggestions, and bug reports to me. My email address is on my webpage: http://w140.com/kurt Please include the word simetro in your subject to skip the spam filter.
Enhancements:
- Rhythms can now be specified in a more convenient free-form syntax.
- It is easier to read and easier to write rhythms in the new syntax.
- More examples are included.
- Ecasound is used in the examples for sending the audio stream to the sound card.
<<less
Download (0.003MB)
Added: 2006-12-20 License: GPL (GNU General Public License) Price:
614 downloads
AESCrypt 0.7

AESCrypt 0.7


AESCrypt is a program for encrypting/decrypting streams of data using Rijndael and Cipher Block Feedback mode (CFB-128). more>>
AESCrypt is a program for encrypting/decrypting streams of data using Rijndael and Cipher Block Feedback mode (CFB-128).
Encrypt/decrypt stdin using the Advanced Encryption Standard winner "Rijndael" encryption algorithm in Cipher Block Feedback (stream) mode. Uses /dev/urandom to create a salt. Prepends the output stream with salt when encrypting, strips it off when decrypting.
Keyfile format:
kk=hexdits
where hexdits is:
32 chars for 128 bit
48 chars for 196 bits.
64 chars for 256 bits
Note that there may be other text in the file. The key must be at start of a line, and must start with kk=, and must be hex.
If the key file is "-", it instead reads the hex-coded key bytes off stdin and treats them as a null-terminated hex key. Care must be taken when reading the key from stdin, as you must supply exactly 33 bytes for 128 bit keys, 49 bytes for 192 bit keys, and 65 bytes for 256 bit keys. The stdin functionality is useful in those cases where having the unencrypted key in a file is undesirable, but it is less forgiving in terms of key format.
Version restrictions:
- 1. The keyfile is *NOT* encrypted.
- 2. Now supports 192 and 256 bit keys! 128 bits is the default, so it is backward compatible with aescrypt versions not endowed with the -s option.
- 3. Need a key generator! ( This should be a simple shell script -- use dd to grab some data, then md5sum to create a hex mix of that data, then awk to grab the hex part of the output of md5sum ).
- 4. Relies upon having /dev/urandom. See the Ocotillo PRNG if you dont have a /dev/urandom.
- 5. This program was deliberately kept extremely simple. It is not intended to be a full encryption solution, it is intended to be used within scripts as part of a complete solution. Keychain management, public key signatures, etc. are all expected to be done external to this program.
<<less
Download (0.061MB)
Added: 2006-07-13 License: BSD License Price:
1203 downloads
smixer 1.0.4

smixer 1.0.4


smixer is a command-line and scriptable program to control and display the mixer volume levels on a sound card in linux. more>>
smixer is a command-line and scriptable program to control and display the mixer volume levels on a sound card in linux. smixer is ideal for setting mixer settings on startup or to switch between multiple configurations quickly.

Distrubution of smixer is under the GNU GPL. See the "COPYING" and/or smixer.c file for more information.

Usage is explained very good in the man page.

smixer may be invoked with the following command-line options:
-a When printing current settings include all devices.
-p Print out the current mixer settings, then exit.
-f file Process commands from file, then exit.
[no options] Process commands from stdin (interactive or from a pipe), then exit.
<<less
Download (0.011MB)
Added: 2006-08-04 License: GPL (GNU General Public License) Price:
1177 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5