LinuxAnswers - the LQ Linux tutorial section.
Go Back > Blogs
User Name



Computer Mad Science Continues To Baffle The Experts...

Posted 06-01-2013 at 09:24 AM by rainbowsally
Updated 08-06-2014 at 08:26 AM by rainbowsally (new dl site)

[UPDATE: (2013-06-10) The uitool link has been updated below. Better version, tested, has no mc2 lib deps.]

Been busy elsewhere for a while, but now I'm back, I think.

Today's Features:
  • A ui tool for creating code skeletons.
  • A cool Sudoku puzzle solver (with save/restore file funcs).
  • A qt graphics lib with mc2-generated makefiles (qwt).
  • Notes about why mc2 kicks &ss.
  • Notes about kregeditor.
  • And the make-based installer fixups for root system installations.
Posted in Uncategorized
Views 567 Comments 0 rainbowsally is offline

Starting With Stat (dyn linked shell routines)

Posted 02-19-2012 at 09:51 PM by rainbowsally

  • dynamic linkage of shell subroutines
  • automatically loading shell dependencies
In order to dynamically link subroutine files we need a method of blocking multiple loads of any file.

For this, we load a set of base definitions in a file named sub.sub. The sub.sub file includes some simple functions for listing functions and the main function that blocks multiple-loading as well as a 'sub.unload <filename> function so we can unload and reload subroutines while editing...
Posted in Uncategorized
Views 818 Comments 0 rainbowsally is offline

Create a self-extracting archive

Posted 02-16-2012 at 06:45 AM by rainbowsally
Updated 05-20-2015 at 05:56 AM by rainbowsally (obsolete)

Note: This is pretty much obsolete at this point. is a simpler, faster, more elegant C version of the same.

CHANGELOG Feb 22, 2012
Changed the temp dir from /tmp to $HOME/tmp so everyone has write and execute perms in it. Added more cleanups including removal of the temp dir unless the user already had it and was using it.

Posted in Uncategorized
Views 1924 Comments 0 rainbowsally is offline

Simple C: some ideas on how to find headers, names, and a name demangler tool

Posted 02-08-2012 at 04:23 AM by rainbowsally
Updated 08-06-2014 at 11:30 AM by rainbowsally

The simplest yet, I think.. at least the C program is.

  • tips on how to find C/C++ header paths and declarations
  • tips on how to find libs containing references and definitions
  • a super-simple program to demangle C++ names
Note: With even a simple automatic makefile generator such as the one built from sources in this blog (,
Posted in Uncategorized
Views 942 Comments 0 rainbowsally is offline

KDE Utils: new.exec, shell-exec (for ENTER &amp; click on executables)

Posted 01-28-2012 at 04:08 AM by rainbowsally

[This post includes some test data showing what's wrong in KDE and a peek into the configuration files for various file types.]

Let's start with a program that writes programs. This is 'new.exec'.

file: new.exec (executable)
purpose: create a skeleton of a clickable shell program with an 'exec' extension.
# creates a new exec file named $1.exec that does $2

cd_here='cd `dirname
Posted in Uncategorized
Views 1275 Comments 0 rainbowsally is offline


All times are GMT -5. The time now is 09:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration