Template:Root Prompt

From Gentoo Linux Wiki

Jump to: navigation, search

Contents


[edit] Introduction

Only one a root prompt.
looks at the different examples. Very interesting results can be obtained.

[edit] between wiki table tags

you mush put this between wiki table tags NO BETWEEN <table></table> if you are in one body table then init a new wiki table in the html table The template return a row with two cells.

What it looks like What you type
prompt name ~#
lineImage:CursorOFF.gif
{|
{{Root Prompt|prompt name|line}}
|}
Also with cursor. Default is off.
prompt name ~#
lineImage:CursorON.gif
{|
{{Root Prompt|prompt name|line|ON}}
|}
prompt name ~#
line 1Image:CursorOFF.gif
prompt name ~#
line 2Image:CursorOFF.gif
prompt name ~#
line ...Image:CursorON.gif
{|cellspacing=0 cellpadding=0
{{Root Prompt|prompt name|line 1}}
{{Root Prompt|prompt name|line 2}}
{{Root Prompt|prompt name|line ...|ON}}
|}

[edit] usage

Result Wiki Code
engendro ~#
find ~/public_html/cgi-bin -type f -name "*.cgi" -exec chmod 755 {} \;Image:CursorON.gif
{{Root Prompt|engendro|<nowiki>find ~/public_html/cgi-bin  -type f -name "*.cgi" -exec chmod 755 {} \;</nowiki>|ON}}

With this code emulate a terminal:

{|width=75% style="background-color:#c0c0c0; border:solid 2px #669900;" align=center cellspacing=0 cellpadding=0
{{Root Prompt|Dovecot|<nowiki>echo "net-mail/dovecot pop3d" >> /etc/portage/package.use</nowiki>}}
{{Root Prompt|Dovecot|<nowiki>echo "mail-filter/dspam virtual-users" >> /etc/portage/package.use</nowiki>}}
{{Root Prompt|Dovecot|}}
{{Root Prompt|Dovecot|<nowiki>emerge dovecot</nowiki>}}
{{Root Prompt|Dovecot|<nowiki>emerge -Ca ssmtp</nowiki>}}
{{Root Prompt|Dovecot|<nowiki>emerge postfix</nowiki>}}
{{Root Prompt|Dovecot|<nowiki>emerge clamav</nowiki>}}
{{Root Prompt|Dovecot|<nowiki>emerge dspam</nowiki>}}
{{Root Prompt|Dovecot|<nowiki>emerge dspam-web</nowiki>}}
{{Root Prompt|Dovecot|<nowiki>emerge squirrelmail</nowiki>|ON}}
Dovecot ~#
echo "net-mail/dovecot pop3d" >> /etc/portage/package.useImage:CursorOFF.gif
Dovecot ~#
echo "mail-filter/dspam virtual-users" >> /etc/portage/package.useImage:CursorOFF.gif
Dovecot ~#
Image:CursorOFF.gif
Dovecot ~#
emerge dovecotImage:CursorOFF.gif
Dovecot ~#
emerge -Ca ssmtpImage:CursorOFF.gif
Dovecot ~#
emerge postfixImage:CursorOFF.gif
Dovecot ~#
emerge clamavImage:CursorOFF.gif
Dovecot ~#
emerge dspamImage:CursorOFF.gif
Dovecot ~#
emerge dspam-webImage:CursorOFF.gif
Dovecot ~#
emerge squirrelmailImage:CursorON.gif

[edit] ideas

Make Horizontal Scroll Bar on|off than simulated real shell

[edit] TODO

Horizontal Scroll Bar on|off

[edit] bugs

TuX ~#
where? hereImage:CursorON.gif

[edit] Is the truth out there?

Perhaps ...

Personal tools
In other languages