program output in tc pane

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
larry
Junior Member
Junior Member
Posts: 4
Joined: 2003-12-19, 07:27 UTC

program output in tc pane

Post by *larry »

Hello everybody,

I added a DOS program to the button bar and would like its output (a list with usernames) to be displayed in a pane.

Thanks for your help
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

I don't think it's possible. Try to use TConsole plugin instead of it.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
Maxwish
Senior Member
Senior Member
Posts: 370
Joined: 2003-02-05, 19:13 UTC
Location: .NL

Post by *Maxwish »

It would be interesting if we could make a buton and send a filename as parameter to Tconsole for execution. I will suggest this in the Tconsole thread.
...BRB...
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Re: program output in tc pane

Post by *SanskritFritz »

larry wrote:I added a DOS program to the button bar and would like its output (a list with usernames) to be displayed in a pane.
If you are able to format the list to certain degree, you may able to format the output which is readable by the DiskDir plugin, redirect it to a .lst file, and it behaves like a packed file in a TC panel. DiskDir can read any list without problem, like:
-------
User1
User2
User3
-------
I switched to Linux, bye and thanks for all the fish!
larry
Junior Member
Junior Member
Posts: 4
Joined: 2003-12-19, 07:27 UTC

diskdir

Post by *larry »

I'll try the diskdir plugin... but actually I don't have much to say over the output the program generates... it's an old finger program which lists all user currently logged in under novell
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Isn't it enough just to type the userlist command (or the command you have) in TConsole window?
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Yeah, what is the reason you want the list in a TC panel?
I switched to Linux, bye and thanks for all the fish!
larry
Junior Member
Junior Member
Posts: 4
Joined: 2003-12-19, 07:27 UTC

Post by *larry »

to SanskritFritz: have you ever tried to browse and search a 300-items list in a tconsole window?!
Unjoanqualsevol
Junior Member
Junior Member
Posts: 39
Joined: 2003-02-27, 11:41 UTC
Location: Catalunya

Post by *Unjoanqualsevol »

Well, maybe with Multiarc plugin it's posible, if the the program has some stable format output.

Use your program as a packer with Multiarc. Define a new addon for Multiarc (see Multiarc help) with the format of the output program. I think only list command is needed. Use some dummy extension for your 'packer', like .dummy.
Then when TC opens a .dummy file executes Multiarc, and Multiarc executes your program, and list the output to TC and finally Tc shows the items in panel.

Now, you can explore .dummy files as a compress file. :-)
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

larry wrote:to SanskritFritz: have you ever tried to browse and search a 300-items list in a tconsole window?!
No, I just have much smaller userlist :-)
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
Post Reply