Afficher un message
Vieux 02/11/2006, 22h39   #3
Stephane CHAZELAS
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Dug myself into a silly hole

2006-11-2, 21:32(+00), Jordan Abel:
> 2006-11-02 <1162501821.623003.23190@m7g2000cwm.googlegroups.c om>,
> Sashi wrote:
>> I ran 'set -n' at the prompt and now it refuses to execute my commands!
>>
>> Solaris 5.8.
>>
>> Er, how do I get out? I put a couple of jobs in the background and
>> would prefer to bring ths terminal back to life rather than simply kill
>> it.

>
> send an eof. or several.


That will terminate the shell though. There may not be any
better solution to that problem, though.

> what shell are you using? set -n is ignored on bash and (this may vary) ksh, and
> rejected on zsh.


I beleive he is using the Bourne shell.

SUSv3 says that an interactive shell may ignore a "set -n" so a
POSIX shell may also behave like that though as you point out,
except for ash based shells, there doesn't seem to be any that
does (someone must have run into the problem and decided to fix
it).

--
Stéphane
  Réponse avec citation
 
Page generated in 0,05563 seconds with 9 queries