prefresh(3cur)prefresh(3cur)Name
prefresh, pnoutrefresh - refresh pad
Syntax
#include <cursesX.h>
int prefresh(pad, pminrow, pmincol, sminrow, smincol, smaxrow, smaxcol)
WINDOW *pad;
int pminrow, pmincol, sminrow, smincol, smaxrow, smaxcol;
int pnoutrefresh(pad, pminrow, pmincol, sminrow, smincol, smaxrow, smaxcol)
WINDOW *pad;
int pminrow, pmincol, sminrow, smincol, smaxrow, smaxcol;
Description
The routine copies the specified pad to the physical terminal screen. It takes account of what is already displayed on the screen to opti-
mize cursor movement.
The routine copies the named pad to the virtual screen. It then compares the virtual screen with the physical screen and performs the
actual update.
These routines are analogous to the routines and except that pads, instead of windows, are involved. Additional parameters are also needed
to indicate what part of the pad and screen are involved. The upper left corner of the part of the pad to be displayed is specified by and
The co-ordinates and specify the edges of the screen rectangle that will contain the selected part of the pad.
The lower right corner of the pad rectangle to be displayed is calculated from the screen co-ordinates. This ensures that the screen rec-
tangle and the pad rectangle are the same size.
Both rectangles must be entirely contained within their respective structures.
Return Values
The and functions return OK on success and ERR on error.
See Alsownoutrefresh(3cur), wrefresh(3cur)prefresh(3cur)
Check Out this Related Man Page
prefresh(3cur)prefresh(3cur)Name
prefresh, pnoutrefresh - refresh pad
Syntax
#include <cursesX.h>
int prefresh(pad, pminrow, pmincol, sminrow, smincol, smaxrow, smaxcol)
WINDOW *pad;
int pminrow, pmincol, sminrow, smincol, smaxrow, smaxcol;
int pnoutrefresh(pad, pminrow, pmincol, sminrow, smincol, smaxrow, smaxcol)
WINDOW *pad;
int pminrow, pmincol, sminrow, smincol, smaxrow, smaxcol;
Description
The routine copies the specified pad to the physical terminal screen. It takes account of what is already displayed on the screen to opti-
mize cursor movement.
The routine copies the named pad to the virtual screen. It then compares the virtual screen with the physical screen and performs the
actual update.
These routines are analogous to the routines and except that pads, instead of windows, are involved. Additional parameters are also needed
to indicate what part of the pad and screen are involved. The upper left corner of the part of the pad to be displayed is specified by and
The co-ordinates and specify the edges of the screen rectangle that will contain the selected part of the pad.
The lower right corner of the pad rectangle to be displayed is calculated from the screen co-ordinates. This ensures that the screen rec-
tangle and the pad rectangle are the same size.
Both rectangles must be entirely contained within their respective structures.
Return Values
The and functions return OK on success and ERR on error.
See Alsownoutrefresh(3cur), wrefresh(3cur)prefresh(3cur)
Hi
Can anyone tell me how to pad zeroes on the left side to a numeric string in unix shell scripting
Your answer is very much appreciated
Thanks
Vijay (2 Replies)
Stupid question I know, but.
I have a lot of users that have an application open, which covers the upper left corner of the screen. Because this app has a number of windows that can be open at once. I have been asked to enable the excess windows to iconise down the right hand side of the screen... (1 Reply)
I have a keyboard that the number pad will not work. I cannot find the location of the configuration file to get it to work. I have to say, I have not tried another keyboard as my location is remote. Any suggestions? (0 Replies)
Is there a function in c that will allow me to pad variables?
I have an int that can't be longer than 10. I need to pad a numeric value with leading zeros
314
0000000314 (1 Reply)
I need to right-pad with zeros a string by using (s)printf.
I looked up the manual and tried with
printf("%-19s", buffer);
which right-pad the string with spaces. So I tried
printf("%019s", buffer);
which left-pad the string with zeros. So I tried both
printf("%-019s", buffer);... (9 Replies)
Hello,
I have a file with several lines and I need to trim and pad with spaces the data that are between position 6 and 15 included. Data in position 1 to 5 and after 15 could be anything, and should stay as they are.
For instance, the following records in a file (underscore = space)... (4 Replies)
Hi,
I just wondering if someone in the linux specifically ubuntu community accomplish on locking the mouse pad built in in the laptop just like in the windows where you can Fn+lock if im not using it and using a usb mouse instead. mine is an asus laptop.
Thanks for any reply.. (2 Replies)
Hi,I've a unix pipe delimited file as below f1|f2|f3|f4|f5|f6 My requirement is to pad spaces on the left to fields f2, f3 and f5. Field Lengths according to file layout f2 - 4 char f3 - 5 char f5 - 3 char If my record is as below 1|43|bc|h0|34|a Output record should be as below 1| 43| bc|h0|... (4 Replies)