1

enter image description here

how to change the input box color while using form property in shell script using dialog

0

The manpage does not go into detail, but mentions configuration files. The sample configuration files in the sources use named configuration items, e.g., this chunk from sourcemage.rc:

# Input box color
inputbox_color = dialog_color

# Input box border color
inputbox_border_color = dialog_color

The values are either referencing previously-set ones, such as dialog_color:

# Dialog box color
dialog_color = (BLACK,WHITE,OFF)

or, as shown, referencing curses color-names.

1
  • Thanks for your reply, will you please advice where we need to insert the code exactly (Use \Zn\Z4Up\Zn/\Zn\Z4Down\Zn keys to navigate to next field. Press \ZnTab \Zn to jump to \Zn\Z4OK\Zn/\Zn\Z4Cancel\Zn buttons) " \ 20 75 0 \ "IP Address:" 1 1 "$ipaddress" 1 25 48 0 \ "Subnet Mask:" 3 1 "$subnetmask" 3 25 48 0 \ "Gateway:" 5 1 "$gateway" 5 25 48 0 \ 2>&1 1>&3) – Manikandan May 28 '19 at 10:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.