Thomas Klausner wrote:
Hi!
As we all want the site to go live ASAP, we should try to decide what to use
as a root/user prompt, so we can than change all the occurences to the new
form.
Please feel free to add ideas and +/- to each idea...
1) No prompt at all
+ copy and past
- no difference between user/root
- copy and past might not work with long lines
- doesn't look like a prompt
2) only use '%' and something for root ('>' ?)
+ '%' is used in most of the docs
- '#' looks like a comment and thus cannot be used
- other sigils than '#' might be confusing
3) "ai" plus % or #
+ looks like a prompt
- 'ai' might be confusing (use other short hostnames?)
4) 'user%' and 'root#' (or 'user%' and 'root%')
+ looks like a prompt
- 'user' isn't to clear ('stas' might be too specific ...
maybe 'you%' ?
5) '%' and 'root#'
+ looks like a prompt
+ '%' is short
+ 'root#' is very explicit and clear.
6) ??
I like 5) best.
I guess everything we'll choose will be confusing for some users (e.g.
windows user might expect 'C:\>' or something)
Thanks for this summary Thomas.
here is a corrected entry 5.
5) '%' and 'root#'
+ looks like a prompt
+ '%' is short
+ 'root#' is very explicit and clear.
- it doesn't mean that you realy have to be root it just means that
you *may* need some special perms to do something. or not.
- it breaks the alignment. consider:
% perl Makefile...
% make
root# make install
% make test
and here is 6:
6) nu% (normal user)
su# (super user)
+ looks like a prompt
+ short
+ good mnemonics, doesn't imply 'root' on machines with no 'root'
+ aligned properly
+ easily adjustable to other preferences (which is not the case
with other presented choices):
if you prefer to read your docs without prompts, you can simply:
nu% find src -type f -name '*pod' \
-exec perl -pi -e 's/(n|s)u(\%|#)\s//' {} \;
nu% bin/build
we can even make a special bin/build flag that will do that :)
I vote 6!
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]