Main > Free Download Search >

Free stdin c software for linux

stdin c

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 279
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
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
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
FindBin 5.8.8

FindBin 5.8.8


FindBin is a Perl module that can locate directory of original perl script. more>>
FindBin is a Perl module that can locate directory of original perl script.

SYNOPSIS

use FindBin;
use lib "$FindBin::Bin/../lib";

or

use FindBin qw($Bin);
use lib "$Bin/../lib";

Locates the full path to the script bin directory to allow the use of paths relative to the bin directory.

This allows a user to setup a directory tree for some software with directories < root >/bin and < root >/lib, and then the above example will allow the use of modules in the lib directory without knowing where the software tree is installed.
If perl is invoked using the -e option or the perl script is read from STDIN then FindBin sets both $Bin and $RealBin to the current directory.

EXPORTABLE VARIABLES

$Bin - path to bin directory from where script was invoked
$Script - basename of script from which perl was invoked
$RealBin - $Bin with all links resolved
$RealScript - $Script with all links resolved

<<less
Download (12.2MB)
Added: 2007-05-09 License: Perl Artistic License Price:
898 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
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
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
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
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
sipsak 0.9.6

sipsak 0.9.6


sipsak is a command line tool for performing various tests on Session Initiation Protocol (SIP) applications and devices. more>>
sipsak is a small comand line tool for developers and administrators of Session Initiation Protocol (SIP) applications. sipsak can be used for some simple tests on SIP applications and devices.
Main features:
- sending OPTIONS request
- sending text files (which should contain SIP requests)
- traceroute (see section 11 in RFC3261)
- user location test
- flooding test
- random character trashed test
- interpret and react on response
- authentication with qop supported
- short notation supported for receiving (not for sending)
- string replacement in files
- can simulate calls in usrloc mode
- uses symmetric signaling and thus should work behind NAT
- can upload any given contact to a registrar
- send messages to any SIP destination
- Nagios compliant return codes
- search for strings in reply with regluar expression
- use multiple processes to create more server load
- read SIP message from STDIN (e.g. from a pipe |)
- supports DNS SRV through libruli
Version restrictions:
- The hostname is used in the Via line, which is not correct in all cases (e.g. if the loopback interface is used, or if the host has several interfaces). The rport parameter should fix problmes with the incorrect hostname, but for backward compatibility whith implementations which do not support rport this should be fixed.
- The DNS responses are not parsed compeltly which can result in strange output during hostname detection.
- TCP is not supported as transport protocol.
- IPv6 is not supported as transport protocol.
- Missing support for the Record-Route and Route header.
- Not fully RFC3261 compatible.
- Some smaller problems are listed in the TODO file.
Enhancements:
- A new option allows to add any header to the outgoing requests.
- The variable replacement option now accepts any number of attribute value pairs.
- Besides MD5 now SHA1 is support as digest authentication algorithm.
- The password for authentication can be read from stdin to prevent password disclosure in the process list.
- Fixed problems when executed as user root and compiles fine again under cygwin.
<<less
Download (0.14MB)
Added: 2006-01-29 License: GPL (GNU General Public License) Price:
1367 downloads
KSayit 0.8.2

KSayit 0.8.2


KSayIt is a small KDE3 utilitiy for Linux that simply speaks a given textfile in a very high quality sound. more>>
KSayIt is a small KDE3 utilitiy for Linux that simply speaks a given textfile in a very high quality, i.e. sound and pronounciation of the spoken text should be as (human) natural as possible.
To achieve this, KSayIt uses natively Text-To-Speech systems like MBrola, any TTS system that can be controlled via a command line or any TTS system that is supported by the upcoming KDE TTS system (i.e. Festival).
KSayIt offers three user interfaces: A simple text editor window in which you can enter or paste text that should be spoken after pressing a play button, as well as an icon in the systemtray that starts to speak by a single mouseclick the actual content of the clipboard (if it contains something that looks like text).
As a KDE application it offers also a DCOP interface for the say and shut-up action (see kdcop). Finally KSayIt provides an effectstack to postprocess the sound of the voice (currently only a Freeverb effect is included)
Enhancements:
- KSayIt now interfaces to various TTS systems via loadable modules (plugins).
- Currently the following TTS plugins are in the package:
- Native support for MBrola/txt2pho.
- Support for any user defined command that accepts text from stdin, therefore KSayIt can now speak languages other than German.
- Support for the upcoming KDE TTS Daemon (KTTSD is part of the kdenonbeta package).
- Additional controls (Pause, Resume, Next Sentence, Previous Sentence, if supported by the plugin).
- Audio Effects are also plugins now.
<<less
Download (0.11MB)
Added: 2005-08-18 License: GPL (GNU General Public License) Price:
1530 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
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
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5