'export TERM=xterm-color' pretty much screws up clear command
I like using VIM with color tagging (using putty to SunOS). However, when I do an "export TERM=xterm-color", I can't make use of the clear command. Clear just has the same effect as pressing enter now. How can I fix this?
Also, does anyone know how to get the directories and file colors when I do an ls command? I don't have administrative privileges. I can create/edit files within my home directory though (like .profile and .bashrc).
One more thing, I've noticed that my long commands don't wrap around the console. It manages to wrap on the same line and writes over words. It's weird. How do I fix this? I have tried (.bashrc):
hi floks !
i'd like to know how can i transmete a character or a string from my source code to a term and make it interpret or un by the shell wich is running in my term.
I'd like to create a Term from my code (and get its file descriptor) and then transmete each char typed on the keyboard to... (1 Reply)
Hi all,
Can someone explain to me what xterm-color is? I do most of my coding on Emacs over telnet sessions with my school's server, and I recently discovered that if I set TERM=xterm-color in my environment, then emacs will will send colored syntax highlighting over telnet.
That's great,... (4 Replies)
Hello,
Anyone knows how to disable color text displayed on xterm window screen? I hate that color making me hard to read when front and background color are similar.
Thanks,
M. (1 Reply)
Hi All,
I have an input_file below and i would like to use Perl to search for the term "aaa" and output the 3rd term in the same row as "aaa".For Example, i want to search for the term "ddd" and would want the code to ouput the 3rd term in the same row which is "fff". Can somebody help ?
... (28 Replies)
Hello Friends,
I am using solaris 10 operating system. I would like to know how to use the xterm color in it. I am trying this command:- xterm -bg color, but it is giving this
talc:/home/ania {ania} xterm -bg color
21469
-bg: Command not found.
What should i do? Can u help me... (3 Replies)
I am attempting to write a shell script that runs a program which generates data and then runs another program to plot the data. The problem is that I need the plotting to take place in a different terminal window that stays open after the plotting has finished. I have experimented 'xterm -e '... (1 Reply)
On solaris and irix systems, I'm using csh in an existing xterm or dterm and would like to change the text colors. How do I accomplish this?
Thanks (1 Reply)
I have been configuring my .bashrc PS1 to be displayed with some nice colors and in a format that I like, however there is one thing that I cannot figure out (or know if it's even possible).
my PS1 line is as follows:
export PS1='\\u\@\\h\:\\w\n\\$ \'This makes the command and command output... (0 Replies)
Can any one please help me for the following :mad:
i'm searching for an alternative command in linux for passwd -as (which is in solaris) but in linux there is an option "-S" which gives the status of only one user for listing all the user i cudn't find any alternative
this "passwd -as" in... (0 Replies)
Discussion started by: sabee.prakash
0 Replies
LEARN ABOUT OPENSOLARIS
mlib_imageclear_fp
mlib_ImageClear_Fp(3MLIB) mediaLib Library Functions mlib_ImageClear_Fp(3MLIB)NAME
mlib_ImageClear_Fp - clear
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_ImageClear_Fp(mlib_image *img, const mlib_d64 *color);
DESCRIPTION
The mlib_ImageClear_Fp() function sets an image to a specific color. The data type of the image can be MLIB_FLOAT or MLIB_DOUBLE.
It uses the following equation:
img[x][y][i] = color[i]
PARAMETERS
The function takes the following arguments:
img Pointer to an image.
color Array of color values by channel. color[i] contains the value for channel i.
RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO mlib_ImageClear(3MLIB), mlib_ImageClearEdge(3MLIB), mlib_ImageClearEdge_Fp(3MLIB), attributes(5)SunOS 5.11 2 Mar 2007 mlib_ImageClear_Fp(3MLIB)