And, for those not running osx:
codemonkey@monkeytree ~/W/MonkeyTools> alias pbcopy 'xsel --clipboard
--input'
codemonkey@monkeytree ~/W/MonkeyTools> alias pbpaste 'xsel --clipboard
--output'
-Dave
On Thu, Aug 23, 2012 at 3:56 AM, Jon Clayden <jon.clay...@gmail.com> wrote:
> Fair enough, but then why have the shell insert the ellipsis
> characters in the first place? Personally I would rather not have the
> visual continuation cue and be able to copy/paste simply. Long
> commands can be copy/pasted perfectly successfully under bash, so
> unless Terminal.app does something special in that case(?), it seems
> like it is something that the shell can influence. Admittedly I don't
> know the details of what goes on under the surface here, but I'm
> slightly surprised that this is so controversial.
>
> Jon
>
>
> On 23 August 2012 08:33, pants <pa...@cs.hmc.edu> wrote:
> > On Thu, Aug 23, 2012 at 08:24:55AM +0100, Jon Clayden wrote:
> >> Surely it would be possible, however, for the shell to ignore the
> >> ellipsis/newline sequence, at the very least? Rewriting the command to
> >> remove it would be better still, but perhaps that's more tricky.
> >
> > Possible, but hardly desirable. In general, programming a shell to
> > second-guess user input is not a good practice. Suppose I wanted to
> > enter an ellipsis character followed by a newline in some script I was
> > writing on the command line; with a change as you describe, this is no
> > longer possible.
> >
> > pants.
> >
> >
> ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > _______________________________________________
> > Fish-users mailing list
> > Fish-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/fish-users
> >
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users