Re: Line endings and MacOS X pasteboard

2006-10-10 Thread Jim Correia

On Oct 10, 2006, at 10:15 AM, [EMAIL PROTECTED] wrote:


I'm getting confused with my line endings... Can someone enlighten me?

I've got Unix line endings selected in BBEdit. When I copy two  
lines of text from BBEdit, and store them from the pasteboard in  
Unix into a file (using pbpaste on the command line)


That line endings option controls the line ending used to save the  
file to disk. BBEdit is currently line-end agnostic when reading the  
clipboard, but always emits Mac line endings when writing to the  
clipboard.


From a thread over the summer:

http://www.listsearch.com/bbedittalk.lasso?id=21555

Jim



--
--
Have a feature request? Not sure the software's working correctly?
If so, please send mail to [EMAIL PROTECTED], not to the list.
List FAQ: http://www.barebones.com/support/lists/bbedit_talk.shtml
List archives: http://www.listsearch.com/BBEditTalk.lasso
To unsubscribe, send mail to:  [EMAIL PROTECTED]



Re: Line endings and MacOS X pasteboard

2006-10-10 Thread pete . boardman

On 2006-10-10, at 16:36, Jim Correia wrote:


On Oct 10, 2006, at 10:15 AM, [EMAIL PROTECTED] wrote:

I'm getting confused with my line endings... Can someone enlighten  
me?


I've got Unix line endings selected in BBEdit. When I copy two  
lines of text from BBEdit, and store them from the pasteboard in  
Unix into a file (using pbpaste on the command line)


From a thread over the summer:

http://www.listsearch.com/bbedittalk.lasso?id=21555


Ah yes - I remember the summer - and vaguely remember the thread, too.

Thanks, Jim. Not exactly ideal, but then life never is. Are there any  
plans to perhaps make writing Unix line endings a preference? Or are  
the programs that accept only Mac line endings on the clipboard too  
important to alienate by doing this?


Pete



--
--
Have a feature request? Not sure the software's working correctly?
If so, please send mail to [EMAIL PROTECTED], not to the list.
List FAQ: http://www.barebones.com/support/lists/bbedit_talk.shtml
List archives: http://www.listsearch.com/BBEditTalk.lasso
To unsubscribe, send mail to:  [EMAIL PROTECTED]



Re: Line endings and MacOS X pasteboard

2006-10-10 Thread Maarten Sneep


On 10-okt-2006, at 17:53, [EMAIL PROTECTED] wrote:

Thanks, Jim. Not exactly ideal, but then life never is. Are there  
any plans to perhaps make writing Unix line endings a preference?  
Or are the programs that accept only Mac line endings on the  
clipboard too important to alienate by doing this?


On the command line: pbpaste | tr '\r' '\n' | pbcopy
Perhaps you can attach a script that does something like this to the  
copy menu item.


Maarten

--
--
Have a feature request? Not sure the software's working correctly?
If so, please send mail to [EMAIL PROTECTED], not to the list.
List FAQ: http://www.barebones.com/support/lists/bbedit_talk.shtml
List archives: http://www.listsearch.com/BBEditTalk.lasso
To unsubscribe, send mail to:  [EMAIL PROTECTED]



Re: Line endings and MacOS X pasteboard

2006-10-10 Thread pete . boardman

On 2006-10-10, at 17:22, Maarten Sneep wrote:


On 10-okt-2006, at 17:53, [EMAIL PROTECTED] wrote:

Thanks, Jim. Not exactly ideal, but then life never is. Are there  
any plans to perhaps make writing Unix line endings a preference?  
Or are the programs that accept only Mac line endings on the  
clipboard too important to alienate by doing this?


On the command line: pbpaste | tr '\r' '\n' | pbcopy
Perhaps you can attach a script that does something like this to  
the copy menu item.


Good idea! BBEdit can do things that other applications can only  
dream of!


Pete


--
--
Have a feature request? Not sure the software's working correctly?
If so, please send mail to [EMAIL PROTECTED], not to the list.
List FAQ: http://www.barebones.com/support/lists/bbedit_talk.shtml
List archives: http://www.listsearch.com/BBEditTalk.lasso
To unsubscribe, send mail to:  [EMAIL PROTECTED]



Re: Line Endings

2006-09-28 Thread Michael P. Webb
It appears that '[EMAIL PROTECTED]' wrote the following:

Hi Robert,

 When I create a new file in BBedit it always assigns it unicode line
 endings even though I have Unix(LF) selected as the default. Is anyone
 else having this issue?

Could the Use Unicode line breaks checkbox be on in the Text Files 
preference
pane by any chance?

Just a thought,
Mike  d:-)



-- 
--
Have a feature request? Not sure the software's working correctly?
If so, please send mail to [EMAIL PROTECTED], not to the list.
List FAQ: http://www.barebones.com/support/lists/bbedit_talk.shtml
List archives: http://www.listsearch.com/BBEditTalk.lasso
To unsubscribe, send mail to:  [EMAIL PROTECTED]



Re: Line Endings

2006-09-28 Thread Robert Ullrey
Michael P. Webb wrote this pithy remark on 9/28/06

Could the Use Unicode line breaks checkbox be on in the Text Files 
preference
pane by any chance?

That was it. Thanks Mike. :-)

__
Robert Ullrey
Phone: (916) 600-5619
E-mail: [EMAIL PROTECTED]

Please avoid sending me Word or PowerPoint attachments. 
Please send as universally readable RTF files. 
See http://www.gnu.org/philosophy/no-word-attachments.html

--
--
Have a feature request? Not sure the software's working correctly?
If so, please send mail to [EMAIL PROTECTED], not to the list.
List FAQ: http://www.barebones.com/support/lists/bbedit_talk.shtml
List archives: http://www.listsearch.com/BBEditTalk.lasso
To unsubscribe, send mail to:  [EMAIL PROTECTED]