Hi,
I am trying to re-do the DNS section for use with RPMs instead of tarball. I have just noticed that I can't correctly copy and paste the examples I have done using {{{ }}}. I assume these will be converted to <screen> tags eventually, maybe the problem will go away then.
For example, copying the /etc/named.conf options section from https://fedoraproject.org/wiki/Docs/Drafts/AdministrationGuide/Servers/DNSBI... appears as the following in vim:
options { directory "/etc/bind"; allow--query {any;}; recursion no; pid--file "/var/run/named/named.pid"; zone--statistics yes; statistics-f-ile "/etc/bind/namedstats.log"; };
There are double "-" characters, however these characters did not appear when I copied them from vim into here :( . These options will not be valid when double "-" characters are used. I'm not sure if this is a huge problem, but I thought it would be ncie if people could copy and paste these samples to get a basic working configuration before changing it to suit their needs. I was thinking of putting a warning to look out for this, but I thought it would look sloppy.
Has anyone had this problem before?
Kind Regards,
Murray.
-------------------------------------------------------------------------------------------------------------------- pub 1024D/81B3FDEB 2007-09-19 [expires: 2008-09-18] Key fingerprint = 4ED9 9907 5BF0 4132 2B46 20D1 C0C6 362D 81B3 FDEB Murray McAllister (Fedora Docs Project / mdious) murray.mcallister@gmail.com sub 2048g/B04CFA0C 2007-09-19 [expires: 2008-09-18]
Murray McAllister wrote:
Hi,
I am trying to re-do the DNS section for use with RPMs instead of tarball. I have just noticed that I can't correctly copy and paste the examples I have done using {{{ }}}. I assume these will be converted to <screen> tags eventually, maybe the problem will go away then.
I have always found that {{{}}} works perfectly? Are you keeping an extra line?
Cheers,
Marc
Murray McAllister wrote:
Hi,
I am trying to re-do the DNS section for use with RPMs instead of tarball. I have just noticed that I can't correctly copy and paste the examples I have done using {{{ }}}. I assume these will be converted to <screen> tags eventually, maybe the problem will go away then.
For example, copying the /etc/named.conf options section from https://fedoraproject.org/wiki/Docs/Drafts/AdministrationGuide/Servers/DNSBI... appears as the following in vim:
options { directory "/etc/bind"; allow--query {any;}; recursion no; pid--file "/var/run/named/named.pid"; zone--statistics yes; statistics-f-ile "/etc/bind/namedstats.log"; };
It's fixed I just edited it and added the extra dash and it works fine?
Cheers,
Marc
On Dec 31, 2007 3:57 PM, Marc Wiriadisastra marc@mwiriadi.id.au wrote:
Murray McAllister wrote:
Hi,
I am trying to re-do the DNS section for use with RPMs instead of tarball. I have just noticed that I can't correctly copy and paste the examples I have done using {{{ }}}. I assume these will be converted to <screen> tags eventually, maybe the problem will go away then.
For example, copying the /etc/named.conf options section from https://fedoraproject.org/wiki/Docs/Drafts/AdministrationGuide/Servers/DNSBI... appears as the following in vim:
options { directory "/etc/bind"; allow--query {any;}; recursion no; pid--file "/var/run/named/named.pid"; zone--statistics yes; statistics-f-ile "/etc/bind/namedstats.log"; };
It's fixed I just edited it and added the extra dash and it works fine?
Cheers,
Marc
Hi Marc,
Thanks for your help. I could not get it to work, when an extra dash is added (foo--bar) I end up with 3, for example, foo---bar. Maybe I'm doing something wrong, I'll have to look at it more. I was using kate to edit the content then copy it into the wiki, I noticed when I copied from kate into the wiki it added an extra dash, for example, copying "foo-bar" from kate appeared as "foo--bar" in the wiki.
I'm definitely doing something wrong here! I'll look at it more tomorrow, at the moment I'm wrestling with trying to use a package instead of the tarball. A few hours lately and I finally have it running :P
Cheers,
Murray.
-------------------------------------------------------------------------------------------------------------------- pub 1024D/81B3FDEB 2007-09-19 [expires: 2008-09-18] Key fingerprint = 4ED9 9907 5BF0 4132 2B46 20D1 C0C6 362D 81B3 FDEB Murray McAllister (Fedora Docs Project / mdious) murray.mcallister@gmail.com sub 2048g/B04CFA0C 2007-09-19 [expires: 2008-09-18]
On Mon, 2007-12-31 at 15:44 +1000, Murray McAllister wrote:
There are double "-" characters, however these characters did not appear when I copied them from vim into here :( .
I'm seeing the same behavior. The original source in the markup seems correct, but if you copy from the edit window, you get the extra '-' when you paste into an editor that shows real ASCII, such as Vi or Emacs, one single additional '-' appears. The same occurs from the displayed page.
Looking at the HTML generated by Moin from the wiki markup, I don't "see" the additional '-'. But if I copy and paste from the Firefox view source window, the additional '-' appears. So it's there, as a hidden character.
Pasting from an editor that is not revealing all the ASCII in a plain text fashion might be the culprit.
As a test, I wrote a replacement text piece in Emacs, which shows all the characters when in 'text-mode', and the extra '-' disappeared. I am saving this new version in replacement of the other, you should find that it works when pasted into Vim.
So, blame Kate?
- Karsten
On Dec 31, 2007 6:55 PM, Karsten Wade kwade@redhat.com wrote:
On Mon, 2007-12-31 at 15:44 +1000, Murray McAllister wrote:
There are double "-" characters, however these characters did not appear when I copied them from vim into here :( .
I'm seeing the same behavior. The original source in the markup seems correct, but if you copy from the edit window, you get the extra '-' when you paste into an editor that shows real ASCII, such as Vi or Emacs, one single additional '-' appears. The same occurs from the displayed page.
Looking at the HTML generated by Moin from the wiki markup, I don't "see" the additional '-'. But if I copy and paste from the Firefox view source window, the additional '-' appears. So it's there, as a hidden character.
Pasting from an editor that is not revealing all the ASCII in a plain text fashion might be the culprit.
As a test, I wrote a replacement text piece in Emacs, which shows all the characters when in 'text-mode', and the extra '-' disappeared. I am saving this new version in replacement of the other, you should find that it works when pasted into Vim.
So, blame Kate?
- Karsten
--
Hi Karsten,
Thanks for working that out for me, I'll start using something else for the wiki. I noticed there is a plug-in for jEdit that allows you to edit wiki pages, I might give that a go and see if the problem persists.
Thanks again!
Regards,
Murray.
--------------------------------------------------------------------------------------------------------------------- pub 1024D/81B3FDEB 2007-09-19 [expires: 2008-09-18] Key fingerprint = 4ED9 9907 5BF0 4132 2B46 20D1 C0C6 362D 81B3 FDEB Murray McAllister (Fedora Docs Project / mdious) murray.mcallister@gmail.com sub 2048g/B04CFA0C 2007-09-19 [expires: 2008-09-18]
On Jan 1, 2008 7:35 AM, Murray McAllister murray.mcallister@gmail.com wrote:
On Dec 31, 2007 6:55 PM, Karsten Wade kwade@redhat.com wrote:
On Mon, 2007-12-31 at 15:44 +1000, Murray McAllister wrote:
There are double "-" characters, however these characters did not appear when I copied them from vim into here :( .
I'm seeing the same behavior. The original source in the markup seems correct, but if you copy from the edit window, you get the extra '-' when you paste into an editor that shows real ASCII, such as Vi or Emacs, one single additional '-' appears. The same occurs from the displayed page.
Looking at the HTML generated by Moin from the wiki markup, I don't "see" the additional '-'. But if I copy and paste from the Firefox view source window, the additional '-' appears. So it's there, as a hidden character.
Pasting from an editor that is not revealing all the ASCII in a plain text fashion might be the culprit.
As a test, I wrote a replacement text piece in Emacs, which shows all the characters when in 'text-mode', and the extra '-' disappeared. I am saving this new version in replacement of the other, you should find that it works when pasted into Vim.
So, blame Kate?
- Karsten
--
Hi Karsten,
Thanks for working that out for me, I'll start using something else for the wiki. I noticed there is a plug-in for jEdit that allows you to edit wiki pages, I might give that a go and see if the problem persists.
Works fine if I use jEdit. I guess I'll use that for the examples, and will copy+paste the entire guide when finishing to make sure it all works.
Thanks again.
Murray.
------------------------------------------------------------------------------------------------------------------- pub 1024D/81B3FDEB 2007-09-19 [expires: 2008-09-18] Key fingerprint = 4ED9 9907 5BF0 4132 2B46 20D1 C0C6 362D 81B3 FDEB Murray McAllister (Fedora Docs Project / mdious) murray.mcallister@gmail.com sub 2048g/B04CFA0C 2007-09-19 [expires: 2008-09-18]
docs@lists.stg.fedoraproject.org