08-07-2001
Xterm with Pine
Hello,
Does anyone know why I'm not able to get colors in Pine when using Xterm, but I can get them using Dtterm?
Any answers to this would be much appreciated.
Radimus.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi :-
I am trying to make a script to send mail using pine. But it takes me to the Pine Menu Console and I have to send it manually.
Note that I am attaching a file with it.
Any quick response will be highly appreciated. (4 Replies)
Discussion started by: s_aamir
4 Replies
2. UNIX for Dummies Questions & Answers
Hi there,
for email we are using "pine" on SSH. is there any way to block junk mail on pine? i've been lookin for sumthin that allows me to block senders but all my efforts in vain. can sum1 help me on that?
Thanks (1 Reply)
Discussion started by: a25khan
1 Replies
3. UNIX for Dummies Questions & Answers
i have shell account at grex.org but i cannot get mauil with pine because the inbox cannot be found?
any suggestion? (7 Replies)
Discussion started by: cogeek
7 Replies
4. UNIX for Dummies Questions & Answers
I am having trouble confiuring pine. I have downloaded it on 2 computers 1 with freebsd and the other fedora and I am getting the same result in both. Both say "folder does not exist","no folder to open". I went into set up and configured personal name,user-domain,smtp-server,inbox-path. I know I... (1 Reply)
Discussion started by: m8trix
1 Replies
5. UNIX for Dummies Questions & Answers
how to configure pine in my linux os (1 Reply)
Discussion started by: rajan_ka1
1 Replies
6. Solaris
when i try to build pine unix tells me it can't find make
# ./build xxx
make args are CC=cc soc
Including LDAP functionality
ln: cannot create c-client: File exists
ln: cannot create mtest: File exists
ln: cannot create mailutil: File exists
ln: cannot create imapd: File exists
ln:... (0 Replies)
Discussion started by: vutty81
0 Replies
7. Shell Programming and Scripting
still touching on the basics here:
first of all where are my received messages stored in pine?
/var/spool/mymail
is not it.
i guess i cant start my script without knowing this. because i need to move those files into a seperate folder and so on and so forth.
I can prolly do a... (0 Replies)
Discussion started by: oxoxo
0 Replies
8. Shell Programming and Scripting
hey im writing a script like this:
#!/bin/bash
#Name: moveMail
#Purpose: To move some files in the pine inbox to a folder on the desktop
#Step one: Find all messages with that have the subject "Hello" in them.
#---------------------------------------------------------------------... (1 Reply)
Discussion started by: oxoxo
1 Replies
9. UNIX for Dummies Questions & Answers
I'm learning a little about pine after downloading it. I can't seem to get it to work, though. It can't open the inbox -- it sits there (as the little slash mark rotates) but after a while it stops and can't make the connection, with a message saying that "connection to gmail.pop....(something)... (0 Replies)
Discussion started by: Straitsfan
0 Replies
10. UNIX for Dummies Questions & Answers
I am asking about my work account, running Linux on a system server. On pine, I set up a forward to another email account. I also keep a copy in the original account. The forward has been running fine for some time.
I believe the system sends the mail first to the forwarded account and then puts... (0 Replies)
Discussion started by: BLabel
0 Replies
LEARN ABOUT PHP
ncurses_color_set
NCURSES_COLOR_SET(3) 1 NCURSES_COLOR_SET(3)
ncurses_color_set - Set active foreground and background colors
SYNOPSIS
int ncurses_color_set (int $pair)
DESCRIPTION
Sets the active foreground and background colors. Any characters written after this function is invoked will have these colors. This func-
tion requires terminal colors to be supported and initialized using ncurses_start_color(3) beforehand.
ncurses uses color pairs to specify both foreground and background colors. Use ncurses_init_pair(3) to define a color pair.
PARAMETERS
o $pair
- The color pair from which to get the foreground and background colors to set as the active colors.
RETURN VALUES
Returns -1 on success, and 0 on failure.
EXAMPLES
Example #1
Writing a string with a specified color to the screen
<?php
ncurses_init();
// If the terminal supports colors, initialize and set active color
if (ncurses_has_colors()) {
ncurses_start_color();
ncurses_init_pair(1, NCURSES_COLOR_YELLOW, NCURSES_COLOR_BLUE);
ncurses_color_set(1);
}
// Write a string at specified location
ncurses_mvaddstr(10, 10, "Hello world! Yellow on blue text!");
// Flush output to screen
ncurses_refresh();
ncurses_end();
?>
SEE ALSO
ncurses_init_pair(3), ncurses_start_color(3).
PHP Documentation Group NCURSES_COLOR_SET(3)