01-06-2006
Just use the same command but put it in one of the following (info found in bash man page):
any of the personal initialization files ~/.bash_profile,
~/.bash_login, or ~/.profile. By default, bash reads these
files when it is invoked as a login shell
Then logout and back in or just start another session to check it.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi
I am using Pine to recive my mails. Can any one help out how i can effectivley use the auto reply. The auto reply should not for all of my mails recieved. It should be for some mail ids which i have specified.
Is there any way to do?
Thanks in advance (1 Reply)
Discussion started by: Muthukumaran
1 Replies
2. UNIX for Dummies Questions & Answers
Hi !
Can anybody please give me any clue how to set on the Auto Complete option (auto complete paths by pressing escape) in unix ?
Thanks!
Pablo. (4 Replies)
Discussion started by: cordobapablo
4 Replies
3. Filesystems, Disks and Memory
Heres a stupid question to all you Linux gods/goddesses.
Is there any way to have the system automatically set user quotas when a user account is created or does it have to be done by hand or a script. Every article, thread, anything Ive read so far only shows how to set quotas manually. Any... (3 Replies)
Discussion started by: mcady_02
3 Replies
4. Solaris
Hi All,
I have solaris 8 on sparc machine, i need to know how i can let my system send to my e-mail any impacts or troubles.... how i can do that?! :confused:
thx, (1 Reply)
Discussion started by: ahmad_one
1 Replies
5. Shell Programming and Scripting
Okay,
This is not something I've tried to do before, but what I want (need) to do is when a value is read in it gets changed to the value needed.
I've been given a list of ids that I need to check against the ids I have in my system, but as is the case we don't have the same naming convention... (2 Replies)
Discussion started by: nhatch
2 Replies
6. UNIX for Dummies Questions & Answers
How do I disable the auto logout for remote logins to a host (2 Replies)
Discussion started by: lethgowerboy
2 Replies
7. Shell Programming and Scripting
Hi guys,
I have a problem that can be solved using a scheduler, but unfortunately I am not supposed to (ask the client).
PROBLEM:
I have a script that once kicked off manually, will automatically kick off itself after every 15 minutes interval. Please share the code that would put this... (4 Replies)
Discussion started by: ChicagoBlues
4 Replies
8. Shell Programming and Scripting
Hello
Does anyone know how to auto-increment the value of a variable, preferably using awk or sed?
I need to read values from a file and auto-increment those values to use them as line numbers
I'd be doing:
while read line do
# auto-increment
sed -n${line}p file> file1
done... (6 Replies)
Discussion started by: loperam
6 Replies
9. UNIX for Beginners Questions & Answers
When I power ON my T4-1, I got a prompt -> where I have to start /SYS and start /SP/console. How can I auto supply these two commands ? (3 Replies)
Discussion started by: z_haseeb
3 Replies
LEARN ABOUT SUSE
textout_ex
textout_ex(3alleg4) Allegro manual textout_ex(3alleg4)
NAME
textout_ex - Writes a string on a bitmap. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void textout_ex(BITMAP *bmp, const FONT *f, const char *s, int x, int y, int color, int bg);
DESCRIPTION
Writes the string `s' onto the bitmap at position x, y, using the specified font, foreground color and background color. If the background
color is -1, then the text is written transparently. If the foreground color is -1 and a color font is in use, it will be drawn using the
colors from the original font bitmap (the one you imported into the grabber program), which allows multicolored text output. For high and
true color fonts, the foreground color is ignored and always treated as -1. Example:
/* Show the program's version in blue letters. */
textout_ex(screen, font, "v4.2.0-beta2", 10, 10,
makecol(0, 0, 255), -1);
SEE ALSO
font(3alleg4), textout_centre_ex(3alleg4), textout_right_ex(3alleg4), textout_justify_ex(3alleg4), textprintf_ex(3alleg4),
text_height(3alleg4), text_length(3alleg4)
Allegro version 4.4.2 textout_ex(3alleg4)