07-14-2008
vi $HOME/.Xdefaults and add ...
Dtterm*<resource_name> : value where the resource comes from those listed in man dtterm
eg :
Dtterm*foreground:Wheat
Dtterm*background:MidnightBlue
Dtterm*geometry: 80x24
logout and back in again to see changes.
10 More Discussions You Might Find Interesting
1. Programming
I am writing a program to display a database to the screen(xterm) and want to allow the window resize signal to increase/decrease the amount data that is displayed. I have a signal handler function for catching the SIGWINCH event and calling a function to reallocate the space for the windows... (0 Replies)
Discussion started by: kwaz
0 Replies
2. Solaris
I was asked to display a banner on the CDE login window and I have successfully accomplished that task. This is what I did:
1) made the directory /etc/dt/config/C
2) cp /usr/dt/config/C/Xresources /etc/dt/config/C
3) I edited /etc/dt/config/C/Xresources and ensured the following lines were... (0 Replies)
Discussion started by: rtoba
0 Replies
3. UNIX for Advanced & Expert Users
I was asked to display a banner on the CDE login window and I have successfully accomplished that task. This is what I did:
1) made the directory /etc/dt/config/C
2) cp /usr/dt/config/C/Xresources /etc/dt/config/C
3) I edited /etc/dt/config/C/Xresources and ensured the following lines were... (0 Replies)
Discussion started by: rtoba
0 Replies
4. UNIX for Dummies Questions & Answers
I am running Terminal (xterm) on FreeBSD and XFCE. When opening a new terminal window so that an additional tab appears, the window resizes to become taller and partially hiding behind the task bar. I noticed that Xubuntu has fixed this feature and the window does not resize when opening a second... (0 Replies)
Discussion started by: figaro
0 Replies
5. Programming
Hi.
I am beginning with Unix C Curses Library and i would like to know if it's possible to resize my current window.
In other words, i am working with a Putty Client over my Windows system and with a telnet/ssh connection to linux. I want to build a small linux application using C Curses... (10 Replies)
Discussion started by: pogdorica
10 Replies
6. Shell Programming and Scripting
Hi,
I am programming a script that shows a figure on screen but I would be centered, so What I have to use command to get the size of the window?
Thanks a lot, (2 Replies)
Discussion started by: Gengis-Kahn
2 Replies
7. IP Networking
Hello!
I'm writing a small telnet client using Erlang and the gen_tcp library.
I receive IAC WILL ECHO and IAC WILL SUPPRESS_GO_AHEAD
which I respond to.
Then I receive various text output from the server, and then this:
resize: unknown character, exiting.
I'm curious as to why I do... (1 Reply)
Discussion started by: Gustav
1 Replies
8. UNIX for Dummies Questions & Answers
Hi Guys,
When I use putty and maximize it, then the second half of the emulator window is not utilized and used! I mean the mouse cursor is at the half of the page not at the bottom! i have to once minimize and maximize the window to tell putty that i am going to use the maxmized window...is... (4 Replies)
Discussion started by: messi777
4 Replies
9. Red Hat
Hi,
I'm running a Red Hat Enterprise Linux Server release 5.3 (Tikanga) on VMWare. It is a production system for which I may not get downtime soon. I happened to resize a underlying disk and the changes are not reflecting in the fdisk ouput. Further details are as follows.
The disk which i... (3 Replies)
Discussion started by: maverick_here
3 Replies
10. Shell Programming and Scripting
,,,,,, (4 Replies)
Discussion started by: Praveen Pandit
4 Replies
LEARN ABOUT HPUX
xminstallimage
XmInstallImage(library call) XmInstallImage(library call)
NAME
XmInstallImage -- A pixmap caching function that adds an image to the image cache
SYNOPSIS
#include <Xm/Xm.h>
Boolean XmInstallImage(
XImage * image,
char * image_name);
DESCRIPTION
XmInstallImage stores an image in an image cache that can later be used to generate a pixmap. Part of the installation process is to
extend the resource converter used to reference these images. The resource converter is given the image name so that the image can be ref-
erenced in a .Xdefaults file. Since an image can be referenced by a widget through its pixmap resources, it is up to the application to
ensure that the image is installed before the widget is created.
image Points to the image structure to be installed. The installation process does not make a local copy of the image. Therefore, the
application should not destroy the image until it is uninstalled from the caching functions.
image_name
Specifies a string that the application uses to name the image. After installation, this name can be used in .Xdefaults for ref-
erencing the image. A local copy of the name is created by the image caching functions.
The image caching functions provide a set of eight preinstalled images. These names can be used within a .Xdefaults file for generating
pixmaps for the resource for which they are provided.
+---------------+---------------------------------------------------+
|Image Name | Description |
+---------------+---------------------------------------------------+
|background | A tile of solid background |
+---------------+---------------------------------------------------+
|25_foreground | A tile of 25% foreground, 75% background |
+---------------+---------------------------------------------------+
|50_foreground | A tile of 50% foreground, 50% background |
+---------------+---------------------------------------------------+
|75_foreground | A tile of 75% foreground, 25% background |
+---------------+---------------------------------------------------+
|horizontal | A tile of horizontal lines of the two colors |
+---------------+---------------------------------------------------+
|vertical | A tile of vertical lines of the two colors |
+---------------+---------------------------------------------------+
|slant_right | A tile of slanting lines of the two colors |
+---------------+---------------------------------------------------+
|slant_left | A tile of slanting lines of the two colors |
+---------------+---------------------------------------------------+
|menu_cascade | A tile of an arrow of the foreground color |
+---------------+---------------------------------------------------+
|menu_checkmark | A tile of a checkmark of the foreground color |
+---------------+---------------------------------------------------+
|menu_dash | A tile of one horizontal line of the foreground |
| | color |
+---------------+---------------------------------------------------+
+---------------+---------------------------------------------------+
RETURN
Returns True when successful; returns False if NULL image, NULL image_name, or duplicate image_name is used as a parameter value.
RELATED
XmUninstallImage(3), XmGetPixmap(3), and XmDestroyPixmap(3).
XmInstallImage(library call)