Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 20 Apr 2014, 09:41
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Need help with script to launch MC in terminal (Solved)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
Bancobusto


Joined: 13 Jun 2005
Posts: 168
Location: Vancouver Island

PostPosted: Sat 30 Jul 2005, 15:27    Post subject:  Need help with script to launch MC in terminal (Solved)  

Hey, this should be an easy one for someone knowledgable to answer.

Despite the fact that there's a dot-pup of Midnight Commander, I recently downloaded the 1.05alpha release of Puppy and am experimenting with compiling programs.

So, I have installed MC from source, and was wondering what I should put in a script to lauch MC in a terminal without having to first open the terminalk, then type "mc".

Something like (and i'm guessing here, i know that it's not correct)

Code:
{xterminal emulator} mc


Please help this fumbling newbie, can't seem to help myself today....

Any help deeply appreciated Smile

EDIT:
I know that to run a program like XMMS, which isn't dependent on a terminal to run, I could write
Code:
#!/bin/sh
xmms


...but MC seems dependent on the xterm or whatever.... hmmm
Back to top
View user's profile Send private message 
doopdoop

Joined: 28 Jul 2005
Posts: 48
Location: Magdeburg, Germany

PostPosted: Sat 30 Jul 2005, 17:00    Post subject:  

Code:

xterm -e mc

should do the trick
Back to top
View user's profile Send private message 
Bancobusto


Joined: 13 Jun 2005
Posts: 168
Location: Vancouver Island

PostPosted: Sat 30 Jul 2005, 17:08    Post subject:  

Doopdoop, that worked, thanks a bundle. Laughing

I had seen that somewhere before, but couldn't seem to use my powers of recollection or searching prowess to find the answer myself...

Thanks! Very Happy
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0480s ][ Queries: 12 (0.0066s) ][ GZIP on ]