On Wed, Feb 20, 2013 at 10:51 AM, Clark WANG <[email protected]> wrote:
> On Wed, Feb 20, 2013 at 7:57 AM, Janis Papanagnou < > [email protected]> wrote: > >> >> I suppose it's the fact that after _closing_ the whole clause with double >> quotes and hitting <enter> the shell is _not_ supposed to answer with >> PS2 asking for continuation, rather responding with PS1, ready for a >> new command. >> I cannot confirm that with version t+ but the poster tried two newer >> releases, u+ and v+. >> > > Seems like it's caused by the jj KEYBD trap given by David here: > http://lists.research.att.com/pipermail/ast-users/2012q1/002947.html . > Another KEYBD related issue is > http://lists.research.att.com/pipermail/ast-users/2012q4/003713.html . > 93v- 2013-03-17 still has this problem. > >> ---------------------------------------- >> > Date: Tue, 19 Feb 2013 14:17:50 -0500 >> > From: [email protected] >> > To: [email protected]; [email protected] >> > Subject: Re: [ast-users] [ksh93] Line continuation problem in >> interactive shell >> > >> > cc: [email protected] >> > Subject: Re: Re: [ast-users] [ksh93] Line continuation problem in >> interactive shell >> > -------- >> > > >> > > On Wed, Jun 13, 2012 at 11:50 AM, Clark WANG <[email protected]> >> wrote: >> > > >> > > > See following example: >> > > > >> > > > $ echo ${.sh.version} >> > > > Version JMP 93u+ 2012-06-06 >> > > > $ echo abc\ <== This is fine. >> > > > > def >> > > > abcdef >> > > > $ echo "abc\ >> > > > > def" <== It still waits for input after pressing ENTER. >> > > > > >> > > > >> > > >> > > 93v- 2013-02-13 still has this problem. >> > > >> > >> > I don't understand the problem. Inside "", \<newline> is special >> > and means line continuation. This is defined in the last paragraph of >> > section 2.2.3 of the posix standard. >> > >> > David Korn >> > [email protected] >> > _______________________________________________ >> > ast-users mailing list >> > [email protected] >> > http://lists.research.att.com/mailman/listinfo/ast-users >> > > >
_______________________________________________ ast-users mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-users
