Portál AbcLinuxu, 10. května 2025 05:27

Dotaz: Jak na nastavení cesty v dialogu

19.2.2013 13:39 Libor
Jak na nastavení cesty v dialogu
Přečteno: 194×
Odpovědět | Admin
Ahoj, jak muzu rict svemu scriptu, ze soubor .dialogrc lezi v adresari /tmp/set/. Poradíte? Díky
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

Jakub Lucký avatar 19.2.2013 13:50 Jakub Lucký | skóre: 40 | Praha
Rozbalit Rozbalit vše Re: Jak na nastavení cesty v dialogu
Odpovědět | | Sbalit | Link | Blokovat | Admin
RUN-TIME CONFIGURATION
       1.  Create a sample configuration file by typing:

                 "dialog --create-rc <file>"

       2.  At start, dialog determines the settings to use as follows:

           a)  if environment variable DIALOGRC is set, its  value  determines
               the name of the configuration file.

           b)  if  the  file in (a) is not found, use the file $HOME/.dialogrc
               as the configuration file.

           c)  if the file in (b) is not found, try using  the  GLOBALRC  file
               determined at compile-time, i.e., /etc/dialogrc.

           d)  if the file in (c) is not found, use compiled in defaults.

       3.  Edit  the  sample configuration file and copy it to some place that
           dialog can find, as stated in step 2 above.
If you understand, things are just as they are; if you do not understand, things are just as they are.
19.2.2013 14:49 Libor
Rozbalit Rozbalit vše Re: Jak na nastavení cesty v dialogu
To jsem v manuály našel taky, žel bohu jen anglicky :(
19.2.2013 14:52 blondak | skóre: 36 | blog: Blondak | Čáslav
Rozbalit Rozbalit vše Re: Jak na nastavení cesty v dialogu
A nemá to být nějak takto DIALOGRC=/tmp/set/.dialogrc dialog ...?
Každý problém ma své logické, snadno pochopitelné nesprávné řešení.
20.2.2013 12:07 Libor
Rozbalit Rozbalit vše Re: Jak na nastavení cesty v dialogu
Ale kam to napsat?
20.2.2013 12:19 blondak | skóre: 36 | blog: Blondak | Čáslav
Rozbalit Rozbalit vše Re: Jak na nastavení cesty v dialogu
před spuštěbí toho dialog nebo dát někam na začátek toho scriptu export DIALOGRC=/tmp/set/.dialogrc
Každý problém ma své logické, snadno pochopitelné nesprávné řešení.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.