[Printing-architecture] [PATCH] braille: index: Avoid spurious EOF character

Samuel Thibault samuel.thibault at ens-lyon.org
Sun Apr 10 16:31:22 UTC 2016


A double-EOF is used in some drivers to avoid some USB bug, but this
actually poses more problems than it solves, and notably the cooling fan
never stops, so stop sending double-EOF, only send one.

-------------- next part --------------
=== modified file 'filter/braille/drivers/index/imageubrltoindexv3.in'
--- filter/braille/drivers/index/imageubrltoindexv3.in	2015-12-12 02:11:10 +0000
+++ filter/braille/drivers/index/imageubrltoindexv3.in	2016-04-10 15:30:51 +0000
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 #
-# Copyright (c) 2015 Samuel Thibault <samuel.thibault at ens-lyon.org>
+# Copyright (c) 2015-2016 Samuel Thibault <samuel.thibault at ens-lyon.org>
 # 
 # Permission is hereby granted, free of charge, to any person obtaining a copy
 # of this software and associated documentation files (the "Software"), to deal
@@ -311,6 +311,5 @@ fi ) | sed \
 printf '\033\006'
 # Finish document
 printf '\032'
-printf '\032'
 
 echo "INFO: Ready" >&2

=== modified file 'filter/braille/drivers/index/imageubrltoindexv4.in'
--- filter/braille/drivers/index/imageubrltoindexv4.in	2015-12-12 02:11:10 +0000
+++ filter/braille/drivers/index/imageubrltoindexv4.in	2016-04-10 15:30:58 +0000
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 #
-# Copyright (c) 2015 Samuel Thibault <samuel.thibault at ens-lyon.org>
+# Copyright (c) 2015-2016 Samuel Thibault <samuel.thibault at ens-lyon.org>
 # 
 # Permission is hereby granted, free of charge, to any person obtaining a copy
 # of this software and associated documentation files (the "Software"), to deal
@@ -312,6 +312,5 @@ fi ) | sed \
 printf '\033\006'
 # Finish document
 printf '\032'
-printf '\032'
 
 echo "INFO: Ready" >&2

=== modified file 'filter/braille/drivers/index/textbrftoindexv3.in'
--- filter/braille/drivers/index/textbrftoindexv3.in	2015-12-12 02:11:10 +0000
+++ filter/braille/drivers/index/textbrftoindexv3.in	2016-04-10 15:30:57 +0000
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 #
-# Copyright (c) 2015 Samuel Thibault <samuel.thibault at ens-lyon.org>
+# Copyright (c) 2015-2016 Samuel Thibault <samuel.thibault at ens-lyon.org>
 # 
 # Permission is hereby granted, free of charge, to any person obtaining a copy
 # of this software and associated documentation files (the "Software"), to deal
@@ -92,6 +92,5 @@ else
 fi
 
 printf '\032'
-printf '\032'
 
 echo "INFO: Ready" >&2



More information about the Printing-architecture mailing list