Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 28 Nov 2014, 12:57
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How does the News ticker work?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [18 Posts]   Goto page: Previous 1, 2
Author Message
Guest
Guest


PostPosted: Sat 01 Oct 2005, 07:26    Post subject:  

puppian wrote:
That happened to me before and I added "&" after the line below (in the files bbcuk, timeworld, etc)
Code:
sed 's/.*<title>//g' | sed 's/<\/title>.*//g' > $OUTPUT

the line becomes:
Code:
sed 's/.*<title>//g' | sed 's/<\/title>.*//g' > $OUTPUT &

And that fix it.


Sorry I remembered it wrong!! Embarassed Embarassed

Now I remember... I put the "&" there because if I don't do that, people will see nothing (for a few seconds) after clicking the cat button (I guess this only happens for slow connection).
The bar at top left will only appears after the news download has finished. So I added the "&" to put the download process to background, so that people will still see something (the bar showing the 'logo', though the news are still being downloaded.
Back to top
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sat 01 Oct 2005, 07:34    Post subject:  

Quote:
I put the "&" there because if I don't do that, people will see nothing (for a few seconds) after clicking the cat button


this method solves that problem:

ticker.app &
wget

the ticker starts immediately, the ticker window appears immediately, and wget can take all the time it needs in the background
Back to top
View user's profile Send private message 
puppian


Joined: 18 Jul 2005
Posts: 538
Location: PuppyLand

PostPosted: Sat 01 Oct 2005, 08:29    Post subject:  

You are right.

Both

ticker.app &
wget

And

ticker.app &
sleep 1
wget

works!

I tested it on 1.0.3, dialup connection. I haven't test the whole bugfix as I already have some ticker stuff installed (/root/my-application, /usr, every where Smile). I just edited the file 'bbcuk' and that works.

So I think we need more people (esp. those using dialup) to confirm it.

PS. Thanks for discovering that Smile
(and thanks for testing it Lobster)

_________________
Puppylinux.org - Community home page of Puppy Linux hosted by Barry (creator of Puppy), created and maintained by the Puppy Linux Foundation since 2005
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 2 [18 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0489s ][ Queries: 11 (0.0071s) ][ GZIP on ]