Thread View: news.software.readers
23 messages
23 total messages
Started by Lars Stokholm
Sat, 08 May 2004 18:26
[slrn] Compile - using Cygwin - for Windows
Author: Lars Stokholm
Date: Sat, 08 May 2004 18:26
Date: Sat, 08 May 2004 18:26
8 lines
1341 bytes
1341 bytes
I'm fairly new to all this compiling-stuff, but I would like to try to compile slrn for Windows. I thought the easiest way to do this would be using Cygwin. Is there a better or easier way? I managed to compile, strip and run it, but it only runs from within Cygwin. How do I compile it, so it will be completely independent of Cygwin, and run on any given Windows PC? Is there an argument I should give to 'configure' or something like that?
Re: [slrn] Compile - using Cygwin - for Windows
Author: Alejandro López-Valencia
Date: Sat, 08 May 2004 19:32
Date: Sat, 08 May 2004 19:32
43 lines
3207 bytes
3207 bytes
On 2004-05-08, Lars Stokholm wrote in
<slrnc9q9i1.1jo.lars@stokholm.dyndns.dk>:
> I'm fairly new to all this compiling-stuff, but I would like to
> try to compile slrn for Windows. I thought the easiest way to do
> this would be using Cygwin. Is there a better or easier way?
>
> I managed to compile, strip and run it, but it only runs from
> within Cygwin. How do I compile it, so it will be completely
> independent of Cygwin, and run on any given Windows PC? Is there
> an argument I should give to 'configure' or something like that?
First, let's set some term meanings straight. :-)
Cygwin is a POSIX/SUSv3 API runtime library that allows running under the
Win32 API, software written for the POSIX/SUSv3 runtime. If you want to
a native Win32 slrn binary, the rules of the game change, a lot. By
runnin slrn under cygwin, you have access to all the Unixy tools you may
have installed under that enviroment as well.
If you want to compile a win32 version of slrn on your own, you need to
use a Win32 compiler. The freely available ones I can recall from the
top of my head are Mingw gcc, Borland's 5.5.1 CLI tools, RSXNT,
OpenWatcom and Microsoft's Visual C++ 2003 CLI compiler (a.k.a VC 7.1).
(DJGPP is *not* a native win32 compiler).
In summary, compile first the s-lang library as a native win32 binary, then
compile your win32-native slrn linking to the former. Use the mkmake
facility to generate makefiles.
BTW, Cygwin compiler toolchain includes Win32 native versions of
GCC, as a matter of fact they are the same as Mingw GCC but better
integrated into the environment. If you installed them (you might), you
invoke the native versions by giving the '-mno-cygwin' to the compiler
frontends. Else, you can integrate the Mingw tools from their website
pretty easily into Cygwin or as cross-compilers in an Unix(y) i86 based
OS...
--
Alejandro López-Valencia
qenqhy ng rgo qbg arg qbg pb
http://dradul.tripod.com/
The limits of my language are the limits of my world.
(L. Wittgenstein)
Re: [slrn] Compile - using Cygwin - for Windows
Author: Lars Stokholm
Date: Sat, 08 May 2004 20:00
Date: Sat, 08 May 2004 20:00
24 lines
1926 bytes
1926 bytes
* Alejandro L¢pez-Valencia wrote: > First, let's set some term meanings straight. :-) He-he, thanks. :) And I thought it would just be a compiler option. > If you want to compile a win32 version of slrn on your own, you > need to use a Win32 compiler. [...] Microsoft's Visual C++ 2003 > CLI compiler (a.k.a VC 7.1). Should I just download the 'toolkit'? http://msdn.microsoft.com/visualc/vctoolkit2003/ > In summary, compile first the s-lang library as a native win32 > binary, then compile your win32-native slrn linking to the former. I'm sure I won't even know where to start. :) I guess I just have to ask - there's no secret guide hidden somewhere, right? > Use the mkmake facility to generate makefiles. Will I need a makefile if I use the Visual C++ compiler? And what would I need that for? Thanks a lot for your help so far.
Re: [slrn] Compile - using Cygwin - for Windows
Author: Lars Stokholm
Date: Sat, 08 May 2004 20:17
Date: Sat, 08 May 2004 20:17
12 lines
1414 bytes
1414 bytes
* Lars Stokholm wrote: > I'm sure I won't even know where to start. :) I found out how to make a makefile, so I did this (woohoo!): mkmake WIN32 VC < makefile.all > Makefile What should I do with 'Makefile' now? When and how should I link slang to slrn? It might be very simple questions, but I'm really new to all this, so I hope you'll bear with me. :)
Re: [slrn] Compile - using Cygwin - for Windows
Author: Frank Slootweg
Date: Sat, 08 May 2004 21:06
Date: Sat, 08 May 2004 21:06
42 lines
3429 bytes
3429 bytes
Alejandro López-Valencia <me@privacy.net> wrote: > On 2004-05-08, Lars Stokholm wrote in > <slrnc9q9i1.1jo.lars@stokholm.dyndns.dk>: >> I'm fairly new to all this compiling-stuff, but I would like to >> try to compile slrn for Windows. I thought the easiest way to do >> this would be using Cygwin. Is there a better or easier way? >> >> I managed to compile, strip and run it, but it only runs from >> within Cygwin. How do I compile it, so it will be completely >> independent of Cygwin, and run on any given Windows PC? Is there >> an argument I should give to 'configure' or something like that? > > First, let's set some term meanings straight. :-) > > Cygwin is a POSIX/SUSv3 API runtime library that allows running under the > Win32 API, software written for the POSIX/SUSv3 runtime. If you want to > a native Win32 slrn binary, the rules of the game change, a lot. By > runnin slrn under cygwin, you have access to all the Unixy tools you may > have installed under that enviroment as well. > > If you want to compile a win32 version of slrn on your own, you need to > use a Win32 compiler. The freely available ones I can recall from the > top of my head are Mingw gcc, Borland's 5.5.1 CLI tools, RSXNT, > OpenWatcom and Microsoft's Visual C++ 2003 CLI compiler (a.k.a VC 7.1). > (DJGPP is *not* a native win32 compiler). Hi Alejandro, nice to 'meet' you again in a different place! :-) Of course you are right, but Cygwin is really just one DLL and the (slrn) executable will probably need a few other Cygwin related DLLs and probably a terminfo entry, but that is probably about it. So if the OP is willing to accept a small set of files instead just a single exectable, it is probably doable with Cygwin. I do a similar thing for tin. Finding out *which* files are needed is a little work, but if you start with just the executable and run that, it will probably give you error messages which point you to the missing files. I.e. run slrn, get error message, determine missing file, add missing file, run slrn again, get new/different error message, determine second missing file, add second missing file, run slrn again, ... etc. until you no longer get any error messages. [deleted]
Re: [slrn] Compile - using Cygwin - for Windows
Author: Lars Stokholm
Date: Sat, 08 May 2004 21:15
Date: Sat, 08 May 2004 21:15
4 lines
1160 bytes
1160 bytes
* Lars Stokholm wrote: > What should I do with 'Makefile' now? Never mind, I downloaded MinGW which had a mingw32-make.exe.
Re: [slrn] Compile - using Cygwin - for Windows
Author: Alejandro López-Valencia
Date: Sat, 08 May 2004 23:31
Date: Sat, 08 May 2004 23:31
41 lines
2996 bytes
2996 bytes
On 2004-05-08, Frank Slootweg wrote in
<409d4be2$0$72189$abc4f4c3@news.wanadoo.nl>:
> Alejandro López-Valencia <me@privacy.net> wrote:
>> On 2004-05-08, Lars Stokholm wrote in
>> <slrnc9q9i1.1jo.lars@stokholm.dyndns.dk>:
>>> I'm fairly new to all this compiling-stuff, but I would like to
>>
>> First, let's set some term meanings straight. :-)
>
> Hi Alejandro, nice to 'meet' you again in a different place! :-)
[snip]
Hi Frank! Same to you. There's a lot less noise around these parts. And
I don't have to wield the sword Gimli lends me from time to time, you
know the one that has the inscription "Orc slayer". ;-)
>
> Of course you are right, but Cygwin is really just one DLL and the
> (slrn) executable will probably need a few other Cygwin related DLLs and
> probably a terminfo entry, but that is probably about it. So if the OP
> is willing to accept a small set of files instead just a single
> exectable, it is probably doable with Cygwin. I do a similar thing for
> tin. Finding out *which* files are needed is a little work, but if you
[snap]
And then you hit me on the face with the obvious. Yes, a vanilla slrn
only depends on the Cygwin DLL. Bus compiling a Win32 binary is even
easier after you manage to compile a native s-lang library. See my other
post. :-)
I rather use Cygwin for mine because I'm using Jurriaan's patches and
those add a dependency to gdbm to manage persistent scoring. I still
haven't found a win32 native gdbm port that links cleanly (suggestions
gracefully accepted).
--
Alejandro López-Valencia
qenqhy ng rgo qbg arg qbg pb
http://dradul.tripod.com/
The limits of my language are the limits of my world.
(L. Wittgenstein)
Re: [slrn] Compile - using Cygwin - for Windows
Author: Alejandro López-Valencia
Date: Sat, 08 May 2004 23:31
Date: Sat, 08 May 2004 23:31
25 lines
2128 bytes
2128 bytes
On 2004-05-08, Lars Stokholm wrote in <slrnc9qg3g.1ao.lars@stokholm.dyndns.dk>:
> * Lars Stokholm wrote:
>> I'm sure I won't even know where to start. :)
>
> I found out how to make a makefile, so I did this (woohoo!):
>
> mkmake WIN32 VC < makefile.all > Makefile
>
> What should I do with 'Makefile' now?
>
> When and how should I link slang to slrn? It might be very simple
> questions, but I'm really new to all this, so I hope you'll bear
> with me. :)
No problem. :-) I am afraid, as you mention in your next post, that the
VC++ Toolkit is incomplete. To get all the tools (nmake, the linker, the
libraries, the works) you need to download the PSDK (80 MB at a minimum
:-(.)
--
Alejandro López-Valencia
qenqhy ng rgo qbg arg qbg pb
http://dradul.tripod.com/
The limits of my language are the limits of my world.
(L. Wittgenstein)
Re: [slrn] Compile - using Cygwin - for Windows
Author: Alejandro López-Valencia
Date: Sat, 08 May 2004 23:31
Date: Sat, 08 May 2004 23:31
43 lines
2722 bytes
2722 bytes
On 2004-05-08, Lars Stokholm wrote in <slrnc9qjfk.tk.lars@stokholm.dyndns.dk>:
> * Lars Stokholm wrote:
>> What should I do with 'Makefile' now?
>
> Never mind, I downloaded MinGW which had a mingw32-make.exe.
Don't forget to download the binutils and the w32api runtime. Probably
you will be more comfortable using the MSYS environment (which is a very
watered down runtime to be able to use the GNU tools with bash, and BTW,
the rxvt emulation does a very nice console for slrn :-).
This is how I compile a Win32 native slrn with Cygwin:
1. Unpack the s-lang tarball and the slrn tarball in the same parent
directory.
2. Go to the src/mkfiles binutils in the s-lang tree, type
./mkmake WIN32 CYG32 < makefile.all > ../Makefile
3. Move to the parent directory and edit Makefile:
a. Add -mno-cygwin flag to the CC line.
b. Remove -fno-strength-reduce from the CFLAGS.
4. Save and make.
5. Change directory to src in the slrn tree.
6. Edit Makefile.g32
a. Add -mno-cygwin to the CC line.
b. Edit SDIR and SLIBDIR to point the correct directories
in the s-lang tree.
7. Save and type "make -f Makefile.g32 all"
8. Copy slrn.exe, slrnpull.exe and uudecode.exe whereever you want it.
--
Alejandro López-Valencia
qenqhy ng rgo qbg arg qbg pb
http://dradul.tripod.com/
The limits of my language are the limits of my world.
(L. Wittgenstein)
Re: [slrn] Compile - using Cygwin - for Windows
Author: Alejandro López-Valencia
Date: Sat, 08 May 2004 23:40
Date: Sat, 08 May 2004 23:40
31 lines
2439 bytes
2439 bytes
On 2004-05-08, Alejandro López-Valencia wrote in <2g58udF4j94lU3@uni-berlin.de>:
> On 2004-05-08, Lars Stokholm wrote in <slrnc9qjfk.tk.lars@stokholm.dyndns.dk>:
>> * Lars Stokholm wrote:
Hmm... Somehow my spell checker or my editor have managed to undo some
changes to my text!
> Don't forget to download the binutils and the w32api runtime. Probably
> you will be more comfortable using the MSYS environment (which is a very
> watered down runtime to be able to use the GNU tools with bash, and BTW,
^
Cygwin
> 2. Go to the src/mkfiles binutils in the s-lang tree, type
>
> ./mkmake WIN32 CYG32 < makefile.all > ../Makefile
^
CYGWIN32
> 8. Copy slrn.exe, slrnpull.exe and uudecode.exe whereever you want it.
^
wherever
That should be clearer, I hope.
--
Alejandro López-Valencia
qenqhy ng rgo qbg arg qbg pb
http://dradul.tripod.com/
The limits of my language are the limits of my world.
(L. Wittgenstein)
Re: [slrn] Compile - using Cygwin - for Windows
Author: Lars Stokholm
Date: Sun, 09 May 2004 09:19
Date: Sun, 09 May 2004 09:19
5 lines
1484 bytes
1484 bytes
* Alejandro Lopez-Valencia wrote: > Don't forget to download the binutils and the w32api runtime. I did "forget" at first. ;) I have downloaded them now, but I have no idea what to do with them. What do they do (or allow me to do)?
Re: [slrn] Compile - using Cygwin - for Windows
Author: Alejandro López-Valencia
Date: Sun, 09 May 2004 11:49
Date: Sun, 09 May 2004 11:49
37 lines
2684 bytes
2684 bytes
On 2004-05-09, Lars Stokholm wrote in <2004.04.09.09.19.31_n.s.r@stokholm.dyndns.dk>:
> * Alejandro Lopez-Valencia wrote:
>> Don't forget to download the binutils and the w32api runtime.
>
> I did "forget" at first. ;) I have downloaded them now, but I have
> no idea what to do with them. What do they do (or allow me to do)?
I feel your pain :-)
Lars, you need the binutils to have access to the linker and other
ancillary compiler utilities (such as the ones that allows you to create
DLL files). And the w32api is the equivalent of MS's PSDK (but a lot
smaller).
Assuming you still have Cygwin installed, what I do is this:
1. Download Mingw GCC, mingw runtime, binutils and w32api libraries.
2. Say Cygwin is installed in c:\cygwin. Unpack the files in c:\mingw
without perturbing the tree structure.
3. create a new directory called c:\cygwin\mingw.
4. From a Cygwin shell type 'mount "c:\mingw" /mingw'
5. When you want to use the mingw compilers, type
'export PATH=/mingw/bin:$PATH'
if you are using bash (the default shell).
--
Alejandro López-Valencia
qenqhy ng rgo qbg arg qbg pb
http://dradul.tripod.com/
The limits of my language are the limits of my world.
(L. Wittgenstein)
Re: [slrn] Compile - using Cygwin - for Windows
Author: Lars Stokholm
Date: Sun, 09 May 2004 13:24
Date: Sun, 09 May 2004 13:24
25 lines
2332 bytes
2332 bytes
* Alejandro López-Valencia wrote: > I feel your pain :-) Thanks, and I appreciate your patience. :) I feel I should be taking all my questions to other groups though. > Lars, you need the binutils to have access to the linker and other > ancillary compiler utilities (such as the ones that allows you to > create DLL files). And the w32api is the equivalent of MS's PSDK > (but a lot smaller). I just downloaded and installed 'MinGW-3.1.0-1.exe' (14863 kB) - there's a linker included in that (ld.exe), right? I just added the \bin-folder to my PATH, so I have access to everything from the command line. > Assuming you still have Cygwin installed, what I do is this: I like not having to depend on that, and MinGW seems to work perfectly. I've managed to compile both slrn and aspell. :o) BTW, it was aspell that messed up your name before, so I had to disable it. I wonder if there's a solution to that problem, or maybe another spell checker available, that will be called from the commandline, and not mess up those special characters.
Re: [slrn] Compile - using Cygwin - for Windows
Author: Alejandro López-Valencia
Date: Sun, 09 May 2004 15:32
Date: Sun, 09 May 2004 15:32
48 lines
3364 bytes
3364 bytes
On 2004-05-09, Lars Stokholm wrote in <2004.04.09.13.24.35$n.s.r@stokholm.dyndns.dk>:
> * Alejandro López-Valencia wrote:
>> I feel your pain :-)
>
> Thanks, and I appreciate your patience. :)
I never forget what is it to be chided because you don't know. Perhaps
it is that I am old enough already to have seen the good, the bad and
the ugly. :-)
> I feel I should be
> taking all my questions to other groups though.
>
Me too, but there are few places in usenet where you can have a
conversation these days (and this is somehow on topic: how to compile
slrn in Windows :-). I hope the readership bear with us.
> I just downloaded and installed 'MinGW-3.1.0-1.exe' (14863 kB) -
> there's a linker included in that (ld.exe), right? I just added
> the \bin-folder to my PATH, so I have access to everything from
> the command line.
Good choice. You can use MSYS if you ever need a Unixy filesystem
structure for your application.
>
> I like not having to depend on that, and MinGW seems to work
> perfectly. I've managed to compile both slrn and aspell. :o)
There are things you still can do only if using Cygwin. For example,
running a local Leafnode server; need an NTFS filesystem as well).
> BTW, it was aspell that messed up your name before, so I had to
> disable it. I wonder if there's a solution to that problem, or
> maybe another spell checker available, that will be called from
> the commandline, and not mess up those special characters.
Strange, I use aspell myself, but I'm using a little script (vimspell)
that sets all the correct flags behind the scenes and does real-time
spell-checking on the editing buffer (that is, I cheat :-).
--
Alejandro López-Valencia
qenqhy ng rgo qbg arg qbg pb
http://dradul.tripod.com/
The limits of my language are the limits of my world.
(L. Wittgenstein)
Re: [slrn] Compile - using Cygwin - for Windows
Author: Lars Stokholm
Date: Sun, 09 May 2004 16:28
Date: Sun, 09 May 2004 16:28
20 lines
2347 bytes
2347 bytes
* Alejandro López-Valencia wrote: > Strange, I use aspell myself, but I'm using a little script > (vimspell) that sets all the correct flags behind the scenes > and does real-time spell-checking on the editing buffer (that > is, I cheat :-). Yes, it is strange. I don't know a lot about all these charsets (in fact very little). When I create a text-file with Notepad and run it through aspell, special characters are messed up - and naturally they're not any less messed up when the edited file is finally saved. If I - on the other hand - with 'edit' (in a DOS environment) create a file with special characters, aspell sees them correctly, but when the spell checking is over and the file is saved, special characters die. With slrn, aspell acts like with Notepad, because of this line: 'set editor_uses_mime_charset 1' (I guess) in slrnrc. I've looked through the command line arguments to apell, but I can't find anything that might help me.
Re: [slrn] Compile - using Cygwin - for Windows
Author: Kurt
Date: Sun, 09 May 2004 17:17
Date: Sun, 09 May 2004 17:17
30 lines
2454 bytes
2454 bytes
Alejandro López-Valencia wrote in news:2g717nF50tq1U1@uni-berlin.de: > On 2004-05-09, Lars Stokholm wrote in > <2004.04.09.13.24.35$n.s.r@stokholm.dyndns.dk>: >> * Alejandro López-Valencia wrote: >>> I feel your pain :-) >> >> Thanks, and I appreciate your patience. :) > > I never forget what is it to be chided because you don't know. > Perhaps it is that I am old enough already to have seen the good, > the bad and the ugly. :-) > >> I feel I should be >> taking all my questions to other groups though. >> > > Me too, but there are few places in usenet where you can have a > conversation these days (and this is somehow on topic: how to > compile slrn in Windows :-). I hope the readership bear with us. > I, for one, have found the thread or conversation to be enlightening. In fact, I've managed to learn from it just by lurking. A pleasant discourse is always a good thing no matter the venue. -- Cheers, Kurt
Re: [slrn] Compile - using Cygwin - for Windows
Author: Alejandro López-Valencia
Date: Sun, 09 May 2004 17:19
Date: Sun, 09 May 2004 17:19
46 lines
3730 bytes
3730 bytes
On 2004-05-09, Lars Stokholm wrote in <2004.04.09.16.28.51$n.s.r@stokholm.dyndns.dk>:
> * Alejandro López-Valencia wrote:
>> Strange, I use aspell myself, but I'm using a little script
>> (vimspell) that sets all the correct flags behind the scenes
>> and does real-time spell-checking on the editing buffer (that
>> is, I cheat :-).
>
> Yes, it is strange. I don't know a lot about all these charsets
> (in fact very little). When I create a text-file with Notepad and
> run it through aspell, special characters are messed up - and
> naturally they're not any less messed up when the edited file is
> finally saved. If I - on the other hand - with 'edit' (in a DOS
> environment) create a file with special characters, aspell sees
> them correctly, but when the spell checking is over and the file
> is saved, special characters die.
Ahh! Of course! DOS and Windows use different character sets. When you
type chcp in a system console you'll notice it says 'cp850' (using a
Western Europe language and assuming you are using a recent Windows NT
system :-), this is different to the character set used by Windows
itself, that's cp1252. There are enough differences among the two
charsets to have data corruption in the high ASCII range. Now, if you
use a different console program (say the rxvt that comes with MSYS),
you'll have better luck.
> With slrn, aspell acts like with Notepad, because of this line:
> 'set editor_uses_mime_charset 1' (I guess) in slrnrc.
Yes, because slrn overrides the console and cooks I/O using the Win32
API. Although it is a CLI application, it is a true Windows application.
Unfortunately, aspell doesn't do that.
> I've looked through the command line arguments to apell, but I
> can't find anything that might help me.
I've been playing aspell by ear but I know the manual is somewhere in
my Cygwin directories. Let's see... Hmm... You want to read chapter 7 in
the manual. cp1252 works because it is an extended version of the
ISO-8859-1 charset.
--
Alejandro López-Valencia
qenqhy ng rgo qbg arg qbg pb
http://dradul.tripod.com/
The limits of my language are the limits of my world.
(L. Wittgenstein)
Re: [slrn] Compile - using Cygwin - for Windows
Author: Lars Stokholm
Date: Sun, 09 May 2004 20:53
Date: Sun, 09 May 2004 20:53
28 lines
2644 bytes
2644 bytes
* Alejandro López-Valencia wrote: > Ahh! Of course! DOS and Windows use different character sets. > When you type chcp in a system console you'll notice it says > 'cp850' (using a Western Europe language and assuming you are > using a recent Windows NT system :-), this is different to the > character set used by Windows itself, that's cp1252. Which charater set does aspell use, since it doesn't work, even if I create and save the file with 'edit'? Shouldn't that all be 'cp850' (both edit and aspell)? If so, what's the problem? As I noted, aspell shows the text correctly, but messes it up when it's saved. > There are enough differences among the two charsets to have > data corruption in the high ASCII range. I just love all this character set stuff - love it! ;) > Now, if you use a different console program (say the rxvt that > comes with MSYS), you'll have better luck. Mm-yeah, I don't know, I kinda like just executing 'slrn.exe', and then I'm ready to rock. :) > You want to read chapter 7 in the manual. Doesn't that tell me how to create a completely new language? Is that really what I want?
Re: [slrn] Compile - using Cygwin - for Windows
Author: Alejandro López-Valencia
Date: Mon, 10 May 2004 01:32
Date: Mon, 10 May 2004 01:32
62 lines
4165 bytes
4165 bytes
On 2004-05-09, Lars Stokholm wrote in <2004.04.09.20.53.33$n.s.r@stokholm.dyndns.dk>: > * Alejandro López-Valencia wrote: >> Ahh! Of course! DOS and Windows use different character sets. >> When you type chcp in a system console you'll notice it says >> 'cp850' (using a Western Europe language and assuming you are >> using a recent Windows NT system :-), this is different to the >> character set used by Windows itself, that's cp1252. > > Which charater set does aspell use, since it doesn't work, even > if I create and save the file with 'edit'? Shouldn't that all > be 'cp850' (both edit and aspell)? If so, what's the problem? > As I noted, aspell shows the text correctly, but messes it up > when it's saved. aspell uses ISO-8859-1 by default. That's the source of your troubles. > >> There are enough differences among the two charsets to have >> data corruption in the high ASCII range. > > I just love all this character set stuff - love it! ;) Tell me about it. Here are a couple of websites so you can have a heart attack ;-) #v+ http://www.kostis.net/charsets/ http://www.i18nguy.com/unicode/codepages.html #v- > >> Now, if you use a different console program (say the rxvt that >> comes with MSYS), you'll have better luck. > > Mm-yeah, I don't know, I kinda like just executing 'slrn.exe', > and then I'm ready to rock. :) > >> You want to read chapter 7 in the manual. > > Doesn't that tell me how to create a completely new language? > Is that really what I want? Yes and no. I just had a quick look and thought it woud be explained better further on, but it seems I was wrong. In the first section it says that aspell only works with ISO-8859-x, KOI-x and VISCII charsets. Thus, cp850 won't work :-(. You could get away if using an editor that is not DOS based, but rather a Win32 console application. In that case it would use cp1252 by default. I suggest using a Win32 console editor instead of edit. I know for sure that the win32 console version of vim will write files in cp1252/ISO-8859-1 encoding. But as vim is an acquired taste and emacs not only is big but has a tendency to misbehave with anything different to ASCII (MULE and LEIM are far from perfect), I'd suggest you try out something like nano (http://www.nano.org/) or JED (http://www.jedsoft.com or http://www.s-lang.org/). -- Alejandro López-Valencia qenqhy ng rgo qbg arg qbg pb http://dradul.tripod.com/ u'\u864e\u306e\u795e\u6bbf\r\n'
Re: [slrn] Compile - using Cygwin - for Windows
Author: Lars Stokholm
Date: Mon, 10 May 2004 18:51
Date: Mon, 10 May 2004 18:51
32 lines
2707 bytes
2707 bytes
* Alejandro López-Valencia wrote: > aspell uses ISO-8859-1 by default. Ahh, OK. > Tell me about it. Here are a couple of websites so you can have a > heart attack ;-) Thank you (I guess). ;) > You could get away if using an editor that is not DOS based, but > rather a Win32 console application. I am actually using Metapad at the moment (a very simple editor, similar to Notepad). But I do have it set to save to a 'DOS' format. The alternative is Unicode, which seriously messes everything up. :) But I like using a "real" Windows-editor, and not those semi-edit- like editors, like JED for example. > I'd suggest you try out something like nano (http://www.nano.org/) I think you mean <http://www.nano-editor.org/>. None of the Windows-links are working, unfortunately. > or JED (http://www.jedsoft.com or http://www.s-lang.org/). With JED aspell doesn't display the special characters correctly, but it seems to save to the right format though. I guess I *could* live with that, but... you know, it would be difficult for me to use aspell for my native language (Danish), since it has a few 'special characters' that are commonly used.
Re: [slrn] Compile - using Cygwin - for Windows
Author: Alejandro López-Valencia
Date: Mon, 10 May 2004 23:38
Date: Mon, 10 May 2004 23:38
49 lines
3772 bytes
3772 bytes
On 2004-05-10, Lars Stokholm wrote in <2004.04.10.18.51.09$n.s.r@stokholm.dyndns.dk>:
> * Alejandro López-Valencia wrote:
>
>> You could get away if using an editor that is not DOS based, but
>> rather a Win32 console application.
>
> I am actually using Metapad at the moment (a very simple editor,
> similar to Notepad). But I do have it set to save to a 'DOS' format.
> The alternative is Unicode, which seriously messes everything up. :)
> But I like using a "real" Windows-editor, and not those semi-edit-
> like editors, like JED for example.
Ahh! You can use slrn with any editor you like! I would
suggest you take a trip to <http://pricelessware.org/>, the website of
a.c.freeware, and try out the win32 editors suggested there. I'm sure
you'll find something that fits your needs. I think EditPad Lite is one
of the editors in their list and the one I would recommend (considering
that there is no freeware version of TextPad).
Consider the rest of the message only for the sake of completion. :-)
>
>> I'd suggest you try out something like nano (http://www.nano.org/)
>
> I think you mean <http://www.nano-editor.org/>.
You are right. My memory trips frequently :-).
> None of the Windows-links are working, unfortunately.
Try <http://www.nano-editor.org/dist/v1.2/NT>. There is no 1.2.23
binaries but you can find the older ones there. Yet, after peeking I
realized that you need cygwin to run it! Definitely not for you...
>
>> or JED (http://www.jedsoft.com or http://www.s-lang.org/).
>
> With JED aspell doesn't display the special characters correctly,
> but it seems to save to the right format though. I guess I *could*
> live with that, but... you know, it would be difficult for me to
> use aspell for my native language (Danish), since it has a few
> 'special characters' that are commonly used.
You could use WJED instead. It will display characters correctly.
--
Alejandro López-Valencia
qenqhy ng rgo qbg arg qbg pb http://dradul.tripod.com/
u'\u864e\u306e\u795e\u6bbf'
Re: [slrn] Compile - using Cygwin - for Windows
Author: Lars Stokholm
Date: Mon, 10 May 2004 23:52
Date: Mon, 10 May 2004 23:52
23 lines
2521 bytes
2521 bytes
* Alejandro López-Valencia wrote: > I would suggest you take a trip to <http://pricelessware.org/> Thanks, I'll have a look at it. [nano] > Yet, after peeking I realized that you need cygwin to run it! > Definitely not for you... ;o) >> With JED aspell doesn't display the special characters correctly > You could use WJED instead. It will display characters correctly. That was perhaps a clumsy wording from my side. :) It's aspell that doesn't know how to display the characters, though it does know how to treat them on input and output. I can write an article, save it and close JED - aspell catches it, and some characters seem to be messed up. But after aspell has finished it's job, the document is (magically) saved with the correct charater set. So my only problem occurs *while* checking for misspellings. (BTW, I was using WJED.)
Re: [slrn] Compile - using Cygwin - for Windows
Author: Alejandro López-Valencia
Date: Tue, 11 May 2004 01:49
Date: Tue, 11 May 2004 01:49
28 lines
2876 bytes
2876 bytes
On 2004-05-10, Lars Stokholm wrote in <2004.04.10.23.52.52$n.s.r@stokholm.dyndns.dk>:
> * Alejandro López-Valencia wrote:
>
>>> With JED aspell doesn't display the special characters correctly
>
>> You could use WJED instead. It will display characters correctly.
>
> That was perhaps a clumsy wording from my side. :) It's aspell that
> doesn't know how to display the characters, though it does know how
> to treat them on input and output. I can write an article, save it
> and close JED - aspell catches it, and some characters seem to be
> messed up. But after aspell has finished it's job, the document is
> (magically) saved with the correct charater set. So my only problem
> occurs *while* checking for misspellings. (BTW, I was using WJED.)
Ahh I see! Ahh! Yes, I knew I had seen this somewhere:
<http://jedmodes.sourceforge.net/mode/email/>
<http://jedmodes.sourceforge.net/mode/ispell/>
and a bunch of other macros at:
<http://jedmodes.sourceforge.net/mode/>
--
Alejandro López-Valencia
qenqhy ng rgo qbg arg qbg pb http://dradul.tripod.com/
\u864e\u306e\u795e\u6bbf
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads