Project

General

Profile

Problem with backslash characters in text

Added by Ian Street over 14 years ago

Trying to enter a complex expression containing backslash ("\") characters into wiki text.

Tried various methods, including pre blocks.
It previews ok, but when you go to Create, you get the attached error.

Admittedly, this is a bad case, but users have complained that they can't enter simple windows paths into bug reports.

( Currently using redimen 0.8.4.devel2835 , but it originally occurred in 0.8.stable )


Replies (4)

RE: Problem with backslash characters in text - Added by Ian Street over 14 years ago

I'll try it here....

A better workaround ist to set PS1 specifically for mc's subshell:
$ echo PS1=\'\\u@\\h:\\w\\$ \' >> ~/.mc/bashrc

& see what you get... !

RE: Problem with backslash characters in text - Added by Ian Street over 14 years ago

Ok, that worked!!

We are using postgres 8.3 - what are you using?

RE: Problem with backslash characters in text - Added by Ian Street over 14 years ago

Trying it with paths:

c:\new_file\at\troublesome\path

c:\new_file\at\troublesome\path

RE: Problem with backslash characters in text - Added by Ian Street over 14 years ago

This gives us

c:
ew_fileat roublesomepath

in both.

    (1-4/4)