10-24-2003
Good job google
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi guys ...
i need ur help with some printing problem in unix ...
first prob. :
i wanna print from my NCR unix to an Win NT , Ip based printing server ( HP JetDirect ) .
My issue , is it possible to print directly to an Ip address from unix ?
How do i make it work to get any results ?... (3 Replies)
Discussion started by: QuickSilver
3 Replies
2. Shell Programming and Scripting
#!/bin/csh
awk 'BEGIN { print "Name Exam1 Exam2 Exam 3 Total Grade" }' grades | tee gradesorted
awk '{if ($2+$3+$4<50){grade="F"}else if ($2+$3+$4>49 && $2+$3+$4<65)
{grade="D"}else if ($2+$3+$4>64 && $2+$3+$4<80){grade="C"}
else if ($2+$3+$4>79... (5 Replies)
Discussion started by: lazypeterson
5 Replies
3. OS X (Apple)
Hi,
I'm trying to create a virtual screen, (maybe xvfb? or any other virtual screen buffer) and be able to use Screen Sharing to connect to it.
The setup is that I have a Mac Mini connected to the TV. But when my girlfriend is using Front Row, I can't use Screen Sharing at the same time from... (0 Replies)
Discussion started by: linge
0 Replies
4. Shell Programming and Scripting
Hi there
I have a hash of hashes made up of the following data
bge0|100|half|10.36.100.21
bge1|1000|full|10.36.100.22
bge2|1000|full|10.36.100.23
which when i turn into a hash, would look like this inside the system
bge0 ->
nic_speed -> 100
nic_duplex -> half
... (6 Replies)
Discussion started by: hcclnoodles
6 Replies
5. Shell Programming and Scripting
hello all,
In my script i have written some messages which should come in screen while some background process is going on..
Like for example:
if i want to add 2 numbers a and b ...when the addition is going on in the background i should get "ADDING TWO NUMBERS>>PLEASE WAIT " message on... (3 Replies)
Discussion started by: smarty86
3 Replies
6. Windows & DOS: Issues & Discussions
We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies
7. UNIX for Dummies Questions & Answers
Hi,
We have a Unix 3.2v5.0.5.
I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts).
This is the configuration file :
Code:
root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies
8. Red Hat
Hi,
I have a simple question : how to disable screen lock and/or sreen saver with command line with RHEL5.4 ? (1 Reply)
Discussion started by: albator1932
1 Replies
9. UNIX for Dummies Questions & Answers
I made a screen within a screen.
Is there a way to move the inner screen up one level so that it is at the same level as the first screen running from the shell? (2 Replies)
Discussion started by: phpchick
2 Replies
10. UNIX for Beginners Questions & Answers
Dear readers,
We have a printer problem with a UNIX system.
The OS is Unix IRIX 6.5
We have connected a printerto the system. If we then make a test print everything goes well . (IP printing)
But if we make a print from the "orrga,i"program. Then we see all the printouts stuck within the... (3 Replies)
Discussion started by: SergevdH
3 Replies
LEARN ABOUT NETBSD
getmaxy
CURSES(3) BSD Library Functions Manual CURSES(3)
NAME
curses_cursor, getcury, getcurx, getyx, getbegy, getbegx, getbegyx, getmaxy, getmaxx, getmaxyx, getpary, getparx, getparyx, move, wmove,
mvcur, wcursyncup -- curses cursor and window location and positioning routines
LIBRARY
Curses Library (libcurses, -lcurses)
SYNOPSIS
#include <curses.h>
int
getcury(WINDOW *win);
int
getcurx(WINDOW *win);
void
getyx(WINDOW *win, int y, int x);
int
getbegy(WINDOW *win);
int
getbegx(WINDOW *win);
void
getbegyx(WINDOW *win, int y, int x);
int
getmaxy(WINDOW *win);
int
getmaxx(WINDOW *win);
void
getmaxyx(WINDOW *win, int y, int x);
int
getpary(WINDOW *win);
int
getparx(WINDOW *win);
void
getparyx(WINDOW *win, int y, int x);
int
move(int y, int x);
int
wmove(WINDOW *win, int y, int x);
int
mvcur(int oldy, int oldx, int y, int x);
void
wcursyncup(WINDOW *win);
DESCRIPTION
These functions and macros locate and position cursors and windows.
The getcury() and getcurx() functions get the current row and column positions, respectively, of the cursor in the window win. The getyx()
macro sets the values of y and x to the current row and column positions of the cursor in the window win.
The origin row and columns of a window win can be determined by calling the getbegy() and getbegx() functions, respectively, and the maximum
row and column for the window can be found by calling the functions getmaxy() and getmaxx(), respectively. The getbegyx() and getmaxyx()
macros set the values of y and x to the origin and maximum row and column positions, respectively, for the window win.
The getpary() and getparx() functions return the row and column position of the given subwindow relative to the window's parent. The macro
getparyx() sets the values of y and x to the origin of the subwindow relative to the window's parent.
The move() function positions the cursor on the current window at the position given by y, x. The cursor position is not changed on the
screen until the next refresh().
The wmove() function is the same as the move() function, excepting that the cursor is moved in the window specified by win.
The function mvcur() moves the cursor to y, x on the screen. The arguments oldy, oldx define the previous cursor position for terminals that
do not support absolute cursor motions. The curses library may optimise the cursor motion based on these values. If the mvcur() succeeds
then the curses internal structures are updated with the new position of the cursor. If the destination arguments for mvcur() exceed the
terminal bounds an error will be returned and the cursor position will be unchanged.
The wcursyncup() function sets the cursor positions of all ancestors of win to that of win.
RETURN VALUES
Functions returning pointers will return NULL if an error is detected. The functions that return an int will return one of the following
values:
OK The function completed successfully.
ERR An error occurred in the function.
SEE ALSO
curses_refresh(3)
STANDARDS
The NetBSD Curses library complies with the X/Open Curses specification, part of the Single Unix Specification. The getbegx(), getbegy(),
getcurx(), getcury(), getmaxx(), getmaxy(), getparx(), and getpary() functions are extensions.
HISTORY
The Curses package appeared in 4.0BSD.
BSD
February 23, 2010 BSD