LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-09-2004, 02:08 AM   #1
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
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
 
Old 05-09-2004, 03:17 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
-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.)

Last edited by slakmagik; 05-09-2004 at 03:23 AM.
 
Old 05-09-2004, 03:31 AM   #3
|2ainman
Member
 
Registered: Mar 2004
Distribution: Slackware current, DSL 0.9.2
Posts: 133

Rep: Reputation: 15
/usr/sbin/firewall-status &
Adding the & will make it a background process, so it shouldnt close automatically
 
Old 05-09-2004, 03:49 PM   #4
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Original Poster
Rep: Reputation: 52
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Borderless aterm in fluxbox LivinLarge Linux - Newbie 2 11-28-2005 07:07 PM
Fluxbox and aterm Mercurius Linux - Software 1 10-19-2005 04:17 PM
aterm startup commands DrGnome Linux - Software 1 04-10-2004 01:38 PM
Fluxbox/aterm question pen^2 Linux - Software 4 02-03-2004 06:07 AM
Can someone please post some Aterm commands for the rest of us ? Rampage2884 Linux - Newbie 19 04-25-2003 05:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration