Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

OT: OS X and Putty

3 views
Skip to first unread message

Justin C

unread,
Feb 21, 2006, 5:58:39 PM2/21/06
to

I'm asking here because of the amount of experience of operating systems
in general that there is here.

I've just taken delivery of three MacMinis to replace three 400mhz
Celeron Windows 98 machines (yes, I work for DarkAges R Us). The main
use of these machines will be accessing our ERP software. Trouble is,
the java front end is slower through Safari than it was on the Windows
machines - this is a major problem, staff take orders from customers
over the telephone directly onto the system.

Most of the remaining Windows clients are using Putty which avoids the
java and runs the programs that java is interfacing with. The Putty/ssh
connections are lightning fast. So I want to install Putty on the Macs.

I've checked the putty site and the FAQ says "The Unix/Gtk port is
already fully working under Mac OS X as an X11 application".
Excellent... however, I can't find a binary and I'm unable to build the
source because I can't find libgtk.

I've installed X11 and the build tools from the DVD. I've installed
Darwin Ports (turns out the Ports version of Putty has all of Putty but
Putty itself) but it can't find a libgtk / libgtk.1 to install.

Any suggestions for getting Putty running on these beasties? If you can
suggest a better place to ask I'll go and try there.

Thanks for any help you can give.


Justin.

--
Justin C, by the sea.

Roger Leigh

unread,
Feb 21, 2006, 6:43:00 PM2/21/06
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Justin C <justi...@purestblue.com> writes:

> I'm asking here because of the amount of experience of operating systems
> in general that there is here.
>
> I've just taken delivery of three MacMinis to replace three 400mhz
> Celeron Windows 98 machines (yes, I work for DarkAges R Us). The main
> use of these machines will be accessing our ERP software. Trouble is,
> the java front end is slower through Safari than it was on the Windows
> machines - this is a major problem, staff take orders from customers
> over the telephone directly onto the system.

Have you considered installing GNU/Linux on the Minis? You can then
run X natively and use whichever terminal emulator you like.


Regards,
Roger

(Typing this post on a Mac Mini running Debian.)


- --
Roger Leigh
Printing on GNU/Linux? http://gutenprint.sourceforge.net/
Debian GNU/Linux http://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>

iD8DBQFD+6WBVcFcaSW/uEgRAo8LAKCjrv6W16hlW5wWArka4spR4xv3fwCgyb5n
udFz2eGY7ZkTd4GJ75dnN4g=
=1ZId
-----END PGP SIGNATURE-----

Ben Shimmin

unread,
Feb 21, 2006, 8:11:36 PM2/21/06
to
Justin C <justi...@purestblue.com>:

[...]

> Most of the remaining Windows clients are using Putty which avoids the
> java and runs the programs that java is interfacing with. The Putty/ssh
> connections are lightning fast. So I want to install Putty on the Macs.

Why do you need to use PuTTY? Can't you just use the Terminal application
(in /Applications/Utilities) which Apple provides with Mac OS X?

b.

--
<b...@bas.me.uk> <URL:http://bas.me.uk/>
`He certainly left me under the impression that he would have
made a wonderful solicitor.' -- Jonathan Harker on Dracula

Message has been deleted

Roger Leigh

unread,
Feb 22, 2006, 5:27:14 AM2/22/06
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ben Shimmin <b...@llamaselector.com> writes:

> Justin C <justi...@purestblue.com>:
>
> [...]
>
>> Most of the remaining Windows clients are using Putty which avoids the
>> java and runs the programs that java is interfacing with. The Putty/ssh
>> connections are lightning fast. So I want to install Putty on the Macs.
>
> Why do you need to use PuTTY? Can't you just use the Terminal application
> (in /Applications/Utilities) which Apple provides with Mac OS X?

Terminal is "a bit broken". Try using PgUp/PgDn for example (they are
hardwired to scroll, and are not rebindable, so the application
running in the terminal will never see a PgUp/PgDn keypress). This
makes editing a bit of a pain. There may be other useful keys which
also don't work.


Regards,
Roger

- --
Roger Leigh
Printing on GNU/Linux? http://gutenprint.sourceforge.net/
Debian GNU/Linux http://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>

iD8DBQFD/DyAVcFcaSW/uEgRArVzAKCP47PlZcf2euM6DfexK8rI0yc/lQCffmjo
SxLK9dpRidflWnISSau+7IE=
=E0lH
-----END PGP SIGNATURE-----

Anthony Perkins

unread,
Feb 22, 2006, 6:30:14 AM2/22/06
to
On 2006-02-22, Roger Leigh

<${rleigh}@invalid.whinlatter.ukfsn.org.invalid> wrote:
> Terminal is "a bit broken". Try using PgUp/PgDn for example (they are
> hardwired to scroll, and are not rebindable, so the application
> running in the terminal will never see a PgUp/PgDn keypress). This
> makes editing a bit of a pain. There may be other useful keys which
> also don't work.

Agreed, I prefer to load X11 and use a standard XTerm than using Terminal.app
as it's much saner to use.

--
Anthony Perkins
http://muzz.co.uk
GnuPG: 0x24067E08 (pgp.mit.edu)

Ben Shimmin

unread,
Feb 22, 2006, 11:14:28 AM2/22/06
to
Roger Leigh <${rleigh}@invalid.whinlatter.ukfsn.org.invalid>:

> Ben Shimmin <b...@llamaselector.com> writes:
>> Justin C <justi...@purestblue.com>:
>>
>> [...]
>>
>>> Most of the remaining Windows clients are using Putty which avoids the
>>> java and runs the programs that java is interfacing with. The Putty/ssh
>>> connections are lightning fast. So I want to install Putty on the Macs.
>>
>> Why do you need to use PuTTY? Can't you just use the Terminal application
>> (in /Applications/Utilities) which Apple provides with Mac OS X?
>
> Terminal is "a bit broken". Try using PgUp/PgDn for example (they are
> hardwired to scroll, and are not rebindable,

They are. Terminal -> Window Settings -> Keyboard.

> so the application
> running in the terminal will never see a PgUp/PgDn keypress). This
> makes editing a bit of a pain. There may be other useful keys which
> also don't work.

If you hold down shift, by default, PgUp/PgDn/Home/End all do what you
expect. You can also rebind them so that they do what you want without
having to press shift.

b.

`Your normal speeder will panic and immediately pull over
to the side. This is wrong. It arouses contempt in the
cop-heart. Make the bastard chase you.' -- Hunter S. Thompson

Justin C

unread,
Feb 22, 2006, 6:47:18 PM2/22/06
to
On 2006-02-22, Ben Shimmin <b...@llamaselector.com> wrote:
> Roger Leigh <${rleigh}@invalid.whinlatter.ukfsn.org.invalid>:
>> Ben Shimmin <b...@llamaselector.com> writes:
>>>
>>> Why do you need to use PuTTY? Can't you just use the Terminal application
>>> (in /Applications/Utilities) which Apple provides with Mac OS X?
>>
>> Terminal is "a bit broken". Try using PgUp/PgDn for example (they are
>> hardwired to scroll, and are not rebindable,
>
> They are. Terminal -> Window Settings -> Keyboard.
>
>> so the application
>> running in the terminal will never see a PgUp/PgDn keypress). This
>> makes editing a bit of a pain. There may be other useful keys which
>> also don't work.
>
> If you hold down shift, by default, PgUp/PgDn/Home/End all do what you
> expect. You can also rebind them so that they do what you want without
> having to press shift.

On a related note, I'd like to be able to un-bind Shift+F9, it's used in
the remote app but under OS X it just messes around with window focus.
Under the keyboard settings (not for the terminal, just in the control
panel wotsit) I've unticked F9-F12 and all is fine there, it's just the
Shift+F9 thats got me. Any ideas?

Justin C

unread,
Feb 22, 2006, 6:44:36 PM2/22/06
to
On 2006-02-22, Dave {Reply Address in.Sig} <"noone$$"@llondel.org> wrote:
> Why do you need PuTTY? It's just an ssh terminal program? Macs come with
> ssh built in, just open a terminal window and ssh is there. The
> X-windows stuff works just fine as well, I've run stuff directly on a
> Mac and also used ssh with X11 forwarding to run stuff no a remote machine.

Really? ssh -X xterm -rv [some-prog] ?

I tried that and I got "Cannot open display". Will have to try again.

Justin C

unread,
Feb 22, 2006, 6:54:03 PM2/22/06
to
On 2006-02-22, Anthony Perkins <nu...@muzz.co.uk> wrote:
> On 2006-02-22, Roger Leigh
><${rleigh}@invalid.whinlatter.ukfsn.org.invalid> wrote:
>> Terminal is "a bit broken". Try using PgUp/PgDn for example (they are
>> hardwired to scroll, and are not rebindable, so the application
>> running in the terminal will never see a PgUp/PgDn keypress). This
>> makes editing a bit of a pain. There may be other useful keys which
>> also don't work.
>
> Agreed, I prefer to load X11 and use a standard XTerm than using Terminal.app
> as it's much saner to use.

That's what I'm doing at the moment... still one keybinding problem (see
another post in this thread). However, my users are simple folk...
actually, an analogy with old dogs is more appropriate. With Putty under
Windows you can set up a specific connection as an icon, double click,
enter password, .bashrc calls the program they need and off we go.

I am open to any suggestions. The machines I replaced had to go, I've
got one Linux box in there at the moment and, personally, though the
user of that box is happy with it, I think the other old dogs would get
on better with OS X[1].

Thanks for you comments.


Justin.

[1] I am a really, really bad teacher and am not up to the job of
teaching techno-phobes even the basics of what they need. With OS X
there are others who can show them what they need to know - and are more
able to do it.

Justin C

unread,
Feb 22, 2006, 6:59:25 PM2/22/06
to
On 2006-02-22, Ben Shimmin <b...@llamaselector.com> wrote:
>
> If you hold down shift, by default, PgUp/PgDn/Home/End all do what you
> expect. You can also rebind them so that they do what you want without
> having to press shift.

They do?! They have been p***ing me off for months not doing what I
want! .... obviously not enough to investigate why!

I'm angling to get my machine replaced later this year. And this time it
*will* be a Linux box and I'll get VMWare stuck on it for the times I
must have Windows. Oooh, I *am* looking forward to having a machine I
can work on rather than fight with. (Currently got a P3 500Mhz, 256MB
Win 98 donkey, HD is almost full and I can't delete so much of it - the
boss won't replace anything unless it's either broken or he can be
persuaded of how bad it is - and he just thinks I want a new toy).

Ben Shimmin

unread,
Feb 22, 2006, 9:18:56 PM2/22/06
to
Justin C <justi...@purestblue.com>:

[...]

> On a related note, I'd like to be able to un-bind Shift+F9, it's used in
> the remote app but under OS X it just messes around with window focus.
> Under the keyboard settings (not for the terminal, just in the control
> panel wotsit) I've unticked F9-F12 and all is fine there, it's just the
> Shift+F9 thats got me. Any ideas?

F9 is one of the Exposé keys (`show all windows', in fact); Shift+F9 does
Exposé show all windows in slow motion. Don't ask me why; the Shift+key
slow motion effect is just one of those eye-candy type things that Mac
users love. :)

So, to disable this, you'll need to rebind Exposé's keys:

Systems Preferences -> Dashboard & Exposé

Change the `All windows: F9' bit to something else. Any other conflicts
with those function keys can be resolved in a similar manner.

Hope this helps,

b.

`Nam et Hannibalis apud Romanos iam ante Sangunti excidium celeberrimum
nomen erat, et Scipionem Hannibal eo ipso quod adversus se dux potissimum
lectus esset praestantem virum credebat.' -- Titus Livius, _Ab Urbe Condita_

Ben Shimmin

unread,
Feb 22, 2006, 9:34:55 PM2/22/06
to
Justin C <justi...@purestblue.com>:

[...]

> That's what I'm doing at the moment... still one keybinding problem (see
> another post in this thread). However, my users are simple folk...
> actually, an analogy with old dogs is more appropriate. With Putty under
> Windows you can set up a specific connection as an icon, double click,
> enter password, .bashrc calls the program they need and off we go.

1) Make a shell script as follows:

#!/bin/sh
ssh hostname -t screen

(or whatever)

2) Save it to the desktop as `hostname.command'.

(the `.command' bit is required)

3) chmod +x ~/Desktop/hostname.command

That's it. Double-click on the icon and it will launch Terminal, ask for
a password for that host, and then run your command.

Simple as can be.

b.

`Mother died today. Or maybe yesterday, I don't know.'
-- Albert Camus, _L'Etranger_

Justin C

unread,
Feb 24, 2006, 5:53:28 AM2/24/06
to
On 2006-02-22, Ben Shimmin <b...@llamaselector.com> wrote:
> Roger Leigh <${rleigh}@invalid.whinlatter.ukfsn.org.invalid>:
>>
>> Terminal is "a bit broken". Try using PgUp/PgDn for example (they are
>> hardwired to scroll, and are not rebindable,
>
> They are. Terminal -> Window Settings -> Keyboard.
>
>> so the application
>> running in the terminal will never see a PgUp/PgDn keypress). This
>> makes editing a bit of a pain. There may be other useful keys which
>> also don't work.
>
> If you hold down shift, by default, PgUp/PgDn/Home/End all do what you
> expect. You can also rebind them so that they do what you want without
> having to press shift.

Under X11 I can't get PgUp/PgDn to work with or without shift. I've
looked at the settings under X11 but none of the options seems a likely
candidate.

Thanks for the help so far.

Justin.

--
Justin C by the sea.

Justin C

unread,
Feb 24, 2006, 3:31:14 PM2/24/06
to
On 2006-02-23, Ben Shimmin <b...@llamaselector.com> wrote:
> Justin C <justi...@purestblue.com>:
>
> [...]
>
>> That's what I'm doing at the moment... still one keybinding problem (see
>> another post in this thread). However, my users are simple folk...
>> actually, an analogy with old dogs is more appropriate. With Putty under
>> Windows you can set up a specific connection as an icon, double click,
>> enter password, .bashrc calls the program they need and off we go.
>
> 1) Make a shell script as follows:
>
[snip]

> Simple as can be.

No! As simple as can be would be: Download Putty, copy settings from
Windows machines, done!!!

Thanks anyway, I've forwarded this to self at work. The easier I make it
for the 'old dogs' the better they'll like the new machines ... one of
them is already in awe of the speed increase.


Justin.

Justin C

unread,
Feb 24, 2006, 3:27:47 PM2/24/06
to
On 2006-02-23, Ben Shimmin <b...@llamaselector.com> wrote:
> Justin C <justi...@purestblue.com>:
>
>> On a related note, I'd like to be able to un-bind Shift+F9, it's used in
>> the remote app but under OS X it just messes around with window focus.
>> Under the keyboard settings (not for the terminal, just in the control
>> panel wotsit) I've unticked F9-F12 and all is fine there, it's just the
>> Shift+F9 thats got me. Any ideas?
>
> F9 is one of the Exposé keys (`show all windows', in fact); Shift+F9 does
> Exposé show all windows in slow motion. Don't ask me why; the Shift+key
> slow motion effect is just one of those eye-candy type things that Mac
> users love. :)
>
> So, to disable this, you'll need to rebind Exposé's keys:
>
> Systems Preferences -> Dashboard & Exposé
>
> Change the `All windows: F9' bit to something else. Any other conflicts
> with those function keys can be resolved in a similar manner.
>
> Hope this helps,

It does, thank's Ben.

Message has been deleted

Justin C

unread,
Feb 24, 2006, 7:41:13 PM2/24/06
to
On 2006-02-24, Dave {Reply Address in.Sig} <"noone$$"@llondel.org> wrote:
[snip]
> I just reset my brain. You have to have fired up X on the Mac, which
> brings up a local xterm. From there you can ssh to other machines.
>
> ssh -X remote-machine kcalc
>
> will bring up an instance of the KDE calculator running on the remote
> machine.

That's where I am at the moment. I'm hoping, with Ben's advice (and
maybe some help with the automater thingy - no Mac to hand to check what
it's called, but you know what I mean) I can get a link on the desktop
that'll:

Start X11
In the/a terminal: ssh -X [some_server] [command]

And bingo. But that's for next week.

Still trying to get PgUp/PgDn passed to the xterm that arrives courtesy
of X11.

Sion Arrowsmith

unread,
Feb 28, 2006, 11:49:27 AM2/28/06
to
Justin C <justi...@purestblue.com> wrote:
> [ ... ] I'm hoping, with Ben's advice (and

>maybe some help with the automater thingy - no Mac to hand to check what
>it's called, but you know what I mean) I can get a link on the desktop
>that'll:
>
> Start X11
> In the/a terminal: ssh -X [some_server] [command]

You don't even need the terminal. You can add your own commands to
the X11 Applications menu -- I'm not in front of an OSX machine at
the moment, so I can't tell you exactly how, but one of mine is
just such a ssh -X .

--
\S -- si...@chiark.greenend.org.uk -- http://www.chaos.org.uk/~sion/
___ | "Frankly I have no feelings towards penguins one way or the other"
\X/ | -- Arthur C. Clarke
her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump

0 new messages