[Touch-packages] [Bug 218637] Re: Non-breaking space is easy to write accidentally and impossible to distinguish from regular space.
** Description changed: OS: from Hardy to at least Trusty. 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). $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 Besides it may be hard to see the typing error, as non-breaking space character looks exactly same as regular space character. 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. + to make type regular space character. To make this default setting, you could add + + XKBOPTIONS="nbsp:none" + + in '/etc/default/keyboard'. + + Then 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. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/218637 Title: Non-breaking space is easy to write accidentally and impossible to distinguish from regular space. Status in Geany: New Status in gedit: New Status in GNOME Terminal: New Status in nano: New Status in xfce4-terminal: New Status in xorg package in Ubuntu: Invalid Bug description: OS: from Hardy to at least Trusty. 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). $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 Besides it may be hard to see the typing error, as non-breaking space character looks exactly same as regular space character. 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. To make this default setting, you could add XKBOPTIONS="nbsp:none" in '/etc/default/keyboard'. Then 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. To manage notifications about this bug go to: https://bugs.launchpad.net/geany/+bug/218637/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 218637] Re: Non-breaking space is easy to write accidentally and impossible to distinguish from regular space.
geany has setting in Edit > Preferences > Editor > Display > Show white space. I think it should be default. It shows one pixel mark for regular white space, which is hard to see, though. It shows just space for non breaking space. Inverting colors helps a bit. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/218637 Title: Non-breaking space is easy to write accidentally and impossible to distinguish from regular space. Status in Geany: New Status in gedit: New Status in GNOME Terminal: New Status in nano: New Status in xfce4-terminal: New Status in xorg package in Ubuntu: Invalid Bug description: OS: from Hardy to at least Trusty. 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). $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 Besides it may be hard to see the typing error, as non-breaking space character looks exactly same as regular space character. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/geany/+bug/218637/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 218637] Re: Non-breaking space is easy to write accidentally and impossible to distinguish from regular space.
I make the mistake regularly of writing a non-breaking space instead of a regular space, when writing shell scripts. It produces errors that are very difficult to detect. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/218637 Title: Non-breaking space is easy to write accidentally and impossible to distinguish from regular space. Status in Geany: New Status in gedit: New Status in GNOME Terminal: New Status in nano: New Status in xfce4-terminal: New Status in xorg package in Ubuntu: Invalid Bug description: OS: from Hardy to at least Trusty. 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). $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 Besides it may be hard to see the typing error, as non-breaking space character looks exactly same as regular space character. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/geany/+bug/218637/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 218637] Re: Non-breaking space is easy to write accidentally and impossible to distinguish from regular space.
** Also affects: nano Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/218637 Title: Non-breaking space is easy to write accidentally and impossible to distinguish from regular space. Status in Geany: New Status in Light-Weight Text Editor for Gnome: New Status in GNOME Terminal: New Status in nano: New Status in XFCE4 Terminal Emulator: New Status in xorg package in Ubuntu: Invalid Bug description: OS: from Hardy to at least Trusty. 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). $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 Besides it may be hard to see the typing error, as non-breaking space character looks exactly same as regular space character. 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 Alt Grspace 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 CtrlShiftu 00a0Enter, if needed, but it looks exactly like a regular space. For me, SuperSpace would be a good shortcut for non-breaking space. To manage notifications about this bug go to: https://bugs.launchpad.net/geany/+bug/218637/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 218637] Re: Non-breaking space is easy to write accidentally and impossible to distinguish from regular space.
** Also affects: xfce4-terminal Importance: Undecided Status: New ** Also affects: gnome-terminal Importance: Undecided Status: New ** Also affects: geany Importance: Undecided Status: New ** Also affects: gedit Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/218637 Title: Non-breaking space is easy to write accidentally and impossible to distinguish from regular space. Status in Geany: New Status in Light-Weight Text Editor for Gnome: New Status in GNOME Terminal: New Status in XFCE4 Terminal Emulator: New Status in xorg package in Ubuntu: Invalid Bug description: OS: from Hardy to at least Trusty. 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). $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 Besides it may be hard to see the typing error, as non-breaking space character looks exactly same as regular space character. 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 Alt Grspace 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 CtrlShiftu 00a0Enter, if needed, but it looks exactly like a regular space. For me, SuperSpace would be a good shortcut for non-breaking space. To manage notifications about this bug go to: https://bugs.launchpad.net/geany/+bug/218637/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 218637] Re: Non-breaking space is easy to write accidentally and impossible to distinguish from regular space.
Is there any font that would display non-breaking space differently? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/218637 Title: Non-breaking space is easy to write accidentally and impossible to distinguish from regular space. Status in xorg package in Ubuntu: Invalid Bug description: OS: from Hardy to at least Trusty. 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). $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 Besides it may be hard to see the typing error, as non-breaking space character looks exactly same as regular space character. 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 Alt Grspace 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 CtrlShiftu 00a0Enter, if needed, but it looks exactly like a regular space. For me, SuperSpace would be a good shortcut for non-breaking space. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/218637/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp