12-02-2008
Help me fix sdtfontadm program
Hi all.
I am trying to add font to use however sdtfontadm fail so many times regardless of using GUI or CDE. It look likes a very regular error.
It release "Segamentation Fault (core dump) ./sdtfontadm "
The serious of this problem is its hard to find a way without reinstalling the OS.
And the program cannot run.
Have anybody experience about this error? Please help me.
Thank you and Regards.
Last edited by tien86; 12-02-2008 at 05:26 AM..
10 More Discussions You Might Find Interesting
1. Programming
Read the title: how do i do it? (4 Replies)
Discussion started by: Gekko
4 Replies
2. Programming
Hi,
Program A: uses pipe()
I am able to read the stdout of PROGAM B (stdout got through system() command) into PROGRAM A using:
* child
-> dup2(fd, STDOUT_FILENO);
-> execl("/path/PROGRAM B", "PROGRAM B", NULL);
* parent
-> char line;
-> read(fd, line, 100);
Question:
---------... (1 Reply)
Discussion started by: vvaidyan
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Program A: uses pipe()
I am able to read the stdout of PROGAM B (stdout got through system() command) into PROGRAM A using:
* child
-> dup2(fd, STDOUT_FILENO);
-> execl("/path/PROGRAM B", "PROGRAM B", NULL);
* parent
-> char line;
-> read(fd, line, 100);
Question:
---------... (3 Replies)
Discussion started by: vvaidyan
3 Replies
4. Programming
Hi,
I wanted to know if i can write a program using switches and signals, etc to trace execution of other unix program which calls c program internally.
If yes how? If not with signals and switches then are there any other methods apart from debugging with gdb/dbx. (3 Replies)
Discussion started by: jiten_hegde
3 Replies
5. UNIX for Dummies Questions & Answers
Hi,
i want to write a script that executes a program (exec?) .
this program then requires a filename as input.
how do i give it this input in the script so the program will be complete run and close by the script.
e.g.
exec prog.exe
program then asks for filename
"enter filename:"... (1 Reply)
Discussion started by: tuathan
1 Replies
6. Shell Programming and Scripting
Hi,
I have the following, it doesn't work and I know it's crap code.
The objective is to split a file with a givin number of codes such as:
01,02,03,...,99
Then return all records with each seperate identifier in a new file.
The files being split have lrecl=500, recfm=F, and I... (4 Replies)
Discussion started by: mkastin
4 Replies
7. Programming
I wrote a simple program that generates a random word 10,000,000 times.
I wrote it in python, then in C++ and compared the two completion times. The python script was faster! Is that normal? Why would the python script be faster? I was under the impression that C++ was faster. What are some of... (2 Replies)
Discussion started by: cbreiny
2 Replies
8. Programming
Hi All,
Probably this is a repeated question. My knowledge in this is limited and i got confused on all those materials i got in google search.
We use #include <> to include a predefined library like stdio.h
i saw somewhere that #include "" includes a man made module(another C program). IS... (2 Replies)
Discussion started by: jisha
2 Replies
9. Homework & Coursework Questions
Long story short: I'm working inside of a Unix SSH under a bash shell. I have to code a C program that generates a random number. Then I have to call the compiled C program with a Perl program to run the C program 20 times and put all the generated random #s into a text file, then print that text... (1 Reply)
Discussion started by: jdkirby
1 Replies
10. Shell Programming and Scripting
I created a program, so a kid can practice there math on it. It dispenses varies math problems and the kid must input an answer. I also want it to grade the work they have done, but I can't find the best place for it to print out the grade.
I have:
if ( $response =~ m/^/ ) {
$user_wants_to_quit... (1 Reply)
Discussion started by: germany1517
1 Replies
LEARN ABOUT HPUX
dtwsmgetcurrentbackdropwindow
DtWsmGetCurrentBackdropWindow(library call) DtWsmGetCurrentBackdropWindow(library call)
NAME
DtWsmGetCurrentBackdropWindow -- get the backdrop window for the current workspace
SYNOPSIS
#include <Dt/Wsm.h>
Window DtWsmGetCurrentBackdropWindow(
Display *display,
Window root);
DESCRIPTION
The DtWsmGetCurrentBackdropWindow function works with the CDE workspace manager, dtwm(1), and returns the window used as the backdrop for
the current workspace.
The display argument is the X display.
The root argument is the root window of the screen of interest.
RETURN VALUE
Upon successful completion, the DtWsmGetCurrentBackdropWindow returns the window used as the backdrop for the current workspace. The func-
tion returns None if there is no backdrop window for the workspace or if the CDE workspace manager is not running.
APPLICATION USAGE
If the DtWsmGetCurrentBackdropWindow function is not successful, failure may be due to a memory allocation error or failure to find the
correct workspace information (that is, the CDE workspace manager, dtwm(1), is not running).
SEE ALSO
Dt/Wsm.h - DtWsm(5), dtwm(1), DtWsmGetCurrentWorkspace(3), DtWsmGetWorkspaceInfo(3).
DtWsmGetCurrentBackdropWindow(library call)