Sponsored Content
Full Discussion: inline code tags
Contact Us Post Here to Contact Site Administrators and Moderators inline code tags Post 302460066 by Franklin52 on Wednesday 6th of October 2010 03:12:47 AM
Old 10-06-2010
Inline code tags:

[icode]...[/icode]

Other tags with line numbering:

[highlight=bash]...[/highlight]

[highlight=sh]...[/highlight]

[highlight=ksh]...[/highlight]
These 3 Users Gave Thanks to Franklin52 For This Post:
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Inline Parameters-Urgent

Can someone tell me how to enter inline parameters with script call? This is a little urgent so some help would be highly appreciated. Thanks a lot. Indira (2 Replies)
Discussion started by: indira
2 Replies

2. Shell Programming and Scripting

Array Printing Inline

Dear friends , The output file of below script Pls#!/bin/sh awk '{ bo = substr($0,13,3) slm = substr($0,150,8) slo = substr($0,175,7) inc = substr($0,97,10)/100 busi = substr($0,83,10) mth = substr($0,39,2) yer = substr($0,35,4) ... (2 Replies)
Discussion started by: vakharia Mahesh
2 Replies

3. Programming

Inline function inside Classes

#include <iostream> using namespace std; class A { public: int Getvalue() { return i;} private: int i; }; int main() {} The above code compiles properly in g++ or in any other C++ compiler. BUT, the variable 'i' is used (in 'return i' statement) before it is... (1 Reply)
Discussion started by: deepthi.s
1 Replies

4. Shell Programming and Scripting

inline redirect stdin

Hi: I have the next script on ksh #!/usr/bin/ksh cd $FUENTES qdesign <<-! \$/opt/cognos/ph843e/bin/qtp <<-! \$/opt/cognos/ph843e/bin/quiz <<-! ! ! ! This script is very simple, i want to nest three process quiz into qtp, and this into qdesign. When I run it , i receive the... (5 Replies)
Discussion started by: ct2marer
5 Replies

5. UNIX for Advanced & Expert Users

inline redirect stdin

Hi: I have the next script on ksh #!/usr/bin/ksh cd $FUENTES qdesign <<-! \$/opt/cognos/ph843e/bin/qtp <<-! \$/opt/cognos/ph843e/bin/quiz <<-! ! ! ! This script is very simple, i want to nest three process quiz into qtp, and this into qdesign. When I run it , i receive the next... (2 Replies)
Discussion started by: ct2marer
2 Replies

6. Shell Programming and Scripting

Scripting for inline input

Hello, I'm not much familiar with scripting, just a little bit. Maybe someone could give an advice how implement my task. It might be in shell or perl. I have linux system where I install Kerberos. Now I have to add user. It's done like this from prompt: 1. run kadmin.local 2. it switches to... (1 Reply)
Discussion started by: susja
1 Replies

7. Shell Programming and Scripting

Inline edit using sed / awk

Hi, I have file with all the lines as following format <namebindings:StringNameSpaceBinding xmi:id="StringNameSpaceBinding" name="ENV_CONFIG_PATH" nameInNameSpace="COMP/HOD/MYSTR/BACKOFFICE/ENV_CONFIG_PATH" stringToBind="test"/> I want to replace (all the lines) value of... (8 Replies)
Discussion started by: shuklaa02
8 Replies

8. Emergency UNIX and Linux Support

Grep inline use perl

Hi, i have input like this : SS-ID VLAN MAC TIME IP RSSI MODE UAPSD BW GI WMOS DHCP IDENTITY ----- ---- --- ---- -- ---- ---- ----- -- -- ---- ---- -------- 1-1 0 C4:46:19:75:C1:55 23m 192.168.5.253 ... (5 Replies)
Discussion started by: justbow
5 Replies

9. UNIX for Advanced & Expert Users

Combining awk Inline and File Code

I've ended up with a small collection of libraries I like to use with awk, but this means I can't do awk -f librarycode.awk '{ program code }' filename because awk will assume that anything after -f is a filename, not code. Is there any way I can do both? (6 Replies)
Discussion started by: Corona688
6 Replies
curs_attr_get(3)					     Library Functions Manual						  curs_attr_get(3)

NAME
curs_attr_get, attr_get, wattr_get, attr_off, wattr_off, attr_on, wattr_on, attr_set, wattr_set, color_set, wcolor_set - Functions that control Curses window attributes SYNOPSIS
#include <curses.h> int attr_get( attr_t *attrs, short *color_pair, void *opts ); int wattr_get( WINDOW *win, attr_t *attrs, short *color_pair, void *opts ); int attr_off( attr_t attrs, void *opts ); int wattr_off( WINDOW *win, attr_t attrs, void *opts ); int attr_on( attr_t attrs, void *opts ); int wattr_on( WINDOW *win, attr_t attrs, void *opts ); int attr_set( attr_t attrs, short color_pair, void *opts ); int wattr_set( WINDOW *win, attr_t attrs, short color_pair, void *opts ); int color_set( short color_pair, void *opts ); int wcolor_set( WINDOW *win, short color_pair, void *opts ); LIBRARY
Curses Library (libcurses) STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: attr_get, wattr_get, attr_off, wattr_off, attr_on, wattr_on, attr_set, wattr_set: XCURSES4.2 Refer to the standards(5) reference page for more information about industry standards and associated tags. DESCRIPTION
These functions manipulate the attributes and color of the window rendition of the current or specified window. The current attributes of a window are applied to all characters that are written into the window. These attributes become property of the character and move with the character through any scrolling and insert/delete line/character operations. To the extent possible on the particular terminal, attributes are displayed as the graphic rendition of characters put on the screen. The attr_get and wattr_get functions obtain the window rendition of the current or specified window. If attrs or color_pair is a null pointer, the functions do not obtain corresponding rendition information; this condition is not an error. The attr_off and wattr_off functions turn off the named attributes, without affecting other attributes, for the current or specified win- dow. The attr_on and wattr_on functions turn on the named attributes, without affecting other attributes, for the current or specified window. The attr_set and wattr_set functions set the window rendition of the current or specified window in conjunction with the window background rendition. The color_set and wcolor_set functions set the window color of the current or specified window to color_pair. The opts argument in all the preceding functions is reserved for future use. Currently, applications must provide a null pointer for the opts argument. Attributes Applications can pass the following video attributes, which are defined in <curses.h>, to these routines in place of attrs to turn on or off the corresponding attribute. More than one attribute can be passed by using an inclusive OR operation. WA_ALTCHARSET Alternate character set WA_BLINK Blinking WA_BOLD Extra bright or bold WA_DIM Half bright WA_HORIZONTAL Horizontal highlight WA_INVIS Invisible WA_LEFT Left highlight WA_LOW Low highlight WA_PROTECT Protected WA_REVERSE Reverse video WA_RIGHT Right highlight WA_STANDOUT Best highlighting mode of the terminal. WA_TOP Top highlight WA_UNDERLINE Underlining WA_VERTICAL Vertical highlight NOTES
The header file <curses.h> automatically includes the header file <stdio.h>. Note that attr_get, attr_off, attr_on, attr_set, and color_set may be macros. RETURN VALUES
These routines always return OK. SEE ALSO
Functions: curses(3), curs_addch(3), curs_add_wch(3), curs_addwstr(3), curs_printw(3), curs_color(3) Others: standards(5) curs_attr_get(3)
All times are GMT -4. The time now is 11:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy