From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 11 Nov 2002 13:49:16 +0200 (EET) From: Yura Kalinichenko X-X-Sender: yuk@localhost.localdomain To: "Alexey I. Froloff" In-Reply-To: <1514206228.20021111135520@udm.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=koi8-r Content-Transfer-Encoding: 8BIT Subject: [Comm] =?koi8-r?Q?Re=3A_=5BComm=5D_=E6=C9=DB=CB=C9_WinXP?= Sender: community-admin@altlinux.ru Errors-To: community-admin@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: community@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: В Пон, 11 Ноя 2002, ASA написал(а): A> Hello Alexey, A> A> Monday, November 11, 2002, 12:49:09 PM, you wrote: A> A> AIF> man xmessage A> A> AIF> P.S. A> if [ -n "$DISPLAY" ]; then A> xmessage ... A> ... A> else A> dialog ... A> ... A> fi A> Гораздо удобнее if [ -n "$DISPLAY" ]; then DIALOG=Xdialog else DIALOG=dialog fi $DIALOG ... ... $DIALOG ... ... -- Yura Kalinichenko