[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
** Description changed: - The following happen to me, if I still have Alt Gr key down when - pressing space key (which happens easily): + OS: from Hardy to at least Trusty. - E.g. grep does not work here (always): + When you use Finnish keyboard, you have to hold Alt Gr down to type | or + \ or certain other characters. When typing a shell command, you may + often want to enter a space character after such characters. But it + easily happens that Alt Gr is still down when you press space, and + consequently you type non-breaking space character U+00A0 (at least, if + you use UTF-8 keyboard layout, which is default in Ubuntu). - $ cat /etc/X11/xorg.conf | grep device - bash: grep: command not found - $ grep - Usage: grep [OPTION]... PATTERN [FILE]... - Try `grep --help' for more information. + $cd /tmp ; echo 0 > foo\ bar ; ls "foo bar" + ls: cannot access foo bar: No such file or directory + $cat foo bar | grep 0 + No command ' grep' found, but there are 16 similar ones + grep: command not found - Same thing with less command: - $ lspci | less - bash: less: command not found - $ less - Missing filename ("less --help" for help) + Besides it may be hard to see the typing error, as non-breaking space + character looks exactly same as regular space character. - I expect exactly same looking command lines work same way. + A way to avoid such typos would be to use another keyboard shortcut for + non-breaking space. Besides non-breaking space should look different + than regular space in terminal emulators and in editors. + + A workaround in to run + setxkbmap -option "nbsp:none" + to make type regular space character, + and use `printf '\u00a0'` or `printf "\xc2\xa0"` to have a non-breaking space in scripts and in command line. + + Non-breaking space can be typed (in GTK apps) by u 00a0, if needed, but it looks exactly like a regular space. + For me, would be a good shortcut for non-breaking space. ** Summary changed: - [Hardy] Whitespace in command line not always regural whitespace + Non-breaking space is easy to write accidentally and hard to distinguish from regular space. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/218637 Title: Non-breaking space is easy to write accidentally and hard to distinguish from regular space. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/218637/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
And as for the first workaround in #28, my system does not even have /etc/hal/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/218637 Title: [Hardy] Whitespace in command line not always regural whitespace To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/218637/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
At least in ubuntu 14.04 (with Xfce) you don't need to be superuser to run setxkbmap -option "nbsp:none" I run this as an autostarted application to avoid trouble. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/218637 Title: [Hardy] Whitespace in command line not always regural whitespace To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/218637/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
Thanks, Saku Ytti. The command is 'sudo setxkbmap -option "nbsp:none"' to be strict. -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
Just to point out, that correct solution to disabling NBSP is [y...@sci ~]% cat /etc/hal/fdi/policy/remove_nbsp.fdi nbsp:none [y...@sci ~]% Instead of mocking with xorg.conf. This requires restart of hal and xorg. If you do not wish to restart immediately but still wish to disable nbsp you should issue 'sudo setxkbmap -option "nbsp:none'. -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
I don't know. Maybe needs wider discussion than possible on this bug. -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
Timo Aaltonen, can you tell me which terminal does not have such a bug then? Or should shells interpret non-breaking space as normal space? -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
The change was made to conform standards. The Finns of you can read the details here: http://kotoistus.tksoft.com/linux/space.html if the app doesn't show the difference, then it's a bug in the app, not X. ** Changed in: xorg (Ubuntu) Status: Confirmed => Invalid -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
tp, "Space key outputs usual space at any level" works here in ubuntu 8.10 (Gnome session). -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
** Changed in: xorg (Ubuntu) Status: New => Confirmed -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
I tested under Xubuntu 8.10. Problem continues to exist; furthermore the xorg.conf setting featured by Juhamatti Niemelä does not work there, I suppose, since "InputDevice" sections are ignored there AFAIK. I suppose the GUI way to configure does work in Gnome, but I can't find such option in Xfce4's keyboard preferences. -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
** Changed in: xorg (Ubuntu) Status: Incomplete => New -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
I hope the attachments are worth the trouble. ** Attachment added: "Xorg.0.log" http://launchpadlibrarian.net/18628158/Xorg.0.log -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
** Attachment added: "lspcivvv" http://launchpadlibrarian.net/18628102/lspcivvv -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
Hi bryceharrington, I don't understand why you are asking all the attachments, but I hope you tell. Please note that I could patch the problem by customizing xrog.conf as presented at https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/218637/comments/11. However, the customazion is commented out in the attachment to reproduce the issue. ** Attachment added: "xorg.conf" http://launchpadlibrarian.net/18628099/xorg.conf -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
Hi jarnos, Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well. ** Changed in: xorg (Ubuntu) Status: New => Incomplete -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
For some reason Juhamatti Niemelä's XkbOptions do not work either. -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
This feature can be configured in: System ->Preferences ->Keyboard ->Layouts ->Layout options... ->Using space key to input non-breakable... Few issues: * Changing the configuration option from "Default" to "Space key outputs usual space at any level" does not have any effect on my computer. AltGr+Space in gnome-terminal still outputs nbsp. * What does "Default" mean? -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
i know. this bug is about whitescreen. the other chars were just a example to make clear what you mean (it is your bug, isnt it?). because Bryce' request does not make much sense in this case. -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
Michael Nagel, 1, I and l look different in terminal, also 0 and O. -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
i think the above was a bulk reply and does not apply here, because those settings do not matter here at all. it is more a design question in x (or perhaps rather in your virtual terminal application or your shell or whereever) if it is good to have chars that look exactly the same but behave completely different. like 1 and I and l or O and 0, but just for whitespace (tab vs nl vs space vs nbsp ...) ** Changed in: xorg (Ubuntu) Status: Incomplete => New -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
Hi jarnos, Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well. ** Changed in: xorg (Ubuntu) Status: New => Incomplete -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
** Changed in: xorg (Ubuntu) Sourcepackagename: None => xorg Status: Invalid => New -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 218637] Re: [Hardy] Whitespace in command line not always regural whitespace
** Summary changed: - [Hardy] Piping commands does not work always + [Hardy] Whitespace in command line not always regural whitespace ** Description changed: + The following happen to me, if I still have Alt Gr key down when + pressing space key (which happens easily): + E.g. grep does not work here (always): $ cat /etc/X11/xorg.conf | grep device bash: grep: command not found $ grep Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more information. Same thing with less command: $ lspci | less bash: less: command not found $ less Missing filename ("less --help" for help) + + I expect exactly same looking command lines work same way. ** Tags added: pipe -- [Hardy] Whitespace in command line not always regural whitespace https://bugs.launchpad.net/bugs/218637 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs