Date: Sun, 2 May 2004 00:04:15 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 366 ************************************************** Saturday 01 May 2004 Number 366 ************************************************** Subjects for today 1 Emacs info : John Poltorak 2 Re: EMACS : Stefan.Neis at t-online.de 3 Re: DLL for GNU text utils : Andreas Buening 4 Re: EMACS : Masaru Nomiya 5 Re: EMACS : Masaru Nomiya 6 Re: EMACS : Masaru Nomiya 7 Re: DLL for GNU text utils : John Poltorak 8 Re: Autoconf 2.59 problem : Andreas Buening 9 Re: DLL for GNU text utils : Andreas Buening **= Email 1 ==========================** Date: Fri, 30 Apr 2004 14:55:22 +0100 From: John Poltorak Subject: Emacs info Anyone wanting info on running emacs on OS/2 may find any help they require here:- http://home.snafu.de/ohei/emacs/emacs206-os2.html or here:- http://www.dotemacs.de/os2/emacs.html There's lots of good stuff around if you know where to find it. -- John **= Email 2 ==========================** Date: Fri, 30 Apr 2004 11:39:43 +0100 From: Stefan.Neis at t-online.de Subject: Re: EMACS Hi, > > You need to adapt site-start.el or something like that. > > Should I expect to find a site-start.el in my build? In a clean build probably not. EM's distribution of emacs-19.33 contains a pretty good one with nice comments which can be used. > > > Let's see... I > > have the following in there: > > > > (if (eq window-system 'pm) > > (setq default-frame-alist > > (append '((altgr-modifier . meta) ; AltGr (and AltCar) > > generate M- > > (shortcuts . (alt-f4)) ; Disable all shortcuts but > > Alt+F4 > > ;; (alt-modifier . alt) > > (alt-modifier . meta) > > (width . 100) (height . 40) > > ;; (bottom . 10) (left . 140) > > (font . "5.System VIO") > > ;; (menu-font . "2.System VIO") > > (menu-font . "9.WarpSans")) ; Use small font for > > menus > > default-frame-alist))) > > > > The second last line changes the menu font to a 9 pt WarpSans font. (i.e. that's line with (menu-font . "fontname) in it. > > Is there a way to change the font of the editor? That's what (font . "fontname") is doing. Notice that this only works by restarting the server. There used to be a way to change the font on the fly, but this somehow seems to be broken in OS/2 versions of 20.x. Maybe it's sufficient to "load" the appropriate lisp file to get that functionality back, but so far I was to lazy to investigate. Regards, Stefan **= Email 3 ==========================** Date: Sat, 01 May 2004 10:58:31 +0200 From: Andreas Buening Subject: Re: DLL for GNU text utils John Poltorak wrote: > > On Wed, Apr 28, 2004 at 08:34:38PM +0200, Andreas Buening wrote: > > AC_LIBTOOL_WIN32_DLL > > AC_PROG_LIBTOOL > > > > in exactly that order. > > Which version of Autoconf accepts these macros? None. You asked for libtool. > I'm building the GNU Textutils with v2.50 > > > And, whatever you're going to do, > > it will never be incorporated into the main source. libtu > > is just for internal use to make the build easier. > > This is only for my use in an attempt to replicate what we have had on > OS/2 for many years with gnutu.dll. KUW did this with a hand-written Makefile. If you want to have an automagically built dll you need libtool. And, IMHO, it isn't worth the effort as long as the potential gnutu.dll code isn't too large. Bye, Andreas **= Email 4 ==========================** Date: Sat, 01 May 2004 18:50:02 +0900 From: Masaru Nomiya Subject: Re: EMACS Hello, Sorry for late response. In the Message; Subject : EMACS Message-ID : <20040429201048.A85 at warpix.org> Date & Time: Thu, 29 Apr 2004 20:10:48 +0100 [John] == John Poltorak has written: John> What I'd like to know is how do I bring the app up as a PM app. It comes John> up as a text mode app when I run 'emacs -nw'. At ../emacs-20.7/src, execute make emacspm.exe Then, you may get PM version of Emacs. --- Masaru Nomiya mail-to: nomiya at ttmy.ne.jp "Bill! You married with Computers. Not with Me!" "No..., with money." **= Email 5 ==========================** Date: Sat, 01 May 2004 18:50:02 +0900 From: Masaru Nomiya Subject: Re: EMACS Hello, Sorry for late response. In the Message; Subject : EMACS Message-ID : <20040429201048.A85 at warpix.org> Date & Time: Thu, 29 Apr 2004 20:10:48 +0100 [John] == John Poltorak has written: John> What I'd like to know is how do I bring the app up as a PM app. It comes John> up as a text mode app when I run 'emacs -nw'. At ../emacs-20.7/src, execute make emacspm.exe Then, you may get PM version of Emacs. --- Masaru Nomiya mail-to: nomiya at ttmy.ne.jp "Bill! You married with Computers. Not with Me!" "No..., with money." **= Email 6 ==========================** Date: Sat, 01 May 2004 19:23:48 +0900 From: Masaru Nomiya Subject: Re: EMACS Hello, In the Message; Subject : Re: EMACS Message-ID : <20040429213814.B85 at warpix.org> Date & Time: Thu, 29 Apr 2004 21:38:14 +0100 [John] == John Poltorak has written: John> Any idea on how I can use a different font? John> I have a large courier font and would prefer a small System Vio font if I John> can have one - You must make 2 files in your HOME directory,ie. .XDefaults and FONTSET.OS2. In your case, is .XDefaults like this? --------------------------------------------------------------------- *verticalScrollBars: right Emacs.Font: fontset-ETL16 *Fontset-0: -*-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-ETL16, \ ascii:-os2-ETL Latin1-medium-r-normal-*-16-*-iso8859-1, \ *Fontset-1: -*-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-MIN16, \ ascii:-os2-MIN-medium-r-normal-*-16-*-*-*-*-*-iso8859-1, \ --------------------------------------------------------------------- Maybe, your OS/2 doe sn't contain MIN16.... But, don't forget to insert 1st line! John> I like to get as much on the screen as possible. You can this with FONTSET.OS2. Mine is as follows; ------------------------------------------------------------------- -Misc-Fixed-Medium-R-Normal--16-120-100-100-M-80-BITMAP.8x16-0 g:/usr/local/fonts/bitmap16.mfn -Misc-Fixed-Medium-R-Normal--18-130-100-100-M-100-BITMAP.8x16-0 g:/usr/local/fonts/bitmap18.mfn -Misc-Fixed-Medium-R-Normal--16-150-75-75-C-160-JISX0212.1990-0 g:/usr/local/fonts/jksp16.mfn -ETL-fixed-medium-r-normal--16-160-72-72-C-80-ISO8859-5 g:/usr/local/fonts/cyr16.etl.mfn -Daewoo-Mincho-Medium-R-Normal--16-120-100-100-C-160-KSC5601.1987-0 g:/usr/local/fonts/hanglm16.mfn -ETL-Fixed-Medium-R-Normal--16-160-72-72-C-80-MuleIPA-1 g:/usr/local/fonts/ipa16-etl.mfn -ETen-Fixed-Medium-R-Normal--16-150-75-75-C-160-Big5.ETen-0 g:/usr/local/fonts/taipei16.mfn -GuoBiao-Song-Medium-R-Normal--16-160-72-72-c-160-GB2312.80&GB8565.88-0 g:/usr/local/fonts/guob16.mfn -ETL-Fixed-Medium-R-Normal--16-160-72-72-C-80-ISO8859-8 g:/usr/local/fonts/heb16-etl.mfn -ETL-Fixed-Medium-R-Normal--16-160-72-72-C-80-MuleArabic-0 g:/usr/local/fonts/arab16-0-etl.mfn -ETL-Fixed-Medium-R-Normal--16-160-72-72-C-80-MuleArabic-1 g:/usr/local/fonts/arab16-1-etl.mfn -ETL-Fixed-Medium-R-Normal--16-160-72-72-C-160-MuleArabic-2 g:/usr/local/fonts/arab16-2-etl.mfn -misc-fixed-medium-r-normal--16-160-72-72-m-80-MuleLao-1 g:/usr/local/fonts/lao16-mule.mfn -TibMdXA-fixed-medium-r-normal--16-160-72-72-m-160-MuleTibetan-0 g:/usr/local/fonts/tib16-mule.mfn -ETL-Fixed-Medium-R-Normal--16-160-72-72-C-80-VISCII1.1-1 g:/usr/local/fonts/visc16-etl.mfn -misc-fixed-medium-r-normal--16-160-72-72-m-80-tis620.2529-1 g:/usr/local/fonts/thai16.mfn -ETL-Fixed-Medium-R-Normal--16-160-72-72-C-80-ISO8859-7 g:/usr/local/fonts/grk16-etl.mfn -Admas-Ethiomx16f-Medium-R-Normal--16-150-100-100-M-160-Ethiopic-Unicode g:/usr/local/fonts/ethio16.mfn -ETL-Fixed-Medium-R-Normal--16-160-72-72-C-80-ISO8859-2 g:/usr/local/fonts/lt2-16-etl.mfn -Misc-Fixed-Medium-R-Normal--16-160-72-72-C-80-MuleIndian-1 g:/usr/local/fonts/ind1c16-mule.mfn -gnu-unifont-medium-r-normal--16-160-75-75-c-80-iso10646-1 g:/usr/local/fonts/unifont.mfn -Misc-Fixed-Medium-R-Normal--16-150-75-75-C-160-JISX0213.2000-1 g:/usr/local/fonts/jiskan16-2000-1.mfn -Misc-Fixed-Medium-R-Normal--16-150-75-75-C-160-JISX0213.2000-2 g:/usr/local/fonts/jiskan16-2000-2.mfn ---------------------------------------------------------------------------- As you might know, you must use MFN fonts, not BDF fonts. You can get MFN fonts by bdf2mfn.exe, which was built with emacs.exe. See ../emacs-20.7/lib-src, you will find bdf2mfn.exe. And, bdf2mnf.exe creates FONTSET.OS2 when you convert BDF Font to MFN font. HTHY, --- Masaru Nomiya mail-to: nomiya at ttmy.ne.jp "No Windows, no gains!" ..... "Why, I am wrong?" -- Bill -- **= Email 7 ==========================** Date: Sat, 1 May 2004 12:45:47 +0100 From: John Poltorak Subject: Re: DLL for GNU text utils On Sat, May 01, 2004 at 10:58:31AM +0200, Andreas Buening wrote: > John Poltorak wrote: > > > > On Wed, Apr 28, 2004 at 08:34:38PM +0200, Andreas Buening wrote: > > > > AC_LIBTOOL_WIN32_DLL > > > AC_PROG_LIBTOOL > > > > > > in exactly that order. > > > > Which version of Autoconf accepts these macros? > > None. You asked for libtool. I'm confused. Do those two macros go in configure.in? I thought autoconf processed configure.in so surely autoconf would need to recognise those as valid macros, or does libtool use those macros from configure.in when running libtoolize? > > I'm building the GNU Textutils with v2.50 > > > > > And, whatever you're going to do, > > > it will never be incorporated into the main source. libtu > > > is just for internal use to make the build easier. > > > > This is only for my use in an attempt to replicate what we have had on > > OS/2 for many years with gnutu.dll. > > KUW did this with a hand-written Makefile. If you want to have an > automagically built dll you need libtool. And, IMHO, it isn't worth > the effort as long as the potential gnutu.dll code isn't too large. I'm trying to use this as an example of how to use libtool since my understanding of it is very hazy. > Bye, > Andreas -- John **= Email 8 ==========================** Date: Sat, 01 May 2004 14:34:58 +0200 From: Andreas Buening Subject: Re: Autoconf 2.59 problem John Poltorak wrote: > > There seems to be a problem with the OS/2 version of Autoconf which is not > present in the original distribution... > > This is the error I get when running configure on bc v1.06:- [snip] > ./configure[5435]: syntax error: `if' unmatched Should work now: http://unix.os2site.com/sw/pub/source/autoconf/autoconf-2_59-r2.zip Bye, Andreas **= Email 9 ==========================** Date: Sat, 01 May 2004 14:34:48 +0200 From: Andreas Buening Subject: Re: DLL for GNU text utils John Poltorak wrote: > > On Sat, May 01, 2004 at 10:58:31AM +0200, Andreas Buening wrote: > > John Poltorak wrote: > > > > > > On Wed, Apr 28, 2004 at 08:34:38PM +0200, Andreas Buening wrote: > > > > > > AC_LIBTOOL_WIN32_DLL > > > > AC_PROG_LIBTOOL > > > > > > > > in exactly that order. > > > > > > Which version of Autoconf accepts these macros? > > > > None. You asked for libtool. > > I'm confused. Do those two macros go in configure.in? I thought autoconf > processed configure.in so surely autoconf would need to recognise those as > valid macros, or does libtool use those macros from configure.in when > running libtoolize? To maximize your confusion: libtool IS those two macros. ;-))) Effectively, libtool is a set of files (libtool.m4 and ltmain.sh (?)). These files have to be in your source directory (libtoolize should do this job), then you tell autoconf to use libtool by adding those two lines to configure.in. Finally, autoconf/configure starts libtool to do strange things. > I'm trying to use this as an example of how to use libtool since my > understanding of it is very hazy. It's not your understanding. The _use_ of libtool is very hazy. ;-) Bye, Andreas