[pmwiki-users] New skin: Lens

Bronwyn Boltwood arndis at gmail.com
Sat Sep 3 12:01:04 CDT 2005


On 9/2/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> Ah, I see.  Unfortunately, the trick is also getting undone by
> other changes in the OS:
> 
>     [pmichaud at power lens]$ ls -l
>     total 26
>     drwxr-xr-x  2 pmichaud pmichaud  1024 Aug 31 12:54 eggs
>     -rw-r--r--  1 pmichaud pmichaud  3262 Sep  1 11:56 implementation.txt
>     -rw-r--r--  1 pmichaud pmichaud 10105 Sep  2 16:20 included_wikipages.txt
>     drwxrwxrwx  2 pmichaud pmichaud  1024 Sep  2 16:20 newtheme
>     -rw-r--r--  1 pmichaud pmichaud  7052 Sep  2 16:51 readme.txt
>     drwxrwxrwx  2 pmichaud pmichaud  1024 Sep  2 16:16 sample
>     drwxr-xr-x  5 pmichaud pmichaud  1024 Aug 31 12:18 !shared
>     -rw-r--r--  1 pmichaud pmichaud     0 Sep  2 17:29 xyz

I admit that I had only expected it to work with a simple sort-by-name...
 
> and my shell (bash) doesn't seem like it much:
> 
>     [pmichaud at power lens]$ cd !shared
>     -bash: !shared: event not found
>     [pmichaud at power lens]$ cd ./!shared    # try again
>     -bash: !shared: event not found
>     [pmichaud at power lens]$ cd "!shared"    # third time's the charm?
>     -bash: !shared: event not found
>     [pmichaud at power lens]$ cd '!shared'    # arrrgh!
>     [pmichaud at power !shared]$              # finally!

That's too much hassle.  Okay, after some research about filesystems,
bash, and special characters, possible options are:
- give up: shared
- use uppercase: Shared
- use an underscore (the only legal-anywhere character I could find): _shared

Will someone with more cross-platform experience please tell me which
of these is best, and then I'll change it accordingly?

Pm, you need to check your spelling on the php file for Cookbook.Lens;
right now it's producing "Fatal error: Call to undefined function:
incldue_once() in /home/pmichaud/pmwiki/local/Cookbook.Lens.php on
line 2", and the incldue_once() is an obvious culprit.

Bronwyn




More information about the pmwiki-users mailing list