Score:0

Keyboard Settings for ¨Dumb¨ Quotemarks (ASCII-34 and ASCII-39) for C Code

my flag

I have Ubuntu 21.10 (recently upgraded from 20.04) on an 8G RPi-4 connected to a touchscreen and a mini keyboard. Using the Budgie desktop and a USB power block as a battery it makes a very nice portable desktop computer, and I mainly use it for writing and for coding C and HTML. For coding I mostly use Geany.

Since the upgrade it has become almost unusuable for C coding, because the keys that used to generate double-quotes (ASCII code 34) and single-quotes (ASCII code 39) no longer do that. Instead they generate extended character quotes that the compiler chokes on.

I have messed about with different keyboards (I live in Ireland and use UK keyboard layout) and changed locales, even editing /var/lib/locales/supported.d/en and rebuilding it, but nothing I can do will restore the old, straightforward ASCII behaviour. Sometimes deleting and replacing keyboard layouts allows ASCII behaviour for a while, but it never survives upgrade.

This has been ruining my mornings for days, and my Google-fu is no good here: all I can find is description of how to use the fancy new internationalisation features to enter accent marks, not how to turn the thing off and go back to plain-old ASCII.

The five accent marks that Irish does use can be obtained from alt-gr just like the old days, but that would be a bonus. I write more C than Irish, and I just want an ASCII keyboard, like I have been using since the 1970s.

Help?

FedKad avatar
cn flag
This seems like an editor (configuration) problem. Does this problem occur on the terminal? For example, does the terminal command `echo "hello"` displays `hello` without quotes?
Timecorps avatar
my flag
It's everything: editors and terminal. So I can't even switch to vi to fix the strings. :-(
Timecorps avatar
my flag
Bug reported: https://bugs.launchpad.net/ubuntu/+bug/1962302
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.