Need help with script to launch MC in terminal (Solved)

Booting, installing, newbie
Post Reply
Message
Author
User avatar
Bancobusto
Posts: 168
Joined: Mon 13 Jun 2005, 20:52
Location: Vancouver Island

Need help with script to launch MC in terminal (Solved)

#1 Post by Bancobusto »

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: Select all

{xterminal emulator} mc
Please help this fumbling newbie, can't seem to help myself today....

Any help deeply appreciated :)

EDIT:
I know that to run a program like XMMS, which isn't dependent on a terminal to run, I could write

Code: Select all

#!/bin/sh
xmms
...but MC seems dependent on the xterm or whatever.... hmmm

doopdoop
Posts: 48
Joined: Thu 28 Jul 2005, 08:38
Location: Magdeburg, Germany

#2 Post by doopdoop »

Code: Select all

xterm -e mc
should do the trick

User avatar
Bancobusto
Posts: 168
Joined: Mon 13 Jun 2005, 20:52
Location: Vancouver Island

#3 Post by Bancobusto »

Doopdoop, that worked, thanks a bundle. :lol:

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! :D

Post Reply