I'm training a newbie on unix. He's in another site and I can't share my unix books with him - is there any documentation on basic unix commands he can download? (1 Reply)
I'm trying to make use of some common generic functions already present in the scripts loaded in the environment.
A variable VAR1 is declared and used in the generic functions.
Its value is also set in the generic function.
Now I need to use that generic function for PURGING of some old files... (2 Replies)
Hi.
I'm New user for this Forum.Presently i'm working with Cygwin
I want to know the basic commands that will be used for Cygwin.
Can anyone guide me on this regards
Thanks & Regards
Sanjay (0 Replies)
I would be thankful if anyone could show me commands to do the following tasks in vi:1) How can I undo or redo my last action in vi editor.
2) How can I copy only a word or a portion of line (not the whole line) in vi, like
we can select text and press ctrl+c in notepad to copy any text.
3)... (4 Replies)
Hello out there!!!
I have a Red Hat Entreprise Linux 4 server and I am encountering this error
# grep
Segmentation Fault
I know it is not the right use of grep command, but I did that just for testing purpose,then I did
# which grep
/bin/grep
# ls -l /bin/grep
-rwxr-xr-x 1 root... (4 Replies)
In case you are interested, here is a partial list of linux-like commands on Android OS:
/sbin
adbd
devmgr
recovery
dfta
init
dfta.sh
fat.format
redbend_ua
/system/bin (partial list)
sh
date
netstat
mount
umount (0 Replies)
Hi I'm pretty new to scripting and I've been googling around looking for an answer but have yet to come up with a proper solution. I work with multiple android devices at a time and I'm looking to simplify my life with a script. Basically I'm looking for a script that takes the device ID's and then... (2 Replies)
I am thinking of developing an app' for Android mobile devices...
Two questions here:-
1) Does anyone _develop_ for the Android _mobile_ platform?
If so do you use OSX 10.7.5 or greater as your _development_platform_?
2) I know ********* is gonna say that the Android terminal/shell is... (13 Replies)
Discussion started by: wisecracker
13 Replies
LEARN ABOUT OPENSOLARIS
wborder
curs_border(3CURSES) Curses Library Functions curs_border(3CURSES)NAME
curs_border, border, wborder, box, whline, wvline - create curses borders, horizontal and vertical lines
SYNOPSIS
cc [ flag ... ] file ... -lcurses [ library ... ]
#include <curses.h>
int border(chtype ls, chtype rs, chtype ts, chtype bs, chtype tl,
chtype tr, chtype bl,chtype br);
int wborder(WINDOW *win, chtype ls, chtype rs, chtype ts,
chtype bs, chtype tl, chtype tr, chtype bl, chtype br);
int box(WINDOW *win, chtype verch, chtype horch);
int hline(chtype ch, int n);
int whline(WINDOW *win, chtype ch, int n);
int vline(chtype ch, int n);
int wvline(WINDOW *win, chtype ch, int n);
DESCRIPTION
With the border(), wborder(), and box() routines, a border is drawn around the edges of the window. The arguments and attributes are:
ls left side of the border
rs right side of the border
ts top side of the border
bs bottom side of the border
tl top left-hand corner
tr top right-hand corner
bl bottom left-hand corner
br bottom right-hand corner
If any of these arguments is zero, then the following default values (defined in <curses.h>) are used respectively instead: ACS_VLINE,
ACS_VLINE, ACS_HLINE, ACS_HLINE, ACS_ULCORNER, ACS_URCORNER, ACS_BLCORNER, ACS_BRCORNER.
box(win, verch, horch) is a shorthand for the following call:
wborder(win, verch, verch, horch, horch , 0, 0, 0, 0)
hline() and whline() draw a horizontal (left to right) line using ch starting at the current cursor position in the window. The current
cursor position is not changed. The line is at most n characters long, or as many as fit into the window.
vline() and wvline() draw a vertical (top to bottom) line using ch starting at the current cursor position in the window. The current cur-
sor position is not changed. The line is at most n characters long, or as many as fit into the window.
RETURN VALUES
All routines return the integer OK, or a non-negative integer if immedok() is set. See curs_outopts(3CURSES).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO curs_outopts(3CURSES), curses(3CURSES), attributes(5)NOTES
The header <curses.h> automatically includes the headers <stdio.h> and <unctrl.h>.
Note that border() and box() may be macros.
SunOS 5.11 31 Dec 1996 curs_border(3CURSES)