In the middle of a line FF would need to be whitespace which would mean you have to decide how to display it, etc.

Treated as a line-end it is discarded as the file is read, and there are no further repercussions as the FF is not part of what gets interpreted.

There would be the side effect that 5!:5 would not recover the FF.  But if the FF is useful to editors and doesn't hurt us, I can see allowing it.

hhr

On 7/18/2021 6:22 PM, Eric Iverson wrote:
Is it used only when alone on a line? Things get messier when it is allowed
anywhere,

On Sun, Jul 18, 2021 at 6:10 PM Michal Wallace <[email protected]>
wrote:

FF is actually pretty commonly used in source code... I use it all the time
in python and rust.
It's actually used as part of the GNU C coding standard, according to
wikipedia (pretty sure that's where I picked it up...)

https://en.wikipedia.org/wiki/Page_break#Semantic_use


On Sun, Jul 18, 2021 at 5:55 PM Eric Iverson <[email protected]>
wrote:

In linux jconsole input ctrl+l, is not treated as LF. Instead it scrolls
down the page.

I think you will find that ctrl+l will behave differently on many
different
hosts, terminal managers, J front ends, etc. I think making it behave in
a
useful way and the same way in all cases is not possible. And including
it
is a script introduces a whole new level of complication.

Before changing the JE, the use case should be studied and probably
revisited.



And it is unlikely to be consistent with other languages.


On Sun, Jul 18, 2021 at 5:37 PM Raul Miller <[email protected]>
wrote:
On Sun, Jul 18, 2021 at 4:55 PM chris burke <[email protected]>
wrote:
I think FF is normally considered to be whitespace, so it can be
treated
like LF.
Yes.

https://en.wikipedia.org/wiki/Whitespace_character

Thanks,

--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm


--
This email has been checked for viruses by AVG.
https://www.avg.com

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to