Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Štvrtok, 15. október 2026

Rozdiely pre scripts/shell/xssh/Attic/zshrc medzi verziami 1.1 a 1.2

verzia 1.1, 2002/03/16 12:26:36 verzia 1.2, 2002/03/16 17:17:32
Riadok 7 
Riadok 7 
 # and user is logged in via ssh  # and user is logged in via ssh
 disp()  disp()
 {  {
         local DISP count          local DISP
         export DISPLAY=          export DISPLAY=
         if [ $?SSH_CLIENT ]; then          if [ "$?SSH_CLIENT" ]; then
                 DISP=( `printenv SSH_CLIENT | awk '{print $1 }'`:0 )                  DISP=`xauth list  "$SSH_CLIENT":0 | awk '{print $1}'`
                 count=( `xauth list $DISP | wc -l` )                  if [ ! -z "$DISP" ]; then
                 if [ $count = 1 ]; then  
                         if [ $SHLVL != 1 ]; then                          if [ $SHLVL != 1 ]; then
                                 echo "Setting DISPLAY $DISP"                                  echo "Setting DISPLAY $DISP"
                         fi                          fi

Legend:
Odstranené z verzie1.1  
zmenené riadky
  Pridané vo verzii1.2

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok