Sample0: Shell dialog manipulieren

Gutn Abend allerseits!

es geht wiedermal um die bash von Linux.
Und zwar möchte ich auf der Konsole mir dialog (nicht X) meine Scripts grafisch unterstützen.
Dazu habe ich ein konfigurations file erstellt das in home ordner der user liegt.
Das file habe ich mit: dialog --create-rc dialog.rc erzeugt.
Dort kann ich dann anderungen vornehmen wie z.B die Hintergrundfarbe etc. aber das wird nicht übernommen, dialog nimmt keine änderungen an, wieso nicht?
Kann da einer Helfen?

  1. Hallo Sample0.

    Und zwar möchte ich auf der Konsole mir dialog (nicht X) meine Scripts grafisch unterstützen.
    Dazu habe ich ein konfigurations file erstellt das in home ordner der user liegt.
    Das file habe ich mit: dialog --create-rc dialog.rc erzeugt.
    Dort kann ich dann anderungen vornehmen wie z.B die Hintergrundfarbe etc. aber das wird nicht übernommen, dialog nimmt keine änderungen an, wieso nicht?

    Du hast ganz offensichtlich das Folgende nicht berücksichtigt:

    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.

    Siehe hierzu dialog(1).

    Einen schönen Mittwoch noch.

    Gruß, Mathias

    --
    ie:% fl:| br:< va:) ls:& fo:) rl:( n4:~ ss:) de:] js:| mo:| zu:)
    debian/rules