Unix line ending

You have encountered a problem using Far Manager? Here you can get help.
Post Reply
User avatar
sicvolo
Posts: 119
Joined: Tue 05 Feb, 2008 01:47

Unix line ending

Post by sicvolo » Wed 15 Apr, 2009 21:16

Is it possible to have Far default to using unix line endings (0x0A) when creating a new file (Shift-F4)?
This is important for running it under Wine on Linux platforms, which it does fairly well.
ФАРева

User avatar
t-rex
Страшный и ужасный
Posts: 4872
Joined: Tue 15 Mar, 2005 16:17
Location: Tel-Aviv
Contact:

Re: Unix line ending

Post by t-rex » Wed 15 Apr, 2009 21:33

By using a plugin, for example [esc].

User avatar
sicvolo
Posts: 119
Joined: Tue 05 Feb, 2008 01:47

Re: Unix line ending

Post by sicvolo » Wed 15 Apr, 2009 22:00

Does [esc] run ok under FAR 2.0, or has it been ported to 2.0?
ФАРева

User avatar
t-rex
Страшный и ужасный
Posts: 4872
Joined: Tue 15 Mar, 2005 16:17
Location: Tel-Aviv
Contact:

Re: Unix line ending

Post by t-rex » Wed 15 Apr, 2009 22:24

Use search.

User avatar
sicvolo
Posts: 119
Joined: Tue 05 Feb, 2008 01:47

Re: Unix line ending

Post by sicvolo » Thu 16 Apr, 2009 05:12

Ok, kina hard to find, but I did see a discussion that it is "tricky to use" and the 2.0 port is not in a distribution (svn only?). So, is there an easy to use, accessible alternative to have Far 2.0 internal editor default to the unix line endings?
ФАРева

User avatar
techie
Posts: 761
Joined: Mon 03 Oct, 2005 22:42
Has thanked: 28 times
Been thanked: 2 times

Unix line ending

Post by techie » Fri 26 Jun, 2015 07:38

@sicvolo use Editor.NewFileUnixEOL in far:config of recent nightly builds of Far 3

Post Reply

Return to “Support and Troubleshooting”