The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

dialog, но только под X'ы?


<< Предыдущая ИНДЕКС Поиск в статьях src Установить закладку Перейти на закладку Следующая >>
_ RU.LINUX (2:5077/15.22) ___________________________________________ RU.LINUX _
 From : Andy Pershin                        2:5059/9.15     25 Feb 98  19:50:42 
 Subj : dialog, но только под X'ы?                                   
________________________________________________________________________________
Hello! 

Mike Iokhvin wrote:
MI>   Subj, в природе, как dialog, но только под X'ы? Желательно с тем-же
MI> синтаксисом (но это не главное)... Если можно -- URL, pls.
Случайно где-то откопал widtools-2p0b.tgz, именно то, что надо.

==> Cut <==
widtools v2.0b

Robert S. Mallozzi
<[email protected]>
1997 March


INTRODUCTION 

    widtools is a small set of tools that allow you to use XForms widgets 
    in your shell scripts.  There are the following tools available: 

       dialog
       getfile
       input
       menu
       showfile
       slider
       
    The structure of widtools has totally changed from that of v1.2.  The
    new version is not backward compatible; sorry, but it cannot be helped.
    The older versions were flawed in their design (not that the new version
    isn't :-) ).  Anyway, there is now a single executable name (widtools),
    and flags are given for various options, sort of like Tcl/Tk.
    Executing widtools without any arguments will print a help screen, 
    so you don't have to remember the calling sequences.  In general, 
    you execute
    
       widtools -tag -flag value
       
    where tag is one of the words in the list above. You can set many global
    flag options, such as foreground and background colors, font size and 
    style, etc., by adding additional flags.  For example, to show a dialog 
    box with a white background and red text
    
       widtools -dialog -fore red -back white 
      
    Execute widtools without any arguments to view a summary of supported 
    options, and available colors and fonts (colors and fonts are all those
    supported by xforms v0.84).
    
    In a shell script, you execute the widtools command with the $()
    construct (or the `` construct).  
    The return value depends on the type of widget.  For dialog
    widgets, 0 is returned if "Ok" is selected, 1 if "Cancel is selected.
    Run the sample script example, and then look at the file to see how I
    invoked the different widtools.

         
    
INSTALLATION

    0. You must have the XForms library installed (minimum version 0.81)
    
    1. Examine the Makefile to ensure that the system will find the forms 
       library and the X libraries.  Then execute make, like this:
       
       $make
       
    2. Copy widtools to your binary directory (e.g., /usr/local/bin).
==> Cut <==

ЗЫ: Архивчик всего 10к.
-- 
Andy Pershin                            [ PUUG Coordinator ]
--- TIN [UNIX 1.3 unoff BETA 970826; i586 Linux 2.1.88]
 * Origin: ===> Carthago delenda est <=== (2:5059/9.15@fidonet)



<< Предыдущая ИНДЕКС Поиск в статьях src Установить закладку Перейти на закладку Следующая >>

 Добавить комментарий
Имя:
E-Mail:
Заголовок:
Текст:




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру