On 2005-02-17 10:24:13 +0100, Jacques L'helgoualc'h wrote:
> Un message � l'ouverture, �a s'oublie ...
> 
> if [ -n "$REMOTEHOST" ]
> then
>     PS1="\[\e[00;32;40m\]$(basename $(tty)) \u\[\e[00;01;33;[EMAIL 
> PROTECTED]:\w \[\e[01;33m\]\\$ \[\e[00m\e[K\]"
> else
>     PS1="\[\e[00;32;40m\]$(basename $(tty)) \u\[\e[00;37;[EMAIL PROTECTED] 
> \[\e[01;32m\]\\$ \[\e[00m\e[K\]"
> fi

Il y a des fois o� on pr�f�re un message � l'ouverture, surtout si
le shell est non interactif.

-- 
Vincent Lef�vre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


-- 
Pensez � lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez � rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Répondre à