[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] re: URGENT - PHP4.0.6 upgrade has affected MySQL access



On Mon, 2002-01-14 at 23:03, Gerald Waugh wrote:
    On Monday 14 January 2002 11:52 am, Jamie Rossi wrote:
    > Glad to say it's fixed....
    >
    > Was the ususal thing...when I edited php.ini I used PICO which wrapped a
    > section of text to a new line that I hadn't noticed...reformatted and
    > everything burst into life!!
    >
    > Anyone know of a better editor

I also prefer pico for light editing, so I found a solution to this
problem.

Create an alias for pico that appends the -w command line switch to
disable wrapping.

On the Raq4, edit /etc/bashrc (I think, confirm before doing it) and
find the section that says something like, "system wide aliases go here"
and insert the following line:
pico='pico -w'

or for you super duper, full pathnames for everything, security nuts:

pico='/usr/bin/pico -w'

Log out and log in again and type the word alias to see if it worked.