-   Linux - Newbie (
-   -   quotaion marks (

timainge 04-28-2004 04:38 AM

quotaion marks
i have recently installed mandrake 9.2 as my first linux distro and am having a ball, however i am somewhat perplexed with the quotation mark system. i find that if i try to type " or ' nothing happens unless i type a space afterwards. if i type another character i find that nothing happens (not quote or character) however i then discovered that if i hit it twice it has the desired affect, at least that is what i thought until i started some html, to view the source it looked fine, but when selecting the properties of a broken link i would see that when i had "double tapped" there was an %A8 or something. is this a bug or a feature, can i fix/disable or is there a reason why i should be learning to use it.

thanks in advance for you avise
dazzed and confused

adamwenner 05-01-2004 03:25 PM

this is something that is not understood by many (including myself)

the single quote turns off pathname expansion

you ask what this means, good question, i am in a linux class and no one understood that chapter, but thats what it is

vagueness :-D

wapcaplet 05-01-2004 05:29 PM

In what context are you getting this behavior? In the shell, in the GUI, in a text-editor, etc.? I've never experienced it. Whenever I type a quote, I get a quote :)

adamwenner 05-01-2004 06:01 PM

im referring to in the shell

wapcaplet 05-01-2004 09:50 PM

Maybe it's something to do with your terminal emulator. Are you using xterm, rxvt, konsole...? I guess it's also possible that your shell is doing it, though unless you've taken steps to switch your login shell, it's probably bash, which doesn't do any funky quote stuff as far as I know.

adamwenner 05-01-2004 10:27 PM

\ Protects the next character from being interpreted by the shell.

"..." Protects enclosed characters from being interpreted by the shell, with the exceptions of the $, !, and ` (backtick) characters.

'...' Protects all enclosed characters from being interpreted by the shell.[list]

timainge 05-01-2004 10:43 PM

thanks guys for your ideas, wapcaplet i experience this behaviour at all times using KDE, whether it be in OpenOffice, Mozzilla, or Konsole.

when i type shit + " + space i get an "

when i type shit + " + " i get an ¨

all i know is that it behaves the way i would expect with a space and is a real pain in the arse with a double tap, so ie got used to useing the space method, i don mind it, but i would like some insight into this "quirk¨.

thanks again


wapcaplet 05-01-2004 10:51 PM

Wow, hmm. Maybe it's an issue of your keyboard not being configured correctly? That should really not be happening in all of your applications.

I think adamwenner is thinking of something different - yes, in the shell, quotes are interpreted in a special way in different contexts. But what timainge is saying is that there are problems with just getting them to appear on the screen normally.

timainge 05-01-2004 11:06 PM

oh shit....
sorry guys that was meant to be "shift" :p

and thanks again if anyone can shed more lightr on the situation

All times are GMT -5. The time now is 02:17 PM.