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
dtwsmsetworkspacetitle
DtWsmSetWorkspaceTitle(API) DtWsmSetWorkspaceTitle(API)
NAME
DtWsmSetWorkspaceTitle -- set workspace title
SYNOPSIS
#include <Dt/Wsm.h>
int DtWsmSetWorkspaceTitle(
Widget widget,
Atom workspace,
char *title);
DESCRIPTION
The DtWsmSetWorkspaceTitle() function works with the CDE workspace manager, dtwm(1), and changes a specific workspace's title. Applications
can use this function to implement an interface to the workspace manager.
If the DtWsmSetWorkspaceTitle() function is not successful, the most likely reason for failure is that the CDE workspace manager, dtwm(1),
is not running. The DtWsmSetWorkspaceTitle() function requires a widget. A gadget (or unrealized widget) is not acceptable for the widget
argument.
DtWsmSetWorkspaceTitle() sends a message to the CDE workspace manager, dtwm(1), to set the title. If the workspace name is not valid, no
action is taken and the workspace manager reports no error.
ARGUMENTS
widget A realized widget on the screen of interest
workspace The name of the workspace (in X atom form) where the title should be set
title The new title
RETURN VALUE
The function returns Success (0) when it succeeds, and non-zero upon failure. Note that these are not the same values that _DtWsmSet-
WorkspaceTitle returns.
SEE ALSO
DtWsm(5)
"Communicating with the Workspace Manager" section in the CDE Programmer's Guide
"Workspace Manager" section in the CDE Programmer's Overview
DtWsmSetWorkspaceTitle(API)