LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   aterm & fluxbox menu commands (https://www.linuxquestions.org/questions/linux-general-1/aterm-and-fluxbox-menu-commands-179517/)

jong357 05-09-2004 02:08 AM

aterm & fluxbox menu commands
 
Me again... :) I'm tweaking out my fluxbox menu with alot of aterm commands..... I need to know how to have the terminal stay up instead of closing down automatically.... Know what I mean? Like say, this one...

{aterm -tr -trsb -bw 0 -sb -sr -fg white -bg black -cr \#255255 -fn 10x20 -title 'Firewall Log' -g 85x25 -e /usr/sbin/firewall-status}

as soon as it hits the prompt after listing all my logs, it's gone..... Any suggestions? I have alot of commands that I want to do this to.... Pointless trivial stuff like lspci, lsusb, lsmod and what not.... The man page revealed nothing so I'm not sure what to do now..... O.k, thanks

Jon

slakmagik 05-09-2004 03:17 AM

-hold

Damn. My mistake. xterm has the '-hold' option. I usually use aterm, but use xterm for stuff like that (gkrellm commands off buttons and such-like) and I don't know a way to get aterm to do that. Dumb to remove that option without a substitute, but I don't know what it is.

Try this instead:
aterm -e bash -c 'command; read'

Then just hit enter. (Stolen and modified from a file manager.)

|2ainman 05-09-2004 03:31 AM

/usr/sbin/firewall-status &
Adding the & will make it a background process, so it shouldnt close automatically

jong357 05-09-2004 03:49 PM

Nice...... That did the trick Digiot.... It scrolls to the bottom and stops. Hitting 'enter' will kill the window. Exactally what I was looking for. I had tried the '&'/'&&' earlier |2ainman, and that doesn't work. One would think so, but it doesn't..... I thought using 'more' would have done the trick as well... Well, cool... Thanks guys.... Been learning all sorts of cool stuff the past week on this LFS install using Fluxbox.... You tend to overlook how much Gnome and Kde actually hold your hand with some things..... Never used anything besides Gnome Terminal before either.... :) Thanks again...

Jon


All times are GMT -5. The time now is 12:11 AM.