Is it possible to run roxterm or rxvt from script and let them load a simple text file?
Please help!
RoxTerm & Bash
RoxTerm & Bash
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
Yes, this works.
But i want the xterm stay usable after loading the text file - actually it doesn't. It closes after hitting enter.
Any hints?
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
RSH,
Maybe this -
placed in your script.
Cheers,
s
Maybe this -
Code: Select all
echo '#! /bin/bash
$@
/bin/bash'> /usr/bin/helper
chmod 755 /usr/bin/helper
rxvt -e /usr/bin/helper cat somefile.txt
Cheers,
s
Yes, that's it!seaside wrote:RSH,
Maybe this -placed in your script.Code: Select all
echo '#! /bin/bash $@ /bin/bash'> /usr/bin/helper chmod 755 /usr/bin/helper rxvt -e /usr/bin/helper cat somefile.txt
Cheers,
s
Thank you very much, seaside!
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]