comp.unix.programmer
  Home FAQ Contact Sign in
comp.unix.programmer only
 
Advanced search
July 2008
motuwethfrsasuw
 123456 27
78910111213 28
14151617181920 29
21222324252627 30
28293031    31
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.unix.programmer Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  How do you implement graphical interfaces for the following scenario.         


Author: K-mart Cashier
Date: Jul 2, 2008 21:45

How does a graphical interface like the DDD (Data Display Debugger)
interact with gdb (GNU debugger)? I mean, I don't think the people
that maintain gdb modified the source code so that it accompany coders
that wanted to add a graphical interface to a text based program.

Chad
1 Comment
  behavior of /dev/stdout         


Author: lhyatt
Date: Jul 2, 2008 08:07

Hello-

I recently got bit by this issue in some of my shell scripts... it
seems that writing to /dev/stdout does not work if you have su'd to a
different user. (This is on debian.) It seems this is because /dev/
stdout is a symlink to /proc/self/fd/1, in turn a symlink to /dev/
pts/..., which only has write permissions for the original logged in
user.

Is this how this is supposed to work? Basically it seems to me that /
dev/stdout is therefore useless inside any shell script, if there is a
chance that someone might want to use it after calling su someday. Is
there a better solution for me? (I can obviously avoid using /dev/
stdout but it's very convenient in some cases). Thanks, and please
advise if this is not the correct group for these kinds of questions.

-Lewis
no comments
  Please help me in writing script         


Author: Injam
Date: Jul 2, 2008 07:15

Hi ,
I have the following two files.The characters 14-18 in file input2
will match 2nd field deleimited by ~ in file input1.

swadmin@tb142:/rangedoms1/working/
CRST_OVERLAY_ENHANCE_Analysis_RNGCTRL_DEV> cat input1
P00000012~00027
P00000027~00061
P00000270~00417
P00000271~00418
P00000272~00419
P00000273~00420
P00000274~00422...
Show full article (3.01Kb)
4 Comments
  who sets the default library path?         


Author: Lalatendu Das
Date: Jul 2, 2008 05:30

When I run a binary, how come it knows about what are the default
path. I know that when binary need to search for shared objects at run
time binary sees first LD_LIBARAY_PATH then RPATH then the default
path.

So the question is if LD_LIBARAY_PATH and RPATH aren't set which
component tells the runtime linker to search the library in the /usr/
lib or /lib that is nothing but the fefault path.

Is it set during the compilation phase of the binary? if yes then what
intermediate step of compilation phase does that ?

thanks in advance.
2 Comments