# Colors on Inputs

**URL:** <https://techcommunity.softwareag.com/t/colors-on-inputs/60564>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [February 13, 2006, 3:18pm UTC](https://techcommunity.softwareag.com/t/colors-on-inputs/60564 "2006-02-13T15:18:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [February 13, 2006, 3:18pm UTC](https://techcommunity.softwareag.com/t/colors-on-inputs/60564/1 "2006-02-13T15:18:48Z")

</div>

Hi,

how could i Use Colors to be displayed. I tried all possible Controll-Variables (I used a Binary redefinition and count all values) within the Input Statement and don’t get it right. I Use Nat 3.1.06 on BS2000 Terminaltype 9750.

The only Color i get is Red foreground but i want to change background color to green or blue. (Blue is medium bright, blinking and invers.; Green is underline and invers.)

Greetings Sascha

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [February 13, 2006, 5:27pm UTC](https://techcommunity.softwareag.com/t/colors-on-inputs/60564/2 "2006-02-13T17:27:52Z")

</div>

Not sure if this helps (I’m no BS2000 expert), but did you try if  
%T=9750  
enables color support ?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [February 13, 2006, 8:47pm UTC](https://techcommunity.softwareag.com/t/colors-on-inputs/60564/3 "2006-02-13T20:47:28Z")

</div>

I tried your Terminalcommand on Commandline and then i started the following Program:

```auto

DEFINE DATA                
LOCAL                      
1 #A (A10)                 
1 #CTRL (C)                
1 REDEFINE #CTRL           
 2 #CB (B2)               
1 #I (I4)                  
END-DEFINE                 
#CTRL := (AD=V CD=BL)      
INPUT (AD=MI) #CB          
*                          
FOR #I = 1 TO 65536        
  #A := #I                 
  #CB := #I                
  SET CONTROL 'N'          
  INPUT (AD=MY CV=#CTRL) #I
END-FOR                    
END                        
```

But i didn’t see the colors i want ☹

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [February 13, 2006, 9:16pm UTC](https://techcommunity.softwareag.com/t/colors-on-inputs/60564/4 "2006-02-13T21:16:49Z")

</div>

From what I found 9750 may not support color at all, but 9756 and 9763 should,  
you might want to try %T=9756 or %T=9763,  
but beware, this may break your terminal emulator session if it doesn’t support these types.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [February 13, 2006, 9:29pm UTC](https://techcommunity.softwareag.com/t/colors-on-inputs/60564/5 "2006-02-13T21:29:26Z")

</div>

9763 does it 😃 It’s funny to change it with SET CONTROL ‘T=9763’

Thank you for the right hint 🙂

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:40pm UTC](https://techcommunity.softwareag.com/t/colors-on-inputs/60564/6 "2021-04-02T14:40:28Z")

</div>


