9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
All,
My script is
-----------
#cat pass.sh
password=123
echo -n "Enter pass:"
read pass
if ; then
echo "Correct password"
else
echo "Wrong password"
fi
When i run this script, text(password) which i'm entering is visible in screen... (4 Replies)
Discussion started by: thomasraj87
4 Replies
2. Ubuntu
I'm I able to make vlc or mplayer transparent.
If so how can i do it please.
thanks in advance josh (0 Replies)
Discussion started by: jtsmith90
0 Replies
3. UNIX for Dummies Questions & Answers
in windows you can encrypt and compress file via it properties.
It compress the file in a way that is transparent, I mean you do know that it is compressed, but you can work with it as if it is not, you don't need to decompress it in order to edit it or watch it.
The same go for encryption as... (0 Replies)
Discussion started by: programAngel
0 Replies
4. Shell Programming and Scripting
Hi Experts,
When i am trying to read a csv file ,i could find some invisible character in it.
I tried to see those characters by following code
od -c filename
It is displaying 240 for those invisible character.
can some one elobrate on this and provide solution remove those character from... (4 Replies)
Discussion started by: cnraja
4 Replies
5. UNIX for Dummies Questions & Answers
hi
I have lots of invisable files under a file structure which i would like to delete from the top level rather than going down into each folder.
All the files start with ._ these are stub files that get generated. Does anyone have a script that will do this please
thanks
Treds (7 Replies)
Discussion started by: treds
7 Replies
6. UNIX for Advanced & Expert Users
Hi ALL.
Can anyone could help me.
Have you had a chance to experienced that when you list (ls) a directory from ordinary execution of command, you couldn't see the directory.
However, when you list it from the directory filename itself or even changing to directory (cd), it will show to you... (9 Replies)
Discussion started by: BCJapan
9 Replies
7. Shell Programming and Scripting
okay how do i make an alias that has a space in it?
for most of my other ones i've simply done within my ~/.bash_profile
alias `ls`='ls -laF'
but with
alias `sudo su`='sh hello.sh'
I'm unable to make it work
in addition i was wondering how i could allow the user to type in... (1 Reply)
Discussion started by: cleansing_flame
1 Replies
8. UNIX for Advanced & Expert Users
Hello! My 1st post here, and I am not so sure if it belongs to the "Andvanced" category! I have searched very much to find a way to login to a system in such a way, that others will not be able to "see" me, with the "who" command!
So, is there anybody here to help me with this? :rolleyes:
... (1 Reply)
Discussion started by: SmileKilled
1 Replies
9. UNIX for Dummies Questions & Answers
I have a file, which when you look at it, appears as if it has spaces....
But sometimes, it is has tab or Nulls or some other character which we are not able to see.....
How to find what character exactly it is in the file, where ever we are seeing a space... (Iam in solaris)... (1 Reply)
Discussion started by: thanuman
1 Replies
curs_bkgd(3CURSES) Curses Library Functions curs_bkgd(3CURSES)
NAME
curs_bkgd, bkgd, bkgdset, wbkgdset, wbkgd - curses window background manipulation routines
SYNOPSIS
cc [ flag ... ] file ... -lcurses [ library ... ]
#include <curses.h>
int bkgd(chtype ch);
void bkgdset(chtype ch);
void wbkgdset(WINDOW *win, chtype ch);
int wbkgd(WINDOW *win, chtype ch);
DESCRIPTION
The bkgdsets() and wbkgdset() routines manipulate the background of the named window. Background is a chtype consisting of any combination
of attributes and a character. The attribute part of the background is combined (ORed) with all non-blank characters that are written into
the window with waddch(). Both the character and attribute parts of the background are combined with the blank characters. The background
becomes a property of the character and moves with the character through any scrolling and insert/delete line/character operations. To the
extent possible on a particular terminal, the attribute part of the background is displayed as the graphic rendition of the character put
on the screen.
The bkgd() and wbkgd() routines combine the new background with every position in the window. Background is any combination of attributes
and a character. Only the attribute part is used to set the background of non-blank characters, while both character and attributes are
used for blank positions. To the extent possible on a particular terminal, the attribute part of the background is displayed as the graphic
rendition of the character put on the screen.
RETURN VALUES
bkgd() and wbkgd() 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_addch(3CURSES), curs_outopts(3CURSES), curses(3CURSES), attributes(5)
NOTES
The header <curses.h> automatically includes the headers <stdio.h> and <unctrl.h>.
Note that bkgdset() and bkgd() may be macros.
SunOS 5.11 31 Dec 1996 curs_bkgd(3CURSES)