meta(3cur)meta(3cur)Name
meta - force the number of significant bits on input
Syntax
meta(win, bf)
WINDOW *win;
bool bf;
Description
This function forces the user's terminal to return 7 or 8 significant bits on input. To force 8 bits to be returned, invoke with as To
force 7 bits to be returned, invoke with as
The window argument is always ignored, but it must still be a valid window to avoid compiler errors.
meta(3cur)
Check Out this Related Man Page
getch(3cur)getch(3cur)Name
getch, mvgetch, mvwgetch, wgetch - read character
Syntax
#include <cursesX.h>
int getch()
int wgetch(win)
WINDOW *win;
int mvgetch(y, x)
int y, x;
int mvwgetch(win, y, x)
WINDOW *win;
int y, x;
Description
The routine reads a character from the terminal associated with the default window.
The routine reads a character from the terminal associated with the specified window.
The routine reads a character from the terminal associated with the default window at the specified position.
The routine reads a character from the terminal associated with the specified window at the specified position.
The following information applies to all the routines. In mode, if there is no input waiting, the integer is returned. In mode, the pro-
gram waits until the system passes text through to the program. Usually the program will restart after one character or after the first
newline, but this depends on how is set. The character will be echoed on the designated window unless has been set.
If is and a function key is pressed, the token for that function key is returned instead of the raw characters. Possible function keys are
defined in the header file with integers beginning with 0401. The function key names begin with KEY_. Function keys and their respective
integer values are described in the Guide to X/Open Curses Screen-Handling (R)
If a character is received that could be the beginning of a function key (such as escape), sets a timer. If the remainder of the sequence
does not come within the designated time, the character will be passed through, otherwise the function key value is returned. Conse-
quently, there may be a delay after a user presses the escape key before the escape is returned to the program.
Using the escape key for a single character function is discouraged.
The routines and are macros.
Return Values
Upon successful completion, the and functions return the character read.
If in delay mode and no data is available, ERR is returned.
See Alsocbreak(3cur), keypad(3cur), nodelay(3cur), noecho(3cur)
Guide to X/Open Curses Screen-Handling
getch(3cur)
I have added a sun storage array from a faiulty server onto a new server and copied the md.conf files etc. I can now access the /dev/md/dsk file systems, but I want to delete some metadevices that do not exist (it still thinks the 0 and 1 (root /var /export) disk are mirrored. How do I do this? (8 Replies)
:o
hi, i am new to Unix. I was try to do a mirror on solaris 8 with Solstice DiskSuite. Unfortunately I have missed the metaroot command and reboot system. The system unable to boot up.
May i know what should I do to bring the system up? Pls help.
thks and regards,
ann (12 Replies)
Running Solaris 9 with SVM. I'm not that familiar with it, but metastat output gives "needs maintenance" message on 2 of the mirrors. There are no errors in /var/adm/messages. What do I need to do to fix this error? Thanks. (14 Replies)
My company is running a solaris 2.7 machine. The machine is getting slow recently. I have no expert in solaris. Please help.
I checked the log in /var/adm/message:
I also checked with the command iostat -nE. It returns:
Metastat returns the followings:
What should i do now?... (10 Replies)
Hi all,
we have an existing system that was configured using just one of the (two) internal disks. I want to mirror the disk using SVM, but have realised there is no free slice for creating the metadb's. Is there a workaround I can use for this?
In the past we have always kept slice 7 free -... (8 Replies)
Hi,
my application (actually library) indexes a file of many GB producing tables (arrays of offset and length of the data indexed) for later reuse. The tables produced are pretty big too, so big that I ran out of memory in my process (3GB limit), when indexing more than 8GB of file or so.... (9 Replies)
hey guys!!
please tell me ...how can i use shell meta characters like * ,$ <,> etc in command line
in command line arguments literally
please reply soon ..its urgent!!!! (8 Replies)
Hi,
I am running Solaris 8 on a V880 which has recently crashed. It has got a fibre connection to a StorageTrek array containing my database info. Since the crash I have been unable to mount the 2 metadevices which correspond to /spool & /apps - these FS's contain my db info and theredore I... (20 Replies)
Hi all,
I would like to write a scipt that gets gps informatoin from a jpg and print 's it on the lower left corner, In order to get the gps data I have found a tool called jhead. In know that with the help of the imagemagick command convert it is possible to print text on the pictures.
... (11 Replies)
Hi, my root pool is as follows. How can I create a metadb if I want to create SVM volumes?
zpool status
pool: rpool1
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
rpool1 ONLINE 0 0 0
c4t1d0s0 ... (10 Replies)
Can I use awk to search for a string, passed from the shell, that might include metacharacters?
File1 entries: Bob Marley Jammin (Bonus Track).mp3
File2 entries: Bob Marley Jammin (Bonus Track).mp3 32000 /Music/Bob Marley/ Jammin (Bonus Track).mp3
So far, I have this;
$ sed -e... (9 Replies)
Hello,
We have a SCO Open Server 6 running on bare metal hardware, this is used for a legacy application that we continue to need.
I would like to migrate/virtualize the SCO server into VMware so that I can do VM level backups, etc.
I did test to make sure SCO 6.0 can run in VMware/ESXi... (11 Replies)
Hi
I am new to SVM, but I would like to configure it in one of my servers. The setup is as follows: I have one server running solaris 10 , and is connected to a NetApp via iSCSI protocol. This is how I intend to do it:
Ask the NetApp admin, to provide me with 3 LUNs of 100G each, them use the... (14 Replies)