Search found 934 matches

by seaside
Mon 18 Nov 2013, 19:42
Forum: Network
Topic: Vortex
Replies: 12
Views: 5891

Nicely done with homegrown vegetables .:D If anyone is interested in encrypting their log on information, here's some code to insert at the beginning of Vortex. The first time it's run, it prompts for a username and password which is then encrypted and saved to the file $HOME/upload/.eid. The next r...
by seaside
Thu 14 Nov 2013, 23:31
Forum: Network
Topic: Vortex
Replies: 12
Views: 5891

Smokey and CatDude,

I see 01micko found his code just as I was posting this but here's the general form I've used.

Code: Select all

 curl -u user:pass -T myfile.txt ftp://ftp.testserver.com/dir
Cheers,
s
by seaside
Thu 14 Nov 2013, 22:55
Forum: Programming
Topic: Introducing gmould
Replies: 20
Views: 11319

Re: Anyone want ?

Hi, Anyone want developer release for gmould ? Cause I think I need 2nd party review. Before I lose focus that is :) Code is rather disorganized state but it does its job, so please dont peek in there. I need info about - execution speed - runtime speed - usability/easy to use - enhancement/suggest...
by seaside
Mon 11 Nov 2013, 21:00
Forum: Misc
Topic: My project remote monitoring pc audio and alarm
Replies: 22
Views: 8769

AdrianH,

You may find some useful material for parallel port using basic and c here-
http://basic-converter.proboards.com/th ... rt-control

Cheers,
s
by seaside
Sun 13 Oct 2013, 19:13
Forum: Programming
Topic: File Manager to recognize RoxApp/AppDir. ( XFE, I hope...)
Replies: 9
Views: 3232

A dev. that does care.!.!.! Roland Baudin replied to my email asking about RoxApp.! He has not heard of it. It appears Rox has decided to start calling RoxApp the more common name AppDir. They now refer to them on their web site as Application Directories. I sincerely hope Roland makes the few smal...
by seaside
Sat 12 Oct 2013, 14:27
Forum: Programming
Topic: JWM and Key Commands
Replies: 3
Views: 1567

RSH, The file that Terry mentioned "/root/.jwmrc " is a place to make changes. However, at the bottom of that file you may notice an include file "/root/.jwm/jwmrc-personal" which overrides these settings. So you may wish to add settings to ""/root/.jwm/jwmrc-personal&q...
by seaside
Thu 10 Oct 2013, 17:52
Forum: Programming
Topic: About yad [SOLVED]
Replies: 19
Views: 8799

I mean, if there are several yad apps running at the same time, what could distinguish the one I have to kill from the others? One approach is to track the pid when the process is created with a unique identifier. yad & yad_program-pid=$! # OR # If you need to keep the pid in a tmp file echo $!...
by seaside
Fri 20 Sep 2013, 21:31
Forum: Programming
Topic: Append text to tar archive, get it with 'strings'
Replies: 16
Views: 6575

technosaurus gives an exellent example above of how to add data to binary files (that's for steganography, but it applies to anything) If you add data to a pet file, you must know how many bytes are added in order to truncate the "enhanced" pet file back to it's original state in order for...
by seaside
Fri 20 Sep 2013, 15:19
Forum: Programming
Topic: Append text to tar archive, get it with 'strings'
Replies: 16
Views: 6575

Another approach might be using tar file output for the pet spec file-

Code: Select all

tar xfz mypet.pet ./mypet/pet.specs -O
Cheers,
s
by seaside
Thu 05 Sep 2013, 18:59
Forum: Programming
Topic: Is there another way to set wallpaper for the Rox desktop?
Replies: 103
Views: 35887

Sunburnt, you're right. The only reason this particular looping example comes out quickly is that the target line is near the top. And, if you echo the filename (instead of just setting the variable as I did, the time is just about the same as the other examples) It's my experience that Awk is usual...
by seaside
Wed 04 Sep 2013, 22:57
Forum: Programming
Topic: Is there another way to set wallpaper for the Rox desktop?
Replies: 103
Views: 35887

Being at it,NO grep but read and bashops may very well be a speedier construct: More no grep no sed- while read line; do [ "${line/<backdrop/}" == "${line}" ] && continue remove_end=${line/<\/backdrop>/} filename=${remove_end##*>} done </root/Choices/ROX-Filer/PuppyPin r...
by seaside
Tue 03 Sep 2013, 22:59
Forum: Programming
Topic: Is there another way to set wallpaper for the Rox desktop?
Replies: 103
Views: 35887

Some "bashing" also...(on behalf of technosaurus)

Code: Select all

 line=`grep backdrop /root/Choices/ROX-Filer/PuppyPin`
 remove_end=${line/<\/backdrop>/}  filename=${remove_end##*>} 
Probably faster than Awk but not enough to really matter.

Cheers,
s
by seaside
Sat 31 Aug 2013, 21:03
Forum: Programming
Topic: Where do I edit for a program to start automatically?SOLVED
Replies: 19
Views: 5095

oldyeller, Another approach would be to put welcome1stboot into a "wrapper" script like this - rename /usr/sbin/welcome1stboot /usr/sbin/welcome1stboot-bin Make script called /usr/sbin/welcome1stboot - #!/bin/sh /usr/sbin/welcome1stboot-bin #your script here exit When welcome1stboot is cal...
by seaside
Fri 23 Aug 2013, 20:56
Forum: Unsorted
Topic: LocnRox (Enhanced with Vovchik)
Replies: 19
Views: 21057

Re: multiple keywords support

Hello seaside, If i have time I would make the sorting feature (sorting by size and date). Do you have an I idea how I could make this? regards, rollo rollo, Nice enhancement. Rox has some nice built-in SOAP RPC facilities for invoking sort functions as described in the Rox manual. http://rox.sourc...
by seaside
Fri 16 Aug 2013, 19:24
Forum: Cutting edge
Topic: How to save settings with a diskless client?
Replies: 21
Views: 10381

Hmm all sounding familiar sunburnt Puppy has a flag file for Xwin failure at boot, there may be others too. This will show the [ Ignore ] [ Ram Boot ] options at each boot. Indeed and that's way saving normally occurs after X has been killed. There is/was a live backup script that did deal with suc...
by seaside
Fri 16 Aug 2013, 17:05
Forum: Cutting edge
Topic: How to save settings with a diskless client?
Replies: 21
Views: 10381

Benno_fra_DK, Another approach would be to tar compress /initrd/pup_rw and then install it on the pupmainxxx.sfs file. cd /initrd/pup_rw tar -cvzf pupsave.tgz * Then send pupsave.tgz to the pupmainxxx.sfs file location and use an SFS editor (Edit-SFS is one) to open the pupmainxxx.sfs file. The edit...
by seaside
Mon 03 Jun 2013, 19:12
Forum: Programming
Topic: problem when using ls in gtkdialog..
Replies: 4
Views: 1979

hannysabbagh,

Perhaps this.

Code: Select all

ls -d /usr/share/themes/*/gtk-2.0 | awk -F"/" '{print $5}' 
Cheers,
s

EDIT: I'm not really sure what you're looking for because you could do this by " ls /usr/share/themes/".
by seaside
Mon 03 Jun 2013, 15:59
Forum: Programming
Topic: problem when using ls in gtkdialog..
Replies: 4
Views: 1979

hannysabbagh, You can do it with a function - #!/bin/sh theme_list() { ls -d /usr/share/themes/*/gtk-2.0 | awk -F"/gtk-2.0" '{print $1}' } export -f theme_list GTKDIALOG=gtkdialog export MAIN_DIALOG=' <vbox> <hbox> <text> <label>Combobox:</label> </text> <comboboxtext> <variable>COMBOBOX</...
by seaside
Mon 03 Jun 2013, 03:31
Forum: Cutting edge
Topic: Lighweight pup_event_frontend_d Replacement
Replies: 40
Views: 22237

Iguleder, Very nice work. I decided to test this by a normal startup, killing pup_event_frontend_d, and then starting part-hotplug-monitor and plugging in a thumb drive. Since the icon came up on the left just below "connect", I made some changes in the part-icon script to locate the icon ...
by seaside
Thu 30 May 2013, 21:51
Forum: Programming
Topic: grep -n "$frustration" = "$true"
Replies: 14
Views: 4242

H4LF82, There is nothing wrong with that example (except for some non-UTF-8 encoding) If you wish to add more commands to case statements - retval=$? case $retval in 0) echo "The user-built list is $result" ; echo hello echo "some other stuff." ls ;; 1) echo "Cancel pressed....