Banner(3I) InterViews Reference Manual Banner(3I)NAME
Banner - one line title bar
SYNOPSIS
#include <InterViews/banner.h>
DESCRIPTION
A banner is an interactor that draws a one line title bar with optional left-justified, centered, and right-justified headings. The member
variable highlight can be set to cause drawing to be performed with the foreground and background colors reversed.
The natural size of a banner depends on the size of its headings. Banners are infinitely stretchable horizontally, but fixed size verti-
cally.
PUBLIC OPERATIONS
Banner(char* left, char* middle, char* right)
The left string will be left-justified, the middle string centered, and right string right-justified in the banner. A header can be
omitted by passing a nil string.
void Update()
The strings can be set through the left, middle, and right member variables. The Update operation should be called after one or
more of the strings is changed.
SEE ALSO Interactor(3I)InterViews 15 June 1987 Banner(3I)
Check Out this Related Man Page
Perspective(3I) InterViews Reference Manual Perspective(3I)NAME
Perspective - visible portion of an interactor
SYNOPSIS
#include <InterViews/perspective.h>
DESCRIPTION
A perspective object describes which part of an interactor's total display area is visible in the interactor's canvas. The main use of
perspectives is for scrolling, panning, and zooming interactors. The member variables (x0, y0) define the origin of the interactor's dis-
play area; width and height define the total height of the area. The member variables (curx, cury) define the lower-left corner of the
interactor's canvas relative to the total area; curwidth and curheight define how much of the total area is displayed in the canvas.
The member variables sx, sy, lx, and ly specify small and large increments in each dimension. These increments are used by a scroller to
implement line and page scrolling.
PUBLIC OPERATIONS
Perspective()
Define a new perspective with all member variables initialized to zero.
void Attach(Interactor*)
Add to the list of interactors that are interested in updates to the perspective. These interactors reflect the perspective visual-
ly; examples include scrollers and sliders.
void Detach(Interactor*)
Remove an interactor from the list of those interested in updates. This operation should be called from the interactor's destruc-
tor.
void Init(Coord x0, Coord y0, Coord width, Coord height)
Initialize the perspective display area.
void Update()
Notify all the interactors interested in the perspective that it has changed. The perspective's interactor should call Update after
modifying its perspective.
SEE ALSO Adjuster(3I), Interactor(3I), Panner(3I), Scroller(3I)InterViews 15 June 1987 Perspective(3I)
From a PROM ok prompt I have typed banner. This returned this info
SunSPARCStation20 (1X390Z50) ......
Okay, I read that the 1x390z50 is the processor type. How can I found out the speed of these processor? Is it 50mhz? Don't know but I am curious. Thanks (5 Replies)
I don't want SunOS 5.8 to appear when someone logs into my machine... how do I go about changing the banner?
I was thumbing through my unix books and I haven't found anything... I'm probably looking under the wrong topic...
anyways... any help would be greatly appreciated. (20 Replies)
Does anyone know how I could display a banner at the root window level and posibly allow users to log in from the root window. I need to display a Warning Banner at the root window level so the users can read the warning then login.
Solaris 7 is the OS I am running
Thanks in advance (9 Replies)
Hi,
I have been trying to create a banner/login message (something for displaying the usage policy etc) to appear while I login using telnet/FTP to any Solaris (pref. Solaris9) machine. I have tried using /etc/issue and /etc/motd files. Both do not solve my need. In that, /etc/issue displays... (8 Replies)
hi,
When i execute banner command the output is being displayed as
banner:command not found
When ever i give yum install banner the output is
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Parsing package install arguments
Nothing to do
what... (8 Replies)
Good afternoon,
I'm currently working on an IBM 9110-510, with an AIX 6.1 on it.
Currently, I've put an HyperTerminal on the machine vty0. Folowing the procedure given by a support guy(§details), I'm able to get to the AIX banner
... (6 Replies)
Hi,
I am using isql and putting the output in a file in a shell script in Linux.
However in my output i am getting the banner and a SQL prompt(at the start and the end of query output)
+---------------------------------------+
| Connected! |
| ... (6 Replies)
Hi,
I am logging in into an UNIX environment with my user id and password.
I want to display my name there , each time I login into the environment,
for which I can use the banner command.
Which file should I add the banner command to , so that I will get the desired result?
Regards,... (7 Replies)
Friends!!
I need your help. Where can i change/set the last login details as below in aix 5.3. And how to do that to get the results as exactly below
login as: mbpops
mbpops@xx.28.3.24's password:
Last unsuccessful login: Mon Nov 22 14:32:27 GMT 2010 on ssh from 10.132.5.129
Last login:... (17 Replies)
I'm looking for options for displaying a persistent, security banner on a Solaris 10 workstation running JDS that would display at the top of each workspace for all users, have the option to change the color and the capability to add text to the banner.
The company I work for has used JEDI for... (5 Replies)
Hi All,
Whenever I login to server via console, after providing username (root) it displays a banner message. I want to remove this message
Serverabc : root
Welcome to Server !!!
Password:
It is Centos 5.4 box.
I have checked /etc/issue and /etc/motd. It does not... (8 Replies)
I'm working on an rsync script and I'd like it to omit the MOTD banners and NOT output them to the file. I tried the --no-motd argument in the command but for some reason the MOTD still continues to appear. Can anyone advise? (10 Replies)