View previous topic :: View next topic |
Author |
Message |
mallumax n00b
Joined: 23 Nov 2004 Posts: 14 Location: India
|
Posted: Fri Mar 11, 2005 3:17 pm Post subject: scrolling output in torsmo? |
|
|
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 |
|
|
D2T Tux's lil' helper
Joined: 07 Mar 2005 Posts: 96 Location: Behind You
|
Posted: Fri Mar 11, 2005 4:01 pm Post subject: |
|
|
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 |
|
|
D2T Tux's lil' helper
Joined: 07 Mar 2005 Posts: 96 Location: Behind You
|
Posted: Fri Mar 11, 2005 4:10 pm Post subject: |
|
|
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 |
|
|
mallumax n00b
Joined: 23 Nov 2004 Posts: 14 Location: India
|
Posted: Fri Mar 11, 2005 4:21 pm Post subject: rephrasing the question :-) |
|
|
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 |
|
|
D2T Tux's lil' helper
Joined: 07 Mar 2005 Posts: 96 Location: Behind You
|
Posted: Fri Mar 11, 2005 4:58 pm Post subject: |
|
|
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 |
|
|
|