[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] whatnow(1)'s cd Doesn't Affect it's mime.
From: |
Jon Steinhart |
Subject: |
Re: [Nmh-workers] whatnow(1)'s cd Doesn't Affect it's mime. |
Date: |
Tue, 17 Jan 2017 18:03:06 -0800 |
David Levine writes:
> Ralph wrote:
>
> > It's very unintuitive, well, wrong, that a `cd' command at a command's
> > prompt doesn't change the current working directory as far as all other
> > commands are concerned. That's not how other Unix commands that provide
> > cd work. If it can't be fixed then whatnow(1) could do with pointing it
> > out.
>
> Well, yeah.
>
> > Being able to do `cd' and `ls' at an nmh prompt, when MH's raison d'ĂȘtre
> > is to intermingle its commands with the shell's, always seemed wrong.
>
> Well, yeah, but I use them.
Well, since I'm responsible for this, I don't agree with you. Yes, it might
be unintuitive if you're not familiar with UNIX, but it is how it works. If
you type
sh
cd foo
exit
you will not be in foo. Whatnow is a subshell.
We're in year 17 of this addition to nmh, and this is the first complaint on
this that I've seen, which is a darned good record.
Jon
- [Nmh-workers] whatnow(1)'s cd Doesn't Affect it's mime., Ralph Corderoy, 2017/01/17
- Re: [Nmh-workers] whatnow(1)'s cd Doesn't Affect it's mime., David Levine, 2017/01/17
- Re: [Nmh-workers] whatnow(1)'s cd Doesn't Affect it's mime.,
Jon Steinhart <=
- Re: [Nmh-workers] whatnow(1)'s cd Doesn't Affect it's mime., Ralph Corderoy, 2017/01/18
- Re: [Nmh-workers] whatnow(1)'s cd Doesn't Affect it's mime., Jon Steinhart, 2017/01/18
- Re: [Nmh-workers] whatnow(1)'s cd Doesn't Affect it's mime., Ralph Corderoy, 2017/01/18
- Re: [Nmh-workers] whatnow(1)'s cd Doesn't Affect it's mime., Jon Steinhart, 2017/01/18
- Re: [Nmh-workers] whatnow(1)'s cd Doesn't Affect it's mime., Paul Fox, 2017/01/19
- Re: [Nmh-workers] whatnow(1)'s cd Doesn't Affect it's mime., Ralph Corderoy, 2017/01/19
- Re: [Nmh-workers] whatnow(1)'s cd Doesn't Affect it's mime., David Levine, 2017/01/18
- Re: [Nmh-workers] whatnow(1)'s cd Doesn't Affect it's mime., Ralph Corderoy, 2017/01/19
Re: [Nmh-workers] whatnow(1)'s cd Doesn't Affect it's mime., Ralph Corderoy, 2017/01/18