Topic awaiting preservation: command line type interface |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: Seattle, WA, USA |
posted 05-02-2003 01:48
I was thinking about trying to design a site that looks like the command prompt, also known as the dos prompt. I was wondering how I could accept input and stuff from it. Like they just type in a command and then press enter and it does something. Is there a way I could do this without making it look bad, like having a textbox there or something. Also how would I have the blinking underscore thing that is the cursor. Basically I want to know a lot about it and it would probably be best if I could just look at the source code of something similar. |
Paranoid (IV) Inmate From: Sthlm, Sweden |
posted 05-02-2003 09:58
Cool idea, should be doable, use css to style the textbox, use js to keep the (real) cursor in the input and submit. Then use php on the server to create pages based on input. |
Nervous Wreck (II) Inmate From: Utreg, NL |
posted 05-02-2003 11:06
Some time ago I worked on a kind of "game" that used this idea. The concept was that you got a kind of dos window (graphically spiced up conciderably though) with a commandline inputfield at the bottom of it, and all the screen said was "type help". From there on it was all trial and error for the user. I built in a file system, (browsable with cd name, cd .. etc.) with files and stuff in them, and within one "session" you could also create your own files and save them (not persistent). |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 05-02-2003 17:55
You shouldn't need to actually use a textbox. |
Bipolar (III) Inmate From: Cranleigh, Surrey, England |
posted 05-17-2003 21:24
This idea intereseted me, and I made my own veriosn of dos in javascript. take a look at www.wrayal.4t.com/dos.html Sorry about the popups etc, I dont have my own server or anything. Feel free to nick any code you like. |
Bipolar (III) Inmate From: # |
posted 05-21-2003 14:17
I thought i saw something that should be of interest on the the5k.org http://www.the5k.org/description.asp/entry_id=1152 |