Thread View: news.software.readers
6 messages
6 total messages
Started by Earl Grey
Tue, 03 Aug 1999 00:00
Porting SLRN to MacOX S Server
Author: Earl Grey
Date: Tue, 03 Aug 1999 00:00
Date: Tue, 03 Aug 1999 00:00
37 lines
1925 bytes
1925 bytes
Hi. I have finally "successfully"[1] compiled both slang[2] and slrn[3], but am having a few problems... I substituted all instances of "-ltermcap" for '-framework System", removed all references to "-lm" (as it is included in the above), edited out all the references to group "root" (made it "user" instead), and everything compiled and went to the right location. Started it up, and up it came, and displayed three of my four subscribed newsgroups (according to PINE 4.10, which I have been using up until now), and then... nothing. It's sitting there, apperantly waiting for a command, but neither "?" or "q" will convince it to do anything. I went to another window, got the pid and put it out of it's misery, and THEN... all the characters I had typed previousely showed up on the next line. Seems it might be looking in the wrong place for them, or was hung up on some other event? Any way to tell which was which? Sorry, I'm new to the porting game, so I'm temporarily at a loss as to how to proceed. aTdHvAaNnKcSe [1] for suitably loosing values of "success"... [2] not sure, but I THINK it's 1.2.2 [3] v0.9.5.4 -- http://kapu.net/~bofh/
Re: Porting SLRN to MacOX S Server
Author: jwk
Date: Wed, 04 Aug 1999 00:00
Date: Wed, 04 Aug 1999 00:00
27 lines
1668 bytes
1668 bytes
On Tue, 03 Aug 1999 10:16:21 -1000, Earl Grey <bofh@kapu.net> wrote: >Started it up, and up it came, and displayed three of my four >subscribed newsgroups (according to PINE 4.10, which I have been >using up until now), and then... > > nothing. > >It's sitting there, apperantly waiting for a command, but neither >"?" or "q" will convince it to do anything. I went to another >window, got the pid and put it out of it's misery, and THEN... >all the characters I had typed previousely showed up on the next >line. Seems it might be looking in the wrong place for them, or >was hung up on some other event? > > Any way to tell which was which? > I'm no expert of MacOS X, but I'd try to use either gdb or strace, if they exist for MacOS X. Good luck, Jurriaan -- When there is no enemy within, the enemies outside cannot hurt you. African proverb
Re: Porting SLRN to MacOX S Server
Author: Earl Grey
Date: Thu, 05 Aug 1999 00:00
Date: Thu, 05 Aug 1999 00:00
26 lines
1591 bytes
1591 bytes
In <86hfmexmwn.fsf@sidaway.demon.co.uk>, Sherilyn wrote: > Start simple. Your program won't listen to the keyboard, and it uses > slanglib to do that, so check that slanglib is correctly built. Thanx. > There are some demo programs in the slanglib distribution, and if you > haven't successfully run all of these you cannot be sure you have > ported slanglib. Ah... > Ask in Mac development groups for help porting UNIX input-output code to > Macintosh; this has been done many times in the past. Uh... This is MacOS X Server. *MUCH* Closer to BSDI than the MacOS. Check out the "Message-Id:" field in the header to see what I mean. -- "If UNIX is dead, the necromancer who is animating the corpse is doing a d&mn fine job" (Par Leijonhufvud) http://kapu.net/~bofh/
Re: Porting SLRN to MacOX S Server
Author: Sherilyn
Date: Thu, 05 Aug 1999 00:00
Date: Thu, 05 Aug 1999 00:00
69 lines
3726 bytes
3726 bytes
-----BEGIN PGP SIGNED MESSAGE----- >>>>> "Earl" == Earl Grey <bofh@kapu.net> writes: Earl> Hi. Earl> I have finally "successfully"[1] compiled both slang[2] and slrn[3], Earl> but am having a few problems... Earl> I substituted all instances of "-ltermcap" for '-framework System", Earl> removed all references to "-lm" (as it is included in the above), Earl> edited out all the references to group "root" (made it "user" Earl> instead), and everything compiled and went to the right location. Earl> Started it up, and up it came, and displayed three of my four Earl> subscribed newsgroups (according to PINE 4.10, which I have been Earl> using up until now), and then... Earl> nothing. Earl> It's sitting there, apperantly waiting for a command, but neither Earl> "?" or "q" will convince it to do anything. I went to another Earl> window, got the pid and put it out of it's misery, and THEN... Earl> all the characters I had typed previousely showed up on the next Earl> line. Seems it might be looking in the wrong place for them, or Earl> was hung up on some other event? Earl> Any way to tell which was which? Earl> Sorry, I'm new to the porting game, so I'm temporarily at a loss Earl> as to how to proceed. Start simple. Your program won't listen to the keyboard, and it uses slanglib to do that, so check that slanglib is correctly built. Getting it to compile and link only means that the compiler spotted nothing it knew was wrong; the compiled code isn't honor-bound to do amything sensible. There are some demo programs in the slanglib distribution, and if you haven't successfully run all of these you cannot be sure you have ported slanglib. Since you're porting slanglib, you will probably have to do some work on producing a system-specific sl*tty.c There are versions for UNIX (the delightfully named slutty.c), W32, OS2, DOS and VMS to work from. I have no idea which one will be closest to a MAC, but would guess that slutty.c is your best bet. Ask in Mac development groups for help porting UNIX input-output code to Macintosh; this has been done many times in the past. Someone else suggested gdb; that or whatever debugger comes with your compiler can be used to step through code. Another thing you can do is compile some trace code into sl*tty.c; this is a cheap and easy way to find out where your program is hanging. One you have found out _where_, the _why_ may be obvious, or it may require a lot of thought. Rely on peopleparticularly in the Mac groups to help you with code problems. -----BEGIN PGP SIGNATURE----- Version: 2.6.2 Comment: Processed by Mailcrypt 3.5.3, an Emacs/PGP interface iQCVAwUBN6muv9SR8rI01qX9AQG2eAP+N7v+hUx8TVlhqmBR4BFeHevYzzyYSq+D WoR3GFDmwxI78fnzwumEu1+z57DK8pS4wotNZeb64d+hwlwotnUb0NTz7X5eDUgV 0OP6E52w7sXrqRV7J75j9h4bNvr4ZeGnOAbDANdeFygAUFV0XFNIQ2WpL8wVXxn4 k6/qCKbiqw8= =M93o -----END PGP SIGNATURE-----
Re: Porting SLRN to MacOX S Server
Author: Adam Bailey
Date: Thu, 05 Aug 1999 00:00
Date: Thu, 05 Aug 1999 00:00
15 lines
1061 bytes
1061 bytes
Earl Grey <bofh@kapu.net> wrote: > Subject: Porting SLRN to MacOX S Server Will you publicize the port once you're finished? I know a number of people who will be interested. Maybe JED will link it, as he does the other ports? -- Adam Bailey | Chicago, Illinois adamb@lull.org | Finger/Web for PGP adamkb@aol.com | http://www.lull.org/adam/
Re: Porting SLRN to MacOX S Server
Author: Earl Grey
Date: Fri, 06 Aug 1999 00:00
Date: Fri, 06 Aug 1999 00:00
28 lines
1381 bytes
1381 bytes
In <050819992205481215%adamb@lull.org>, Adam Bailey wrote: > Earl Grey <bofh@kapu.net> wrote: > > > Subject: Porting SLRN to MacOX S Server > > Will you publicize the port once you're finished? That is my intention. http://www.stepwise.com/ > I know a number of people who will be interested. Yeah, *ME* first of all! (8-) > Maybe JED will link it, as he does the other ports? That would be nice, but it's his call. -- "If UNIX is dead, the necromancer who is animating the corpse is doing a d&mn fine job" (Par Leijonhufvud) http://kapu.net/~bofh/
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