[bootlin/training-materials updates] master: kernel labs: add detail about \r (5924e189)

Michael Opdenacker michael.opdenacker at bootlin.com
Wed Oct 21 05:59:25 CEST 2020


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/5924e18935ef602ff76c2cfef082979294f785c3

>---------------------------------------------------------------

commit 5924e18935ef602ff76c2cfef082979294f785c3
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Tue Oct 20 17:59:39 2020 +0200

    kernel labs: add detail about \r
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


>---------------------------------------------------------------

5924e18935ef602ff76c2cfef082979294f785c3
 labs/kernel-serial-output/kernel-serial-output.tex | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/labs/kernel-serial-output/kernel-serial-output.tex b/labs/kernel-serial-output/kernel-serial-output.tex
index 4ae94801..cb779fc9 100644
--- a/labs/kernel-serial-output/kernel-serial-output.tex
+++ b/labs/kernel-serial-output/kernel-serial-output.tex
@@ -146,7 +146,9 @@ Make sure that both UART devices work on the same way.
 
 You'll quickly discover that newlines do not work properly. To fix
 this, when the user space application sends \verb+"\n"+, you must send
-\verb+"\n\r"+ to the serial port.
+\verb+"\n\r"+ to the serial port\footnote{See
+\url{https://en.wikipedia.org/wiki/Newline} for details about the
+newline (\code{\n}) and carriage return (\code{\r}) characters}.
 
 \section{Module reference counting}
 




More information about the training-materials-updates mailing list