tool:ddd 

Info 

Starting from v3.2.93, JDK 1.2 is supported, and requires

Quick notes 

Source 

ftp://ftp.redhat.com/pub/rawhide/powertools/i386/RedHat/RPMS/ddd-3.2.93-1.i386.rpm

Related Urls 

Build, Test run & Installation 

Steps 

# lesstif

rpm -qpiR lesstif-0.92.0-1.i386.rpm
rpm -i -vv lesstif-0.92.0-1.i386.rpm
rpm -qpiRl lesstif-devel-0.92.0-1.i386.rpm
rpm -i -vv lesstif-devel-0.92.0-1.i386.rpm

# ddd

$ ./configure --prefix=/pkg
checking for Motif... libraries in default path, headers in default path
checking for Athena... libraries in default path, headers in default path
checking for Xpm... libraries in default path, headers in default path
make

# a simple check

$ make check

This creates a sample C++ program `cxxtest' and then runs DDD on it by invoking `./ddd cxxtest'

pkg=ddd
make -n install | tee /export/pub/installs/logs/$pkg.log.0
make install | tee /export/pub/installs/logs/$pkg.log.1
Help 

in INSTALL

Code Medic 

Info 

UNIX Debugging Environment

The standard UNIX debugger, gdb, is extremely powerful, but its command line interface can be quite intimidating and painful to use. Code Medic provides an elegant graphical interface to gdb's most important features.

latest version: 1.0.5

UML diagrams 

WAS: Some questions whilst PDFTeX'ing my thesis Newsgroups: comp.text.tex

In my previous message I asked how one could create UML diagrams with pdfTeX and various good suggestions were made.

Just this afternoon I found a useful Open Source tool to do the trick: ArgoUML.

http://www.argouml.org

This tool is written in Java and is able to export the diagrams in GIF, PS, EPS and SVG (Scalable Vector Graphics).

Just thought it might be useful for some other guys who don't own a <lotsa> $$$ CASE-tool -like me- and still want to make some nice diagrams.

Crispian

UML diagrams 

FWIW, dia can draw UML too. Dunno how good it is, I've never used it in anger.

Home page is at http://www.lysator.liu.se/~alla/dia/dia.html but it isn't working for me right now. You can find download links at http://freshmeat.net/projects/dia

Jules

Dev IDE 

Code Crusader 

Info 

Code Crusader is designed to smoothly integrate the tasks of working with source files, compiling, and debugging, in short everything involved in developing code.

version 

http://nyi.linux.tucows.com/files/x11/dev/code_crusader_source-2.1.4.tar.gz 498k http://nyi.linux.tucows.com/files/x11/dev/code_crusader_glibc21-2.1.4.tgz 1.5M

Build 

To compile Code Crusader, run "make" in the top level JX directory. "Makefile" will be created by it, run make afterwards.

Source-Navigator 

Info 

Source-Navigator is a source code analysis tool. With it, you can edit your source code, display relationships between classes and functions and members, and display call trees. You can also build your projects, either with your own makefile, or by using Source-Navigator's build system to automatically generate a makefile. It works with the Insight GUI interface for GDB, and supports C, C++, Java, Tcl, [incr Tcl], FORTRAN, and COBOL, and provides an SDK so that you can write your own parsers.

Author: Red Hat, Inc.
License: GPL
Category: Development/Environments
Project ID: 10404

Source 

http://freshmeat.net/appindex/development/environments.html

http://freshmeat.net/projects/source-navigator http://sources.redhat.com/sourcenav/

ftp://sources.redhat.com/pub/sourcenav/releases/SN452.tar.gz

version 

Version 5.1 

http://sourcenav.sourceforge.net/download.html

Version 5.1 is the most recent stable release. A zip file containing the Win32 binary is provided. UNIX users should download the source and build an executable.

CVS Access http://cvs.sourceforge.net/viewcvs.py/sourcenav/src/ All files are 15 months old.

documented on: 2004.05.25

Version v4.5.2 

Configuration & Twisting 

Steps 
Note important, a bunch of libraries need to be compiled beforehand. including db, itcl
cd ~/try/SN452-source/db
./configure
make
cd ../itcl
./configure
make
cd ../snavigator

— compile at this level! got an cvs error while in SN452-source level.

./configure --prefix=/shared/local
make
pkg=sNavigator
make -n install | tee /export/pub/installs/logs/$pkg.log.0
make install | tee /export/pub/installs/logs/$pkg.log.1
Tip !!
Undefined                       first referenced
 symbol                             in file
Tcl_UtfToExternalDString            libdbutils.a(dbutils.o)
Tcl_ExternalToUtfDString            libdbutils.a(dbutils.o)
ld: fatal: Symbol referencing errors. No output written to dbdump

no one qualify.

Tip !!

Search in Source-Navigator Mailing Lists for all period for Tcl_UtfToExternalDString, but no found.

Look them up in the scriptics web page and got an impression that the functions are only available for Tcl8.3. So I upgrade my Tcl to v8.3, problem gone. but…

how to tell if mouse/kbd are idle? 

Newsgroups: comp.os.linux.x
Date: Wed, 08 Jan 2003 20:23:47 +0530
> The only thing I need is a way to ask the question: "have my
> mouse and keyboard been idle for 10 minutes?".

If you don't mind C, I have this function that I had written some time back.

#include <X11/Xlib.h>
#include <X11/extensions/scrnsaver.h>
#include <time.h>

char *idle_time() {
XScreenSaverInfo *xsinfo;
Display *dsp;
char *time_str;

struct tm *tim;
xsinfo = XScreenSaverAllocInfo();
dsp = XOpenDisplay(getenv("DISPLAY"));
if(dsp == NULL) {
        printf("Could not open display %s\n", getenv("DISPLAY"));
        exit(1);
}
XScreenSaverQueryInfo(dsp,RootWindow(dsp, XDefaultScreen(dsp)),xsinfo);
XCloseDisplay(dsp);
xsinfo->idle = xsinfo->idle/1000;
tim = gmtime(&xsinfo->idle);
time_str = (char*)malloc(20);
sprintf (time_str, "Idle time: %d:%d:%d", tim->tm_hour, tim->tm_min,
tim->tm_sec
);
return(time_str);
}

Rajesh L G