07-28-2010
Problem in GUI based program on Sun Solaris
Hello!
I am trying to run a program which has used Xlib for its graphical user interface on Solaris through Common Desktop Environment(CDE). All I get is my three required widows open but all blank.They suppose to show some symbols, pictures ad buttons.In the command terminal the following message is displayed:
....... Graphics attribute blocks related set-ups
and the program doesnt proceed further. I wonder what is the problem as I dont have its source code so cant debug as well.Please can anyone mention here that what could have gone wrong.
Asif
Rawalpindi
10 More Discussions You Might Find Interesting
1. Solaris
Hello everybody,
I installed sun solaris i86 , the programme installation install the
"Mini Root" and after that he doing shutdown.
the camputer coming up and he can't boot.
how i can to resuled this problem ???
Thenk you in advence..... (2 Replies)
Discussion started by: yanly
2 Replies
2. UNIX for Advanced & Expert Users
Hi,
How to create GUI based RPM. I am using Red Hat..
Please explain in detail.
Thanks
Kammy. (1 Reply)
Discussion started by: kjannu
1 Replies
3. Solaris
Hi All,
Any one has, sun solaris audit program which covers everything one need to check as a security auditor.
Audit Program will help.
Thanks,
Ghanshyam
Emails not allowed - see the Rules (4 Replies)
Discussion started by: ghanshyampatel
4 Replies
4. UNIX for Dummies Questions & Answers
Having problem in connecting my gui java program to postgreaql database. I first used setenv classpath /home/share/postgresql/java/postgresql.jar:proj1, where proj1 is my folder conatining all java and class file, to set classpath. Then javac *.java. Then java proj1.Login. It gives me... (2 Replies)
Discussion started by: uci
2 Replies
5. Solaris
after install solaris x86 on my computer success, but it can't boot. When the machine start, and i choose option 1 - default, it shows "W" on screen and system restart .
Anyone can help me.
My computer : dual core - 1gb ram - x86 (7 Replies)
Discussion started by: quan0509
7 Replies
6. High Performance Computing
Gurus,
I have several questions :
1. Does Solaris 10/OpenSolaris has some kind of web based management tools ?
Currently I am using WebMin. It worked fine, however I am very curious to use
the tools provided by Sun Microsystem.
Please advise for package name and how to activate.... (0 Replies)
Discussion started by: Zepiroth
0 Replies
7. Programming
Can anyone tell me how to compile a c programs on SunSolaris OS 5.1 Version as gcc and cc are not working
Thanks!!!! (4 Replies)
Discussion started by: shivu
4 Replies
8. Programming
I have a java command line program from a vendor without source code, but it's too much work to run on a PC window, therefore I'm think to create a GUI wrapper or web interface calling that java cmdline program. But I'm a newbie in java world
- How convert a java command line program into a web... (0 Replies)
Discussion started by: tqlam
0 Replies
9. Solaris
I tried using raidctl earlier today to use my 2 disks in a RAID1 setup and I totally destroyed my OS install. I'm sure I did something funky and it freaked out. No big deal...right?
This is what I was seeing after a reboot.
I decided to just reinstall the OS. It let me go through all of... (3 Replies)
Discussion started by: kingdbag
3 Replies
10. Solaris
Hi All,
I had install the solaris 10 into the SUNFIRE V890 server, after installed, it keep rebooting.
I wish to enter the OK mode again, and install back the Solaris 10.
i had try the "break" button and "stop+A" button, but all fail.
kindly advice... (4 Replies)
Discussion started by: SmartAntz
4 Replies
LEARN ABOUT OPENSOLARIS
lefty
LEFTY(1) General Commands Manual LEFTY(1)
NAME
lefty - A Programmable Graphics Editor
SYNOPSIS
lefty [ options ] [ file ]
DESCRIPTION
lefty is a two-view graphics editor for technical pictures. This editor has no hardwired knowledge about specific picture layouts or edit-
ing operations. Each picture is described by a program that contains functions to draw the picture and functions to perform editing opera-
tions that are appropriate for the specific picture. Primitive user actions, like mouse and keyboard events, are also bound to functions in
this program. Besides the graphical view of the picture itself, the editor presents a textual view of the program that describes the pic-
ture. Programmability and the two-view interface allow the editor to handle a variety of pictures, but are particularly useful for pictures
used in technical contexts, e.g., graphs and trees. Also, lefty can communicate with other processes. This feature allows it to use exist-
ing tools to compute specific picture layouts and allows external processes to use the editor as a front end to display their data struc-
tures graphically.
USAGE
The file name is optional. It may be -, for reading from standard input. lefty uses two environment variables, LEFTYPATH and LEFTYOPTIONS.
LEFTYPATH is a colon separated list of directories. When lefty tries to open a file, it searches that path for the file. When lefty tries
to start up another process, it searches LEFTYPATH first, then the standard PATH variable. LEFTYOPTIONS can be used to set specific
options. Options specified on the command line override options set through this variable.
OPTIONS
-x Instructs the editor to exit after processing file.
-e <expression>
<expression> is parsed and executed.
-el <num>
Set error reporting level. The default value is 0. 0 never prints any messages. 1 prints severe errors, such as trying to return
from a non function. 2 is the most useful: it reports function calls that cannot be executed, either because there is no function,
or because of argument mismatches. 3 also warns about bad variable names. 4,5 warn about expressions that do not return a value.
Only level 1 messages are real errors. The rest arise from legal lefty statements, but may be caused by some logic errors.
-sd <num>
Specifies how much of the stack to show, when an error message is to be printed. The default value is 2. With 0, no part of the
stack is shown. With 1, only the top stack frame is printed. With 2, the full stack is printed.
-sb <num>
Specifies how much of each function in the stack to show, when an error message is to be printed. The default value is 2. With 0,
no part of the function is shown. With 1, only the line around the error is printed. With 2, the full function body is printed.
-df <string>
Sets the default font. This font is used whenever a requested font cannot be found. The string must be a legal X font. If string is
'', lefty will draw small boxes instead of text.
-ps <file>
Specifies a default file name for postscript files. This name is used when no name is specified in the createwidget call. The
default file name is out.ps.
-V Prints the version.
SEE ALSO
lefty user guide.
LEFTY(1)