I have my telnet BBS setup to work like a DOS prompt so if you want to goto the msg board you type msgboard.com or files.exe, or whatever..
I would like to try and create / emulate a DOS or Unix prompt on a http page.. is this possible?
so say they goto the address bar and type whatever.com
it brings them to
C:\> or such (it will not actully be root access just a pretend one)
screen all blck with white text, able to accept commands from the prompt like dir *.exe or commands with variables.. or is this too compplicated and cant be done? or would it take like 1000 html pages to accomplish? what is the best way to do this? php? thanks
Have concept - need help with the programming
- Still_Learning
- Fame ! Where are the chicks?!
- Posts: 1040
- Joined: 11 Jun 2008, 16:00
- 15
- Location: Trigger City
- Still_Learning
- Fame ! Where are the chicks?!
- Posts: 1040
- Joined: 11 Jun 2008, 16:00
- 15
- Location: Trigger City
humm.. I guess flash may work but i do not know that much about programming in it, and heard it is pretty vulnerable.
Do you know of a way other then flash to do it, and it look like a real command prompt? like say the page woint refresh everytime.. it will stay like
c:\> dir
(http file dir listing shows)
c:\>forums.exe
then it goes to the forums or such..
i dunno kind of weird i guess but never have seen it done yet and sounded cool
is there any html code that will run one line at a time .. instead of clearing the page everytime?
Do you know of a way other then flash to do it, and it look like a real command prompt? like say the page woint refresh everytime.. it will stay like
c:\> dir
(http file dir listing shows)
c:\>forums.exe
then it goes to the forums or such..
i dunno kind of weird i guess but never have seen it done yet and sounded cool
is there any html code that will run one line at a time .. instead of clearing the page everytime?
hmmm, well I guess you could do it with Java, and might work with Javascript as well. I'm not very high on any of them, so I can't really help you with that.
EDIT: as a side note. I have done exactly what you want to do, in flash once, and it worked quite well =)
It did not interact with the system itself though, and only had a small amount of commands. But it was quite easy to make.
EDIT: as a side note. I have done exactly what you want to do, in flash once, and it worked quite well =)
It did not interact with the system itself though, and only had a small amount of commands. But it was quite easy to make.
"The best place to hide a tree, is in a forest"
- Still_Learning
- Fame ! Where are the chicks?!
- Posts: 1040
- Joined: 11 Jun 2008, 16:00
- 15
- Location: Trigger City
ouch.. guess i will need to study more on flash. What did you use macromedia flash or notepad?cats wrote:hmmm, well I guess you could do it with Java, and might work with Javascript as well. I'm not very high on any of them, so I can't really help you with that.
EDIT: as a side note. I have done exactly what you want to do, in flash once, and it worked quite well =)
It did not interact with the system itself though, and only had a small amount of commands. But it was quite easy to make.
example code would be nice also =)
thanks man
Well the code is gone since a long time, but I used Macromedia Flash MX I believe =)itzm3 wrote: ouch.. guess i will need to study more on flash. What did you use macromedia flash or notepad?
example code would be nice also =)
thanks man
Not much coding there actually ^^ just very basic action script
"The best place to hide a tree, is in a forest"
me thinks you are talking about a shell emulator. You could have a program act as a shell to talk via telnet to the BBS, it would be given limited rights to run on the server.
DNR
DNR
-
He gives wisdom to the wise and knowledge to the discerning. He reveals deep and hidden things; he knows what lies in Darkness, and Light dwells with him.
He gives wisdom to the wise and knowledge to the discerning. He reveals deep and hidden things; he knows what lies in Darkness, and Light dwells with him.
- Still_Learning
- Fame ! Where are the chicks?!
- Posts: 1040
- Joined: 11 Jun 2008, 16:00
- 15
- Location: Trigger City
I allready have a shell emulator setup on telnet, I would like to have the same on my http site, but at the same time it be secure like the telnet versionDNR wrote:me thinks you are talking about a shell emulator. You could have a program act as a shell to talk via telnet to the BBS, it would be given limited rights to run on the server.
DNR
also someone suggested Ajax, do you think that would be better then Flash?
which would be the most efficient / secure code to use? thanks
Yeah AJAX would work. But you would have to learn a few scripting languages and stuff to use it I guess.
This is what AJAX is made of:
Code: Select all
http://en.wikipedia.org/wiki/AJAX
This is what AJAX is made of:
*XHTML and CSS for presentation
*the Document Object Model for dynamic display of and interaction with data
*XML and XSLT for the interchange and manipulation of data, respectively
*the XMLHttpRequest object for asynchronous communication
*JavaScript to bring these technologies together
"The best place to hide a tree, is in a forest"
- floodhound2
- ∑lectronic counselor
- Posts: 2117
- Joined: 03 Sep 2006, 16:00
- 17
- Location: 127.0.0.1
- Contact:
- Still_Learning
- Fame ! Where are the chicks?!
- Posts: 1040
- Joined: 11 Jun 2008, 16:00
- 15
- Location: Trigger City