[tech] Mac stuff
Andrew Bailey
acolyte at ucc.gu.uwa.edu.au
Wed Apr 17 17:22:24 WST 2002
On Wed, Apr 17, 2002 at 04:49:46PM +0800, Adrian Chadd wrote:
> On Wed, Apr 17, 2002, Riff wrote:
>
> Why not learn how to program stuff for MacOS 7 and write up a
> decent telnet/ssh client?
>
That is a really cool Idea
> All the telnet/ssh side of stuff is done - you'll just have to write
> up a decent terminal emulator.
>
> Start with putty - you can get the source for that - and see if
> its going to be easy or hard to adapt the actual terminal emulation
> side of things.
>
Hmm , or not. The putty source is wrong(TM). Having just spent most of the day
trawling through it, I can say it has issues. Like the fact it uses lots of
nice windows calls, the indenting, or rather the lack of it, is not sane, and
finally the exit strategies are kinda evil. I really dont think have exit(n)
in random functions all through out you code is a good idea(TM).
Oh and it suffers from using lots and lots of global variables[0].
So in short its damn ugly:(.
Hell just porting the makefile will probably take all day.
Lets just say, if you port putty to the MAC, please please please change the
coding style.
Oh, did I mention, lack of parens with one line if statements, uggh.
Andrew -- its the wrong day to talk about putty in my presence:).
[0] its a personal peeve of mine if I have to grep the source dir to find out
the type of a variable. Like it sucks, pass your vars people please.
--
"The hot dog eating contest is not only a beautiful display of athleticism,
it is a fundamental way for citizens of all nations to display patriotism,"
- Wayne Norbitz
More information about the tech
mailing list