Thread: Male Perfectionist seeks Perfect Prompt

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912

    Male Perfectionist seeks Perfect Prompt

    So I'm doing the interface for my server program, and being a perfectionist, it has already taken me longer than the server code itself (being a lazy butthead doesn't help either). I'm making two versions. An easy to use one with a Windows GUI, and a more "professional" one with more control that runs on a command prompt and is designed more for use with Mono, etc... on other systems. I'm wondering what would be best for use as the prompt for the command line. Since the name of the program is 'Zi', and > is the default prompt in DOS (which is what I'm most used to), I've been using "Z >", but I'd like to know from the Linux community if there is a sort of "standard" prompt. I know it's a dumb question, but I'm a dumb person, so let me know what you guys think.

  2. #2
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    As far as standards and Linux are concerned, there are none. The prompt usually depends on what shell you are using at the time and what you have the shell configured to output as your prompt.

  3. #3
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743
    make the prompt look C++ pointerish:

    Prompt->
    My Website

    "Circular logic is good because it is."

  4. #4
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Posts
    2,572
    I would tell you what to do, and believe me my idea is great....but I want 15% of all profits

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

  5. #5
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Most programs which have a CLI like what you're describing just use their program name followed by the '>' symbol, so that's what I'd reccomened you use.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  6. #6
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Well since my program will be free, you're welcome to have 200% of the profits. So now you have to share your idea, axon.

  7. #7
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    in the vein of my bash shell on linux i suggest

    [ Zi ]$ type here!
    [ Zi ]$ wow!

  8. #8
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    [root@Zi pwd]$ whatever yadda yadda

  9. #9
    Stinking it up. StinkyRyan's Avatar
    Join Date
    Jun 2004
    Posts
    61
    have it customizable for the user to choose it i like choices
    Because I can't.

  10. #10
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,227
    Quote Originally Posted by StinkyRyan
    have it customizable for the user to choose it i like choices
    I'm with him, but default to something simple:

    [ Zi ] >

  11. #11
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Customizable - I like that. Thanks guys!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Removing spaces from a "string"
    By sytaylor in forum C++ Programming
    Replies: 20
    Last Post: 03-25-2004, 10:14 AM
  2. Perfect Number Problem
    By TrazPFloyd in forum C++ Programming
    Replies: 21
    Last Post: 10-20-2002, 11:09 AM
  3. Password prompt in unix w/o \b
    By rafe in forum C++ Programming
    Replies: 1
    Last Post: 10-09-2002, 08:54 AM
  4. Perfect number
    By TheSki in forum C++ Programming
    Replies: 2
    Last Post: 10-30-2001, 04:34 PM