Re: moving to background when no current dir

2002-01-09 Thread Piotr Krukowiecki

On Thu, 03 Jan 2002, Alexander V. Lukyanov wrote:

> On Tue, Jan 01, 2002 at 08:08:21PM +0100, Piotr Krukowiecki wrote:
> > Hi
> > 
> > lftp> jobs
> > Warning: chdir(/home/piotr/fr) failed: No such file or directory
> > No directory to execute commands in - terminating
> > [19962] Moving to background to complete transfers...
> > [piotr@pingu piotr]$
> > 
> > :(
> > 
> > Can't lftp just change dir to some existing dir?
> 
> I'll change it to fail all commands except lcd, maybe some others which
> don't use local directory at all.

Sorry, don't understand. 'fail' != move to background?
 
 
> There is fchdir system call on some systems, it can help to return to
> a removed directory. Maybe it is worth to be used.

In this case there was no need to return to that directory. There was no
job in queue that would download to that directory iirc.


-- 
Piotrek
irc: #debian.pl
Mors Drosophilis melanogastribus!



Re: moving to background when no current dir

2002-01-03 Thread Alexander V. Lukyanov

On Tue, Jan 01, 2002 at 08:08:21PM +0100, Piotr Krukowiecki wrote:
> Hi
> 
> lftp> jobs
> Warning: chdir(/home/piotr/fr) failed: No such file or directory
> No directory to execute commands in - terminating
> [19962] Moving to background to complete transfers...
> [piotr@pingu piotr]$
> 
> :(
> 
> Can't lftp just change dir to some existing dir?

I'll change it to fail all commands except lcd, maybe some others which
don't use local directory at all.

There is fchdir system call on some systems, it can help to return to
a removed directory. Maybe it is worth to be used.

-- 
   Alexander.



moving to background when no current dir

2002-01-01 Thread Piotr Krukowiecki

Hi

lftp> jobs
Warning: chdir(/home/piotr/fr) failed: No such file or directory
No directory to execute commands in - terminating
[19962] Moving to background to complete transfers...
[piotr@pingu piotr]$

:(

Can't lftp just change dir to some existing dir?


-- 
Piotrek
irc: #debian.pl
Mors Drosophilis melanogastribus!