Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: My Dos shell

  1. #1

    My Dos shell

    I've finally got an alpha version which has a lot of usability. You can find it at http://www.geocities.com/snailboy1/shell.c. Here's a list of features and bugs:

    Features:
    Converts Dos paths (when parameters) to Unix paths
    Converts Dos flag ('/') to Unix flag ('-')
    Supports Dos drive letters (see notes)
    Internal cd command

    Bugs:
    Cannot put multiple spaces between parameters or a null parameter will be passed to command
    Cannot change drive letters without using cd command
    Drive letters are case-sensitive
    Pressing ctrl + c exits shell

    Notes:
    This is an independant shell. You can set a user's default shell to it and you don't need any particular other shell installed. Download the source file and then you'll need to change some variables. Set the last 4 global variables to whatever you need. "home" is linked to drive "home_drive" and "floppy" is linked to drive "floppy_drive". "c:" is permanently "/". As you can see, I set "a:" to "/floppy" and "z:" to "/home/kenshi". Later there will be a configuration file with these settings. Then just run "gcc shell.c -o dosshell" and "./dosshell". Have fun.

  2. #2
    Guest

    Re: My Dos shell

    Shall I do a DOS shell in Ruby..?

  3. #3

    Re: My Dos shell

    Ok, I found a major flaw in the prompt function and fixed it. If you've already downloaded the shell, download it again!

    And GnuVince, your Ruby cannot compare to my C. Try all you want, but my Dos shell is the best. Psh... Yours even would require an interpreter. What kind of a shell requires an interpreter?

  4. #4
    Guest

    Re: My Dos shell

    J w1|| 0v3rfl0w j00r C c0d3!!!!11 HAHAHAHALAOLAOLLOLLOLLL!!!!!!!!!111

  5. #5

    Re: My Dos shell

    Not with the proper care.

  6. #6
    Junior Member
    Join Date
    May 2001
    Posts
    55

    Re: My Dos shell

    Im STARTING to learn java, can I do it with it or am I the one who is left out * :'(

  7. #7

    Re: My Dos shell

    I'm sure Java can do it. It's a lot like C anyway.

  8. #8

    Re: My Dos shell

    Alpha 1.2 is out now. I did some code rearranging and fixed the multiple space bug. Get it while it's fresh. There'll probably be another version tonight.

  9. #9
    Junior Member
    Join Date
    May 2001
    Posts
    55

    Re: My Dos shell

    Omgz lets all make a dos shell thingy with different types of programming languages !

  10. #10

    Re: My Dos shell


    Omgz lets all make a dos shell thingy with different types of programming languages !
    Let's not.

Similar Threads

  1. Slackware Shell
    By vern in forum Linux - General Topics
    Replies: 38
    Last Post: 12-16-2004, 01:25 AM
  2. shell access?
    By Rastar in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 01-03-2003, 08:13 PM
  3. PHP in shell
    By xin in forum Linux - Software, Applications & Programming
    Replies: 11
    Last Post: 07-22-2002, 08:20 PM
  4. Shell commands from PHP?
    By tolstoy in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 06-13-2002, 03:25 PM
  5. How the Shell did I get to Thailand?
    By Rastar in forum General Chat
    Replies: 6
    Last Post: 06-07-2002, 02:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •