OT console based editor that can do php syntax highlighting

2009-02-14 Thread Simon Griffiths
Hello Everyone,

I'm guessing this is off-topic so thank you in advance if you can offer any
help.

I currently SSH into a couple of freebsd machine I have dotted about which
run some console and web based php code.  This is all fine and dandy but
when it comes to remote support I struggle reading plain code when the file
gets over a certain size and find a little syntax highlighting helps a lot. 

So can anyone recommend an editor that can do this ?  I did try vim some
time ago but being a novice in these areas I couldn't get the syntax file to
load and help on the web confusing or indecipherable. 

TIA,

Si.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: OT console based editor that can do php syntax highlighting

2009-02-14 Thread Simon Griffiths
Beautiful!  That is exactly what I wanted.  

Thank you very much!  

Si. 

 -Original Message-
 From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
 questi...@freebsd.org] On Behalf Of Wojciech Puchar
 Sent: 14 February 2009 12:46
 To: Simon Griffiths
 Cc: freebsd-questions@freebsd.org
 Subject: Re: OT console based editor that can do php syntax highlighting
 
 joe probably can. i don't use PHP but it highlights properly every other
 language source i use
 
 On Sat, 14 Feb 2009, Simon Griffiths wrote:
 
  Hello Everyone,
 
  I'm guessing this is off-topic so thank you in advance if you can offer
 any
  help.
 
  I currently SSH into a couple of freebsd machine I have dotted about
which
  run some console and web based php code.  This is all fine and dandy but
  when it comes to remote support I struggle reading plain code when the
 file
  gets over a certain size and find a little syntax highlighting helps a
 lot.
 
  So can anyone recommend an editor that can do this ?  I did try vim some
  time ago but being a novice in these areas I couldn't get the syntax
file
 to
  load and help on the web confusing or indecipherable.
 
  TIA,
 
  Si.
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-
 unsubscr...@freebsd.org
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org
 
 No virus found in this incoming message.
 Checked by AVG - www.avg.com
 Version: 8.0.237 / Virus Database: 270.10.23/1950 - Release Date: 02/13/09
 06:51:00

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: OT console based editor that can do php syntax highlighting

2009-02-14 Thread Simon Griffiths
Thanks for the tip Sean.  

It was mentioned that I could use joe and part of the /usr/ports/editors/joe
build there is jpico which emulates the shortcuts im so used to in pico and
nano.  I think joe works great for me.

Cheers,

Si.

Simon Griffiths
So bored I made...
www.tenenbaum.co.uk

 -Original Message-
 From: Sean Cavanaugh [mailto:millenia2...@hotmail.com]
 Sent: 14 February 2009 15:55
 To: Simon Griffiths; freebsd-questions@freebsd.org
 Subject: Re: OT console based editor that can do php syntax highlighting
 
 Nano supports syntax highlighting. it is off by default but can easily be
 turned on.  I think that you actually have to find the config file to make
 it handle PHP though but that can be found pretty easily on the web
 
 -Sean
 
 --
 From: Simon Griffiths simon.griffi...@tenenbaum.co.uk
 Sent: Saturday, February 14, 2009 7:27 AM
 To: freebsd-questions@freebsd.org
 Subject: OT console based editor that can do php syntax highlighting
 
  Hello Everyone,
 
  I'm guessing this is off-topic so thank you in advance if you can offer
  any
  help.
 
  I currently SSH into a couple of freebsd machine I have dotted about
which
  run some console and web based php code.  This is all fine and dandy but
  when it comes to remote support I struggle reading plain code when the
  file
  gets over a certain size and find a little syntax highlighting helps a
  lot.
 
  So can anyone recommend an editor that can do this ?  I did try vim some
  time ago but being a novice in these areas I couldn't get the syntax
file
  to
  load and help on the web confusing or indecipherable.
 
  TIA,
 
  Si.
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  freebsd-questions-unsubscr...@freebsd.org
 
 
 No virus found in this incoming message.
 Checked by AVG - www.avg.com
 Version: 8.0.237 / Virus Database: 270.10.23/1950 - Release Date: 02/13/09
 06:51:00

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Build/Install world via ssh

2009-04-01 Thread Simon Griffiths
Hello,

I tried to get an answer to this via web searches etc.  I have a freebsd 7
box that I plan on upgrading remotely via 

Make buildworld
Make buildkernel KERNCONF=xyz

Now im stuck,  I cannot get it down to single user because I only have
access via ssh.  Would it hurt to 

Make installkernel KERNCONF=xyz
Make installworld

Mergemaster etc.

Reboot

?

TIA,

Simon

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Build/Install world via ssh

2009-04-02 Thread Simon Griffiths
 -Original Message-
 From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
 questi...@freebsd.org] On Behalf Of Bruce Cran
 Sent: 01 April 2009 23:12
 To: Simon Griffiths
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Build/Install world via ssh
 
 On Wed, 1 Apr 2009 22:38:47 +0100
 Simon Griffiths simon.griffi...@tenenbaum.co.uk wrote:

[snip]

Thank you all for your advice.  The build went through fine and the box came
back lovely even though I did have a backup plan if that didn't work.

Great stuff, saves a 300 mile journey :-)

Simon

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Issues with make -j option on ports

2009-12-27 Thread Simon Griffiths
Hello,

 

I seem to get errors with quite a few ports if I use the make -j option.
The errors surround multiple make commands not getting the files it expects
in order.  Is this the correct behaviour?

 

make -j 8 install clean

install  -s -o root -g wheel -m 555
/usr/ports/net/boinc_curses/work/boinc_curses-0.1.9/boinc_curses
/usr/local/bin/

install: /usr/ports/net/boinc_curses/work/boinc_curses-0.1.9/boinc_curses:
No such file or directory

*** Error code 71

===  Cleaning for boinc-client-6.4.5_4

===  Cleaning for wxgtk2-2.8.10_2

===  Cleaning for intltool-0.40.6

===  Cleaning for boinc_curses-0.1.9_2

1 error

 

This is on a quad core amd64 box. I seem to get this error on a number of
ports, for example recompiling gnome2, mysql etc etc.  So my CPU never
really maxes and the builds take longer than they should.

 

Any ideas?

 

 

Si

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Issues with make -j option on ports

2009-12-27 Thread Simon Griffiths
Hello,

 On Sun, 27 Dec 2009, Simon Griffiths wrote:
 
  I seem to get errors with quite a few ports if I use the make -j
 option.
 
 Building with multiple jobs is part of the ports system for several
 months now.  See the MAKE_JOBS variables in /usr/ports/Mk/bsd.port.mk.
 Overriding that with -j is going to try to force ports that aren't
 multiple-job-safe, probably causing the problems you're seeing.
 
 The preferred number of jobs defaults to the number of CPUs.  That
 can be overridden with MAKE_JOBS_NUMBER.

Ahh, that'll be where I'm going wrong then. Thank you very much :)

Is this number only be overridden on the command line e.g. make
-DMAKE_JOBS_NUMBER=8 install clean... or is there a file I could put this
in, I'm thinking make.conf in /etc ?

 
 -Warren Block * Rapid City, South Dakota USA

Thanks very much Warren,

Si

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org