duskos

dusk os fork
git clone git://git.alexwennerberg.com/duskos
Log | Files | Refs | README | LICENSE

commit 734123accd793816f1ea28c58a37283455b1230b
parent b6399c5fbb660d561c2a73f724c81760a3916e0b
Author: Virgil Dupras <hsoft@hardcoded.net>
Date:   Sat, 28 Jan 2023 17:16:22 -0500

Make nl> emit LF only

Why did I make nl> emit both CR and LF? For serial links I guess, I don't
remember. In any case, Dusk's line endings are LF, not CR+LF. Let's make this
clear. If CR+LF is needed somewhere, it will be added in another form (an IO
filter for example...)

Diffstat:
Mfs/xcomp/bootlo.fs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xcomp/bootlo.fs b/fs/xcomp/bootlo.fs @@ -140,7 +140,7 @@ alias noop idle \ Emitting $20 const SPC $0d const CR $0a const LF $08 const BS $1b const ESC alias drop emit -: nl> CR emit LF emit ; : spc> SPC emit ; +: nl> LF emit ; : spc> SPC emit ; : _ ( a u ) >r begin c@+ emit next drop ; current ' rtype realias : stype ( str -- ) c@+ rtype ;