LCD driver trims whitespace
Helge Deller
maintainerQuoted 5 lines · Julian Stecklina
I have a HP Visualize workstation with this fancy little LCD at the front controllable via
/proc/pdc/lcd. The problem is that the responsible driver trims all trailing whitespace, which is quite annoying if you want to scroll some text. The attached trivial patch (against 2.6.20.1) removes this behaviour.
I'm sure, there was a reason to strip the whitespaces.
But I forgot it by now and it was probably a not very good reason :-)
Nevertheless, the patch looks good.
Kyle, could you add the patch to your git tree ?
-> http://lists.parisc-linux.org/pipermail/parisc-linux/attachments/20070419/d58ce234/no-space-removal.bin
Helge
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
Quoted 9 lines · Helge Deller
Quoted 1 line · Julian Stecklina
I have a HP Visualize workstation with this fancy little LCD at the front controllable via
/proc/pdc/lcd. The problem is that the responsible driver trims all trailing whitespace, which is quite annoying if you want to scroll some text. The attached trivial patch (against 2.6.20.1) removes this behaviour.I'm sure, there was a reason to strip the whitespaces. But I forgot it by now and it was probably a not very good reason :-)
Nevertheless, the patch looks good.
Kyle, could you add the patch to your git tree ?
-> http://lists.parisc-linux.org/pipermail/parisc-linux/attachments/20070419/d58ce234/no-space-removal.bin
As I was just browsing the git tree, I did not see the patch. Any reason it was not committed?
Regards,
Julian
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
Helge Deller
maintainerQuoted 11 lines · Julian Stecklina
Quoted 10 lines · Helge Deller
Quoted 5 lines · Julian Stecklina
I have a HP Visualize workstation with this fancy little LCD at the front controllable via
/proc/pdc/lcd. The problem is that the responsible driver trims all trailing whitespace, which is quite annoying if you want to scroll some text. The attached trivial patch (against 2.6.20.1) removes this behaviour.I'm sure, there was a reason to strip the whitespaces.
But I forgot it by now and it was probably a not very good reason :-)
Quoted 7 lines
Quoted 4 lines
Nevertheless, the patch looks good.
Kyle, could you add the patch to your git tree ?
-> http://lists.parisc-linux.org/pipermail/parisc-linux/attachments/20070419/d58ce234/no-space-removal.binAs I was just browsing the git tree, I did not see the patch. Any reason it was not committed?
It seems it has been forgotten to be merged into Kyle's tree and thus it didn't went upstream.
Please, resend the full patch again to this list, add Kyle McMartin <[email protected]> to CC and (most important) do not forget to add your "signed-off" line.
Thanks,
Helge
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
[parisc-linux] LCD driver trims whitespace (again)
In reply to a message not in the archiveHello,
The attached patch removes the behaviour that writes to /proc/pdc/lcd are whitespace trimmed.
(See thread "LCD driver trims whitespace" for reference.)
Regards,
Julian
--
Julian Stecklina
http://berzerkely.net/
"Dealing with failure is easy: Work hard to improve. Success is also easy to handle: You've solved the wrong problem. Work hard to improve." - Alan Perlis
drivers/parisc/led.c +0 -5
@@ -195,12 +195,6 @@ static int led_proc_write(struct file *file, const char *buf, cur = lbuf; -/* skip initial spaces */ -while (*cur &&isspace (*cur)) - { - cur++; - }
[parisc-linux] LCD driver trims whitespace (again again)
In reply to a message not in the archiveHello,
Due to my violation of rules, here comes it again...
The attached patch removes the behaviour that writes to /proc/pdc/lcd are whitespace trimmed. This patch applies to Kyle's parisc git tree.
(See thread "LCD driver trims whitespace" for reference.)
Regards,
Julian
drivers/parisc/led.c +0 -5
@@ -195,12 +195,6 @@ static int led_proc_write(struct file *file, const char *buf, cur = lbuf; -/* skip initial spaces */ -while (*cur &&isspace (*cur)) - { - cur++; - }
Re: [parisc-linux] LCD driver trims whitespace (again again)
In reply to a message not in the archiveQuoted 4 lines · Julian Stecklina
The attached patch removes the behaviour that writes to
/proc/pdc/lcdare whitespace trimmed. This patch applies to Kyle's parisc git tree.Signed-off-by Julian Stecklina <[email protected]>
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux