1

enter image description here

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

Rui F Ribeiro
  • 55,929
  • 26
  • 146
  • 227
Manikandan
  • 11
  • 1

1 Answers1

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.

Thomas Dickey
  • 75,040
  • 9
  • 171
  • 268
  • 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