[apluslist] setting-up A+ fonts for Xemacs
Alexander Skomorokhov
askom at obninsk.com
Thu Feb 26 02:20:10 EST 2004
Pedro,
> I managed to run Xemacs - yes, F4 opens the A+ window and when I press
> Meta-I 3 then only thing I get is the Sterling Pound symbol (which is
> not even available in my keyboard...).
>
> If I press return nothing happens, i.e., no number sequence is
> generated (I suppose that is what Meta-I 3 generates, right?).
When you succeed you will see Greek letter {iota} after you press
Meta-I. This is A+ function index generator and for expression {iota}3
you would get an answer 0 1 2 (index origin 0). So your session in
A+ window of xemacs should look like
{iota}3
0 1 2
> this means the fonts are displayed correctly
No, it means the fonts are _not_ displayed correctly:-) You have to have
{iota} except of {Sterling Pound} symbol. But the "look bad" expression
has to work any way, So, it has to be:
{Sterling Pound}3
0 1 2
What do you have in return if you proceed it? Does font independent 2+3
return 5?
> but the keys do not translate
> to the right characters, I suppose...
The other issue is what is Meta key. With windows usual keyboard (we use on
Linux
boxes) it is often Alt key. But sometimes "Windows" key performs as a Meta
key
instead of Alt. What key do you use as a Meta key on your Mac keyboard? Try
different, like Alt, "Apple" (with apple symbol on it) and even Esc.
> Should I get another keyb.el file (the one I use is located at
> /usr/local/aplus-fsf-4.18/lisp.1/) or modify any of the .el files under
> this directory?
I never tried this. But I played with system setting for keyboard and
sometimes
change from 101 to 104 keys helped...
Regards,
Sasha.
> On Feb 25, 2004, at 11:13 PM, Alexander Skomorokhov wrote:
>
> > Pedro,
> >
> > The problem may be because of
> >
> > 1. lisp macro to customize xemacs
> > 2. font itself
> >
> > The first is more serious (IMHO), so, please, confirm that you may
> > start xemacs
> > press F4 to start A+ in xemacs
> > press Meta-I 3 and get 1 2 3 (if even Meta-I generates something
> > awful).
> >
> > If the above works for you, than you are almost ok. Congratulations.
> >
> > As for fonts you may try my script I use in Linux to start A+xemacs:
> > ------------------cut here--------------------------
> > #!/bin/bash
> > xemacs -l
> > /usr/local/aplus-fsf-4.18/lisp/.emacs -fn
> > --kapl-screen-r-normal--15-150-72-
> > 72-m--iso8859-1
> > ------------------cut here--------------------------
> > It solved for me all the problems like this in Linux. You see it pass
> > lisp
> > macro directly and pass
> > font directly with it's "full" name.
> >
> > I recently played with wiki installation on OS X 10.2 and SuSE Linux
> > 8.2 and
> > found that it's almost identical
> > (apache, mysql and php script installation and configuration). That's
> > why I
> > hope my script may help you.
> >
> > Good luck,
> > Sasha.
> >
> >
> >> -----Original Message-----
> >> From: apluslist-bounces at aplusdev.net
> >> [mailto:apluslist-bounces at aplusdev.net]On Behalf Of Pedro De Almeida
> >> Sent: Wednesday, February 25, 2004 11:33 PM
> >> To: apluslist at aplusdev.net
> >> Subject: [apluslist] setting-up A+ fonts for Xemacs
> >>
> >>
> >> Subject: setting-up A+ fonts for Xemacs
> >>
> >> Hi there!
> >>
> >> I have installed A+ and also Xemacs on my iBook G4, under Mac OS
> >> 10.3. I
> >> have installed the necessary fonts in the respective X11 directory and
> >> updated the fonts.dir and fonts.alias files.
> >>
> >> However, when I start Xemacs I can not get the all the fonts properly
> >> displayed (i.e., all the ones that are available in the KAPL family).
> >>
> >> Could this be due to the encoding? Any suggestions? Also, I do
> >> not get the
> >> right key translation (yes, my iBook has a US keyboard)
> >>
> >> Since I am new to both A+ and also to APL would you recommend me some
> >> adequate references (books, manuals, etc.)?
> >>
> >> Thanks a lot,
> >>
> >> Pedro
> >> Helsinki - Finland
> >>
> >>
> >>
> >> _______________________________________________
> >> apluslist mailing list
> >> apluslist at aplusdev.net
> >> http://aplusdev.net/mailman/listinfo/apluslist
> >>
> >>
> >
> > _______________________________________________
> > apluslist mailing list
> > apluslist at aplusdev.net
> > http://aplusdev.net/mailman/listinfo/apluslist
>
> _______________________________________________
> apluslist mailing list
> apluslist at aplusdev.net
> http://aplusdev.net/mailman/listinfo/apluslist
>
>
More information about the apluslist
mailing list