Re: x-terminal-emulator & xterm [SOLVED]

2002-05-14 Thread Andy Saxena
On Wed, May 08, 2002 at 07:41:28PM -0700, Eric G. Miller wrote: > On Wed, May 08, 2002 at 09:44:30PM -0400, Andy Saxena wrote: > > > I am still not certain how this applies to my original question. > > > > Even if an executable can tell whether or not it is being called by a > > symlink, why shou

Re: x-terminal-emulator & xterm [SOLVED]

2002-05-14 Thread Andy Saxena
On Wed, May 08, 2002 at 07:49:36PM -0700, Vineet Kumar wrote: > * Andy Saxena ([EMAIL PROTECTED]) [020508 18:44]: > > Even if an executable can tell whether or not it is being called by a > > symlink, why should the xterm binary be coded to disregard the > > ~/.Xresources file? > > Well, technical

Re: x-terminal-emulator & xterm

2002-05-08 Thread Vineet Kumar
* Andy Saxena ([EMAIL PROTECTED]) [020508 18:44]: > Even if an executable can tell whether or not it is being called by a > symlink, why should the xterm binary be coded to disregard the > ~/.Xresources file? Well, technically speaking, xterm never reads the .Xresources file at all. That file is r

Re: x-terminal-emulator & xterm

2002-05-08 Thread Eric G. Miller
On Wed, May 08, 2002 at 09:44:30PM -0400, Andy Saxena wrote: > I am still not certain how this applies to my original question. > > Even if an executable can tell whether or not it is being called by a > symlink, why should the xterm binary be coded to disregard the > ~/.Xresources file? IMHO, i

Re: x-terminal-emulator & xterm

2002-05-08 Thread Andy Saxena
On Wed, May 08, 2002 at 11:00:14AM -0700, Vineet Kumar wrote: > > As for taking different actions based on the command by which a program > was called, look at the fsck family, bzless and bzmore, mh's show, next, > and prev, and a lot of other things that show up in find / -type f | > -links 1 =).

Re: x-terminal-emulator & xterm

2002-05-08 Thread Vineet Kumar
* Eric G. Miller (egm2@jps.net) [020508 01:28]: > On Wed, May 08, 2002 at 12:41:28AM -0400, Andy Saxena wrote: > > On Mon, May 06, 2002 at 12:40:26AM -0700, Vineet Kumar wrote: > [snip] > > > It is on some levels; the symlink is dereferenced to get to the actual > > > code of the executable. A prog

Re: x-terminal-emulator & xterm

2002-05-08 Thread Eric G. Miller
On Wed, May 08, 2002 at 12:41:28AM -0400, Andy Saxena wrote: > On Mon, May 06, 2002 at 12:40:26AM -0700, Vineet Kumar wrote: [snip] > > It is on some levels; the symlink is dereferenced to get to the actual > > code of the executable. A program can tell how it was called by looking > > at argv[0],

Re: x-terminal-emulator & xterm

2002-05-08 Thread Andy Saxena
On Mon, May 06, 2002 at 12:40:26AM -0700, Vineet Kumar wrote: > * Andy Saxena ([EMAIL PROTECTED]) [020505 23:16]: > > Hi, > > > > For some reason, when I invoke x-terminal-emulator, which points to > > xterm, results in different background, foreground, etc. settings than > > if I were to invoke x

Re: x-terminal-emulator & xterm

2002-05-06 Thread David Roundy
On Mon, May 06, 2002 at 12:40:26AM -0700, Vineet Kumar wrote: > > In general, if xterm is invoked via a symlink, the result is different! > > I was under the impression that invoking a program via a symlink is > > transparent as far as the execution context of the program is concerned. > > It is o

Re: x-terminal-emulator & xterm

2002-05-06 Thread Vineet Kumar
* Andy Saxena ([EMAIL PROTECTED]) [020505 23:16]: > Hi, > > For some reason, when I invoke x-terminal-emulator, which points to > xterm, results in different background, foreground, etc. settings than > if I were to invoke xterm directly. > It has to do with the way xterm loads its X Resources. T