Re: Symlink clarification needed (vi -> vim)

2002-09-30 Thread Christoph Claus
On Mon, Sep 30, 2002 at 03:13:32PM -0400, Stephen Gran wrote: > Ordinarily, no. Generally it's not symlinks that affect the behavior of > a program. Programs actually *can* be written to honor the name with which they are called, e.g. joe does. lux:~> file /usr/bin/joe /usr/bin/jmacs /usr/bin

Re: Symlink clarification needed (vi -> vim)

2002-09-30 Thread Stephen Gran
This one time, at band camp, Elimar Riesebieter said: > On Sat, 28 Sep 2002 the mental interface of > Robert Ian Smit told: > > > I know that some programs react differently depending on how they > > are called. When you create a symlink to a program, does the program > > know that it was starte

Re: Symlink clarification needed (vi -> vim)

2002-09-30 Thread Elimar Riesebieter
On Sat, 28 Sep 2002 the mental interface of Robert Ian Smit told: > I know that some programs react differently depending on how they > are called. When you create a symlink to a program, does the program > know that it was started by using a symlink? > > For instance when I create a vi symlink

Re: Symlink clarification needed (vi -> vim)

2002-09-30 Thread Vineet Kumar
* Robert Ian Smit ([EMAIL PROTECTED]) [020928 06:58]: > I know that some programs react differently depending on how they > are called. When you create a symlink to a program, does the program > know that it was started by using a symlink? > > For instance when I create a vi symlink to vim, will

Re: Symlink clarification needed (vi -> vim)

2002-09-30 Thread Tom Cook
Robert Ian Smit wrote: > > I know that some programs react differently depending on how they > are called. When you create a symlink to a program, does the program > know that it was started by using a symlink? It's dependant on your C library (although that should be fairly standard across OS)

Re: Symlink clarification needed (vi -> vim)

2002-09-28 Thread Bijan Soleymani
On Sat, Sep 28, 2002 at 03:56:51PM +0200, Robert Ian Smit wrote: > I know that some programs react differently depending on how they > are called. When you create a symlink to a program, does the program > know that it was started by using a symlink? > > For instance when I create a vi symlink to

Symlink clarification needed (vi -> vim)

2002-09-28 Thread Robert Ian Smit
I know that some programs react differently depending on how they are called. When you create a symlink to a program, does the program know that it was started by using a symlink? For instance when I create a vi symlink to vim, will vim start up normally or will it mimick vi? If so, can I change