[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Dialog diferente no Freebsd
From: |
Julio Cesar Mauro |
Subject: |
Dialog diferente no Freebsd |
Date: |
Tue, 12 Sep 2006 22:18:26 -0300 |
User-agent: |
Thunderbird 1.5.0.4 (X11/20060614) |
Boa noite pessoal,
Desenvolvi um script de backup em fitas DDS em dialog e ele esta
funcionando normalmente nas minhas maquinas que utilizam o Fedora,
porém, quando porto o arquivo para o FreeBSD ele retorna erros para mim
como a sintaxe estivesse incorreta.
Como exemplo, criei um menu com 7 opcoes da seguinte forma:
dialog --stdout --backtitle "SISTEMA DE BACKUP Telium Networks - TIS
2.0" --menu "$serv Menu Principal" 0 50 6 \
1 "Inicia Backup em Fita " \
2 "Restaura Backup" \
3 "Lista Conteudo da Fita" \
4 "Ativa Compressao na Fita" \
5 "Mostra Status da Fita" \
6 "Ejeta a Fita" \
0 "Sair "
Funciona perfeitamente no Linux, mas no FreeBSD retorna o seguinte:
dialog version 0.3, by Savio Lam (address@hidden).
patched to version 0.4 by Stuart Herbert (address@hidden)
Changes Copyright (C) 1995 by Andrey A. Chernov, Moscow, Russia
patched by Anatoly A. Orehovsky (address@hidden)
* Display dialog boxes from shell scripts *
Usage: dialog --clear
dialog --create-rc <file>
dialog [--title <title>] [--clear] [--hline <line>] [--hfile <file>]\
<Box options>
Box options:
--yesno <text> <height> <width>
--msgbox <text> <height> <width>
--prgbox "<command line>" <height> <width>
--infobox <text> <height> <width>
--inputbox <text> <height> <width> [<init string>]
--textbox <file> <height> <width>
--menu <text> <height> <width> <menu height> <tag1> <item1>...
--checklist <text> <height> <width> <list height> <tag1> <item1>
<status1>...
--radiolist <text> <height> <width> <list height> <tag1> <item1>
<status1>...
--ftree <file> <FS> <text> <height> <width> <menu height>
--tree <FS> <text> <height> <width> <menu height> <item1>...
Tenho quase certeza de que é porque o do linux é o famoso "ComeOn
Dialog!" e do FreeBSD é o "dialog version 0.3, by Savio Lam"
Alguém poderia confirmar se é exatamente isso e tentar me explicar pq o
fonte do ComeOn Dialog se recusa a instalar no FreeBSD ? :-D
Grande abraços a todos !
--
Júlio César Mauro
------------------------------------------------
Phone #: 11-9982-6936
Skype: juliocesarmauro
MSN: address@hidden
LPI #: LPI000103014
GNU/Linux User # 114287
------------------------------------------------
"Escolhe, pois, a vida, para que vivas, tu e a tua descendência."
Deuteronômio 30:19
[As partes desta mensagem que não continham texto foram removidas]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Dialog diferente no Freebsd,
Julio Cesar Mauro <=