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 Fri 25 Jul 2014, 01:25
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 Posts_count  
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0419s ][ Queries: 11 (0.0047s) ][ GZIP on ]