04-08-2010
9 More Discussions You Might Find Interesting
1. Programming
Hi all,
I've a structure let's say
typdef struct a { int a; int b; char* string} b;
I need to make the function smth like readdir(), returning everytime it's called pointer to the next structure. Let's say functions would read the next file in the directory and all the permitions put it in... (2 Replies)
Discussion started by: solvman
2 Replies
2. UNIX for Dummies Questions & Answers
What is a good and easy to set up program on Unix FreeBSD for playing streaming MP3s. Where can I get it and how do I install it? This is FreeBSD 4.3.
Thanx. (2 Replies)
Discussion started by: ByondF1
2 Replies
3. IP Networking
If you have used snort to build a folder list of computers IP and their packets is there a tcp stream follow application that can be used to re-build the packets? Like ethereal? (1 Reply)
Discussion started by: macdonto
1 Replies
4. Programming
Hi All,
I am trying to read data from two files and then compare them and only print the records on the screen that have a same ID.i.e TAGNO =CUSTOMERNO
For Eg
My Input Files are (a) Transaction (b) Customer detail
The data in file a is like:
TagNo Date Time Station... (0 Replies)
Discussion started by: rooh
0 Replies
5. UNIX for Advanced & Expert Users
:D i have searched through several sites on google for a match up for sed that would go indepth into the workings of this interactive edditor.. I use it every day and it is the edditor of my choice so i know a few tricks but would very much like to get into the more complex uses of sed.. all the... (2 Replies)
Discussion started by: moxxx68
2 Replies
6. Shell Programming and Scripting
Hi Master,
I've log in here
then try parsing log become :
3GPP-IMSI,Calling-Station-Id
528111500111614,6738790448
528111500068173,6738769831
.....
it is possible to use awk?
cause i 've try
awk '
/\Accounting\ /{f=1}
f && /\3GPP-IMSI \:\ String Value\ /{imsi=$4}
f &&... (1 Reply)
Discussion started by: bowbowz
1 Replies
7. Ubuntu
Hello, I have Ubuntu 64 bit 9.04 install dual boot
I can't see stream videos through Opera
I couldnt see it in Firefox did this:
"sudo apt-get install ubuntu-restricted-extras flashplugin-nonfree"
Now I can see it in firefox but not in Opera
Should not care and just use just Firefox.
thanks (0 Replies)
Discussion started by: Pitroadrush
0 Replies
8. UNIX for Dummies Questions & Answers
Hello Everyone,
The situation is:
$ alias rm="sh abc.sh"
#abc.sh:
read input
echo "The input was: " $input
$ rm xyz.txt
should return
"The input was: xyz.txt"
Here, I want the alias "rm" to execute the file "abc.sh", where "abc.sh" should take "xyz.txt"... (1 Reply)
Discussion started by: qasim
1 Replies
9. IP Networking
Hello,
i have an Ubuntu 12.04 with LXDE desktop
+ i have command line CentOS linux backup server with my movies and music on it
i want to achieve this: easilly play (stream) videos and music from my backup server while working on my Ubuntu LXDE desktop.
How to achieve it and is that... (1 Reply)
Discussion started by: postcd
1 Replies
LEARN ABOUT DEBIAN
cdde.xml
cdde.xml(5) cdde.xml(5)
NAME
cdde.xml - Configuration file for cdde
DESCRIPTION
When cdde is run for the first time, an example xml configuration file (~/.cdde.xml) is created for you:
<?xml version="1.0"?>
<cdde delay="5000000">
<drive path="/dev/cdrom">
<audio command="echo An audio cd was inserted."/>
<data command="echo A data cd was inserted."/>
<dvd command="echo A dvd was inserted."/>
<vcd command="echo A vcd was inserted."/>
<svcd command="echo A svcd was inserted."/>
<blank command="echo A blank cdr/dvdr was inserted."/>
<mixed command="echo A mixed (audio/data) cd was inserted."/>
</drive>
</cdde>
This default file is not very useful, and so I suggest you to edit it to your needs before running cdde again. You may add as many drive
entries, or commands as you like. If multiple entries are found for a type of disc then all entries will be run in the order they are
found.
The specific device in use can be passed to the command with one of the following special tags:
%dev% - is replaced with the device name of the cdrom that
just had a disc inserted
%mnt% - is replaced with the listed mount point for the
cdrom that just had a disc inserted
Note: %mnt% is determined through your fstab (usually located in /etc) file. If you do not have a listing for each <drive> in the fstab
this will cause problems.
This way, you can tell your video player which device to use when playing a VCD, for example.
EXAMPLE
This is an example of ~/.cdde.xml file:
<?xml version="1.0"?>
<cdde delay="5000000">
<drive path="/dev/cdroms/cdrom0"/>
<audio command="xmms %mnt%"/>
<data command="mount %mnt%"/>
<dvd
command="xterm -iconic -e mplayer -fs -xineramascreen 1 -dvd 1"/>
<vcd
command="xterm -iconic -e mplayer -fs -xineramascreen 1 -vcd 1"/>
<svcd
command="xterm -iconic -e mplayer -fs -xineramascreen 1 -vcd 1"/>
<blank command="gcombust"/>
<mixed command="mount %mnt%"/>
</drive>
</cdde>
FILES
~/.cdde.xml
SEE ALSO
cdde(1)
AUTHORS
Eric Lathrop <eric@ericlathrop.com>
Stanislav Maslovski <stanislav.maslovski@gmail.com>
WEBSITE
For the latest release of cdde, see:
http://cdde.sourceforge.net/
Eric Lathrop 0.3.1 cdde.xml(5)