LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   get a command prompt (https://www.linuxquestions.org/questions/programming-9/get-a-command-prompt-761125/)

johnh10000 10-11-2009 06:09 AM

get a command prompt
 
Hi don't think this one is possible.
on win7 party site, i have a emu of win7 desktop! I added a bsod for fun!

now what i'd like to do, is click on the c:>_ icon, and pop up a bash shell, or dos prompt or whatever a mac does.

any ideas? if not i'll just put a webpage looking like one!
not bothered what lang.

php i seem to recall might do it.

MS3FGX 10-11-2009 11:40 AM

I'm not sure I understand what you are asking here. You want to be able to start a terminal on the machine that is viewing your page?

catkin 10-11-2009 11:45 AM

What are you using to display the "emu of win7 desktop"? Is it running in an X-based window? Which OS is generating the image and which OS is it being viewed on?

johnh10000 10-11-2009 04:37 PM

Quote:

Originally Posted by catkin (Post 3715537)
What are you using to display the "emu of win7 desktop"? Is it running in an X-based window? Which OS is generating the image and which OS is it being viewed on?

Sorry gang, I was in a rush. Its a stupid website for my win7 virtual launch party. Well it's only fair, they have sent me disk.

Most of it is writtin in JS. So I though it would be fun to open a terminal window on the host machine.

It's not important, but would be fun. It's being served by a linux ubuntu jaunty box.

it's not that sophisicated.

http://tux.isa-geek.org (my usual website)
http://win7party.isa-geek.org

jlinkels 10-11-2009 08:29 PM

Can you do somthing with this?
http://web.archive.org/web/200304012...//command.com/

I haven't looked at the source, maybe you can lend some of that code.

jlinkels

johnh10000 10-12-2009 01:30 AM

Quote:

Originally Posted by jlinkels (Post 3715946)
Can you do somthing with this?
http://web.archive.org/web/200304012...//command.com/

I haven't looked at the source, maybe you can lend some of that code.

jlinkels

I've just got up, that looks cool, it WILL be err borrowed ! ;)


All times are GMT -5. The time now is 03:09 PM.