Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
scrolling output in torsmo?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mallumax
n00b
n00b


Joined: 23 Nov 2004
Posts: 14
Location: India

PostPosted: Fri Mar 11, 2005 3:17 pm    Post subject: scrolling output in torsmo? Reply with quote

Can i make torsmo scroll text output from other programs.I want to define a maximum area torsmo can occupy
and then if the output from another program doesn't fit in that geometry i want torsmo to scroll the output.
Is this possible ?

Is there any other way i can display scrolling text on my desktop ? (not xosd..it displays text above every other window.
I want a torsmo like behaviour)
Back to top
View user's profile Send private message
D2T
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2005
Posts: 96
Location: Behind You

PostPosted: Fri Mar 11, 2005 4:01 pm    Post subject: Reply with quote

I'm speaking totally off the cuff here, but if it's possible for the program to output to a file you could:


Code:
tail -n ## <whatever output file>


To display the last ## lines into torsmo, depending on how much space you want it to take up.

Again, I've never tried this, but it seems like something to consider.

edit:

I guess if you wanted to limit width and use line-wrapping you'd need to do some scripting on the output. Currently I'm working on a simple C program to hash through lastlog output and format it for display in torsmo. Mostly as a refresher, since it's been quite some time since I've done any programming ;)
Back to top
View user's profile Send private message
D2T
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2005
Posts: 96
Location: Behind You

PostPosted: Fri Mar 11, 2005 4:10 pm    Post subject: Reply with quote

Another option would be using root-tail and defining a space that overlaps your torsmo layout. Again, if output is dumped to a log.
Back to top
View user's profile Send private message
mallumax
n00b
n00b


Joined: 23 Nov 2004
Posts: 14
Location: India

PostPosted: Fri Mar 11, 2005 4:21 pm    Post subject: rephrasing the question :-) Reply with quote

I want not just the last or the latest lines from the output.
Say i have 30 lines of output.Now i want to allot only 10 lines of screen space.
And torsmo/equivalent should scroll the 30 lines inside that 10 line geometry slowly.
Back to top
View user's profile Send private message
D2T
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2005
Posts: 96
Location: Behind You

PostPosted: Fri Mar 11, 2005 4:58 pm    Post subject: Reply with quote

I have an idea that might do it with some scripting, but I'm at work right now and have no access to a *nix box.
I'll let you know in 6 or so hours :|
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
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