Re: the purpose of *KeyMap in vip

2022-12-20 Thread Mike
hi all,

I have create a pil21 compilation on macos repo with custom Makefile for it.
Please follow compilation steps, lets test it.

https://git.envs.net/mpech/pil21-macos


> 
> i am following the how to install picolisp in mac alternative method
> https://picolisp.com/wiki/?alternativeMacOSRepository
> 
> it gets an error in make
> 
> =
> 
> a2289_13@A2289-13s-MBP src % 
> 
> a2289_13@A2289-13s-MBP src % make
> 
> **/opt/local/libexec/llvm-10/bin/llvm-link: lib.bc: error: Unknown 
> attribute kind (68) (Producer: 'APPLE_1_1400.0.29.202_0' Reader: 'LLVM 
> 10.0.1')**
> 
> /opt/local/libexec/llvm-10/bin/llvm-link: **error: ** loading file 'lib.bc'
> 
> make: *** [picolisp.bc] Error 1
> 
> a2289_13@A2289-13s-MBP src % make                 
> 
> **/opt/local/libexec/llvm-10/bin/llvm-link: lib.bc: error: Unknown 
> attribute kind (68) (Producer: 'APPLE_1_1400.0.29.202_0' Reader: 'LLVM 
> 10.0.1')**
> 
> /opt/local/libexec/llvm-10/bin/llvm-link: **error: ** loading file 'lib.bc'
> 
> make: *** [picolisp.bc] Error 1
> 
> a2289_13@A2289-13s-MBP src %    
> 
> =
>

--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: the purpose of *KeyMap in vip

2022-12-20 Thread wayne horner
i am following the how to install picolisp in mac alternative method
https://picolisp.com/wiki/?alternativeMacOSRepository

it gets an error in make

=

a2289_13@A2289-13s-MBP src %

a2289_13@A2289-13s-MBP src % make

*/opt/local/libexec/llvm-10/bin/llvm-link: lib.bc: **error: **Unknown
attribute kind (68) (Producer: 'APPLE_1_1400.0.29.202_0' Reader: 'LLVM
10.0.1')*

/opt/local/libexec/llvm-10/bin/llvm-link: *error: * loading file 'lib.bc'

make: *** [picolisp.bc] Error 1

a2289_13@A2289-13s-MBP src % make

*/opt/local/libexec/llvm-10/bin/llvm-link: lib.bc: **error: **Unknown
attribute kind (68) (Producer: 'APPLE_1_1400.0.29.202_0' Reader: 'LLVM
10.0.1')*

/opt/local/libexec/llvm-10/bin/llvm-link: *error: * loading file 'lib.bc'

make: *** [picolisp.bc] Error 1

a2289_13@A2289-13s-MBP src %
=

any solution

thanks


it fails with
Alandata Data Recovery -  (949)287-3282
"Cleanroom Data Recovery of RAID, VMware, Network Attached Storage, Linux,
Tape, Disk, Forensics"
*www.AlanData.com    www.AlanDataRecovery.com
*


On Mon, Dec 19, 2022 at 10:43 PM Alexander Burger 
wrote:

> On Mon, Dec 19, 2022 at 05:39:18PM -0500, polifemo wrote:
> > I'm slowly studying the @lib/vip.l source, and I've run into a global
> > variable that appears to not be documented.
> >
> > What's the use of *KeyMap ? I guess it's something to do with custom
> > keyboard remappings?
>
> Correct. It allows (re)definitions of command-mode keys.
>
> This can be done with the ":map" command, e.g.
>
>:map @ :bd
>
> or with an entry in ~/.pil/viprc or ./.viprc, e.g.
>
>(map+ "@" ":bd\r")
>
> Both will delete the current buffer by typing "@".
>
> ☺/ A!ex
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>


Re: the purpose of *KeyMap in vip

2022-12-19 Thread Alexander Burger
On Mon, Dec 19, 2022 at 05:39:18PM -0500, polifemo wrote:
> I'm slowly studying the @lib/vip.l source, and I've run into a global
> variable that appears to not be documented.
> 
> What's the use of *KeyMap ? I guess it's something to do with custom
> keyboard remappings?

Correct. It allows (re)definitions of command-mode keys.

This can be done with the ":map" command, e.g.

   :map @ :bd

or with an entry in ~/.pil/viprc or ./.viprc, e.g.

   (map+ "@" ":bd\r")

Both will delete the current buffer by typing "@".

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe