Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Text color in Linux scripts via putty Post 302990277 by Corona688 on Tuesday 24th of January 2017 10:31:21 AM
Old 01-24-2017
Quote:
Originally Posted by rbatte1
Maybe I'm too old and fondly remember IBM mainframe 3270 displays ...... Smilie

Robin
If you mean the green display, I didn't have an IBM 3270 but I do fondly remember an IBM PC with hercules card, that super-luminous green may be out-of-gamut on modern displays, I could never quite duplicate it.
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Color putty

Right now I am using putty. I am using 2-3 terminals at a time. To differentiate each termianl I want to put each putty screen and background color to different colors. I tried changing the colors in normal putty but it's not working. Is there any other color putty ? Regards, Venkat (2 Replies)
Discussion started by: svenkatareddy
2 Replies

2. Shell Programming and Scripting

text color

Hi all I have a file contains columns showing figures as below : Input file A B C D 50 60 90 E 100 20 53 F 30 40 70 G 25 27 45 I want to color the value above or equal 90 by red and to be shown as below output file... (5 Replies)
Discussion started by: Bluetoot
5 Replies

3. AIX

Enabling color for putty session

Hi Everyone: Is there any way to enable colors through putty for a session into AIX? I've tried to set the TERM variable to xterm-256color but it doesn't work having a 8-color terminal would be okay for me thanks in advance (5 Replies)
Discussion started by: edgarvm
5 Replies

4. Red Hat

New Background and Text Color

Hi. How do I change the background color and text in Fedora. I did find the set_color -b command. Thanks (1 Reply)
Discussion started by: Ccccc
1 Replies

5. Programming

changing text color in c

I'm writing my own Unix ls command in c and I was wondering if anyone knows how to or can point me to a tutorial that shows me how to change the text color of the filename depending on if it's a directory, regular file, linked file, etc..., like the real ls command does? Thanks. (4 Replies)
Discussion started by: snag49ers
4 Replies

6. AIX

How to color text and mail

I want to color the text and bold the text and mail these text. input: hi..(in bold) good morning (in blue color) and mail these as in color and bold :wall: (1 Reply)
Discussion started by: AhmedLakadkutta
1 Replies

7. Shell Programming and Scripting

regarding Color scheme in linux console connected through putty.

Hi All, I am connecting to SunOs 5.8 server from windows machine through putty. My problem is commands are not showing any colours results. I want to see 'ls' command should list directories in 'red' and files in 'green' etc. How to do it . Please help. Also How to enable syntax colouring in... (6 Replies)
Discussion started by: Sooraj_Linux
6 Replies

8. Ubuntu

Using color in scripts

This is supposed to colorize. But it outputs this 3 GREEN='3; then echo -e "${GREEN}File exists.${RESET}" else echo -e "${RED}File does NOT exist.${RESET}" fi (18 Replies)
Discussion started by: drew77
18 Replies
IBM_HOSTS(5)							File Formats Manual						      IBM_HOSTS(5)

NAME
ibm_hosts - host database for x3270 and c3270 SYNOPSIS
/usr/lib/X11/x3270/ibm_hosts DESCRIPTION
The ibm_hosts file contains information regarding IBM hosts on the network. An IBM host is a host which can communicate with a 3270 termi- nal emulator such as x3270 or c3270. Each line defines a name in the following format (optional fields are shown in brackets): name type [opt:]...[luname@]hostname[:port] [actions] Items are separated by any number of blanks and/or TAB characters. A line beginning with # is taken as a comment (note that # anywhere else on a line does not indicate a comment). The name field is a mnemonic used to identify the host. The type field is a keyword that indicates the type of entry. The value primary means that the name will be included in host-selection menus that may be displayed by a 3270 emulator. The value alias means that the name will not be included in menus, but will still be accepted as valid input when a host name is required. The hostname field is the Internet hostname or dot-notation Internet address of the host. The hostname can include `s:' or `p:' prefixes, e.g., s:finicky (see the x3270(1) or c3270(1) man page sfor details). It can also an LU name, separated by an `@' character, e.g., oddlu@bluehost. Finally, it can a non-default port number, appended to the hostname with a colon `:' character, e.g., bluehost:97. (For compatability with earlier versions of x3270, the port can also be separated by a slash `/' character.) The optional actions field specifies actions to be taken once the connection is made and a data-entry field is defined. If the text looks like an action, e.g., PF(1), it is unmodified; otherwise it is taken as the parameter to the String() action. The actions are not intended for entering usernames and passwords; rather they provide an automated way of specifying a front-end menu option. EXAMPLE
Given the following ibm_hosts file: mvs primary mvs-host tso alias mvs-host mvs2 primary mvs-host:4012 vm primary vtam Tab() String(3) Enter() A 3270 emulator will display four names (mvs, mvs2, afhost and vm) on its hosts menu. The names mvs and tso will cause connections to the host mvs-host. The name mvs2 will also cause a connection to mvs-host, but to port 4012 rather than the emulator's default port (usually 23). The name vm will cause the 3270 emulator to connect to the host vtam (presumably some sort of host-selection front-end), enter the string `3' on the second data-entry field on the screen, and send the Enter AID sequence. FILES
/usr/lib/X11/x3270/ibm_hosts SEE ALSO
x3270(1), c3270(1) 01 May 2002 IBM_HOSTS(5)
All times are GMT -4. The time now is 01:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy