Document:

AGRILINK FOODS, INC.

                       THIRD AMENDMENT TO CREDIT AGREEMENT

To the Agents and Lenders
   Party to the Credit Agreement
   referred to below

Gentlemen:

     We refer to the  Credit  Agreement  dated as of  September  23,  1998 among
Agrilink  Foods,  Inc.  as  Borrower,  Pro-Fac  Cooperative,  Inc.,  Linden Oaks
Corporation and Kennedy Endeavors,  Incorporated as Guarantors, Harris Trust and
Savings Bank individually and as Administrative  Agent, Bank of Montreal Chicago
Branch  individually and as Syndication Agent and the other lenders from time to
time parties  thereto as amended and currently in effect between us (the "Credit
Agreement"),  capitalized  terms  used  without  definition  below  to have  the
meanings ascribed to them in the Credit Agreement.

     Upon receipt by the  Administrative  Agent of  counterparts  hereof  which,
taken  together,  bear the  signatures of the Borrower,  the  Guarantors and the
Required Lenders, the Credit Agreement shall be amended as follows.

     1.  Definition  of the  Term  "Subsidiary".  The  definition  of  the  term
"Subsidiary:  appearing in Section 1 of the Credit Agreement shall be amended by
adding the following at the end thereof:

          "Anything   contained   hereinabove   or  in  GAAP  to  the   contrary
          notwithstanding, for all purposes of this Agreement and the other Loan
          Documents  (i) Agripac Sub shall not be or be treated as a  Subsidiary
          of the Parent (but it shall be deemed an Affiliate  thereof and of the
          Subsidiaries  of the Parent if and so long as it meets the  definition
          of that  term)  and  (ii)  the  assets,  liabilities  and  results  of
          operations of Agripac Sub shall not be consolidated  with those of the
          Parent  for  purposes  of  determining  compliance  with any  covenant
          contained in this Agreement."

     2. New  Definition.  Section 1 of the Credit  Agreement shall be amended by
adding the following definition thereto in proper alphabetical order:

          "Agripac  Sub"  shall  mean a  corporation  in which the  Parent has a
          direct  equity  interest  formed  for the  purpose  of  acquiring  and
          operating the frozen food  business  (and related  assets) of Agripac,
          Inc.  an  Oregon  cooperative  corporation  as  debtor  and  debtor in
          possession."

     3. Section 4.4(b)(i)  (Mandatory  Prepayments Out of Fixed Asset Proceeds).
The first  parenthetical  clause  appearing  in the first  sentence  of  Section
4.4(b)(i) of the Credit  Agreement  shall be amended and as so amended  shall be
restated in its entirety to read as follows:

          "(i.e., gross cash proceeds less the sum of (i) out of pocket expenses
          and  property  and transfer  taxes  incurred in effecting  the sale or
          other disposition of the fixed or capital assets in question, (ii) the
          amount,  as  reasonably  estimated by the seller,  of income,  capital
          gains and  similar  taxes which it will be required to pay solely as a
          result of the sale or other disposition of the fixed or capital assets
          in question and (iii) the proceeds  applied to the  repayment of liens
          on the assets sold or disposed of)."

     4. Section  4.6(a)  (General   Provisions  on  Place  and  Application  of
Payments). Section 4.6(a) of the Credit Agreement shall be amended by adding the
following paragraph at the end thereof:

          "If any mandatory  prepayment  made pursuant to Section  4.4(b) hereof
     would  require all or any part of a LIBOR  Portion to be paid other than on
     the last day of the Interest Period then applicable thereto and as a result
     thereof the Company could be required to reimburse an affected Lender for a
     loss, cost or expense  pursuant to Section 3.8(a) hereof then in that event
     at the  request of the  Company  the  Administrative  Agent  shall hold the
     amount of the  prepayment  which would  otherwise  have been applied to the
     affected  LIBOR  Portions and shall remit the same to the Lenders  entitled
     thereto on the last day of such Interest  Period.  No such prepayment shall
     be deemed applied to the Loans until the date the Lenders  entitled thereto
     receive the same.  All funds held by the  Administrative  Agent pursuant to
     this paragraph shall be and constitute collateral security for the Loans to
     which the same is to be applied  and may at the  request of the  Company be
     invested  in  investments  of the type  described  in clauses (a) or (b) of
     Section 8.17 hereof,  interest bearing accounts of the Administrative Agent
     or other  high  grade  investments  approved  by the  Administrative  Agent
     maturing  in each case no later  than the last day of the  Interest  Period
     applicable to the affected LIBOR Portions,  all such  investments to be and
     constitute  collateral  security  for the  Loans in  respect  of which  the

<PAGE>

     deposit was made. Any investment  earnings on any such investments shall be
     remitted to the Company if and so long as no Event of Default has  occurred
     and is continuing."

     5. Section 8.5  (Financial  Reports).  Section 8.5 of the Credit  Agreement
shall be amended by  striking  the word "and" at the end of clause (c)  thereof,
redesignating  clause  (d)  thereof  as clause  (e)  thereof  and by adding  the
following as clause (d):

          "(d) if and so long as the Parent has any equity  interest  in Agripac
          Sub (i) within 45 days after the close of each quarterly fiscal period
          of Agripac Sub a copy of the balance  sheet,  statement of  operations
          and statement of cash flow of Agripac Sub for such period  prepared in
          accordance with GAAP and the notes thereto,  all certified (subject to
          year end audit  adjustments  which are not expected to be material) by
          the chief  financial  officer of Agripac  Sub and (ii)  within 90 days
          after the close of each fiscal year of Agripac Sub a copy of the audit
          report for such year and accompanying financial statements including a
          balance sheet,  statement of operations and statement of cash flow for
          Agripac Sub  prepared in  accordance  with GAAP and the notes  thereto
          certified by independent  public  accountants  of recognized  standing
          selected  by  Agripac  Sub  (provided  that  the  year  end  financial
          statements  called for by this clause (ii) need only be audited if and
          so long as such audits are required by Agripac Sub's lenders); and"

     6. Section  8.17  (Acquisitions,   Investments,  Loans  and  Advances  and
Guaranties). Section 8.17 of the Credit Agreement shall be amended by adding the
following at the end thereof:

          "For purposes of this Section 8.17, the  acquisition by Agripac Sub of
          the frozen vegetable  business (and related assets) of Agripac Inc. an
          Oregon  cooperative  corporation  as debtor and  debtor in  possession
          shall  not  be  treated  as an  indirect  acquisition  thereof  by the
          Parent."

     7. Section 8.18 (Restricted Payments). Section 8.18 of the Credit Agreement
shall be amended by inserting  the phrase  "Class A"  immediately  preceding the
phrase  "common  stock" in subpart (iv) of clause (b)  thereof,  by striking the
word "and" immediately preceding subpart (v) of clause (b) thereof and by adding
the following at the end thereof:

          "(vii) pay dividends or make distributions to the holders of its Class
          B common stock in amounts which in no event exceed cash dividends paid
          by Agripac Sub to the Parent and (without  duplication)  cash payments
          made by Agripac Sub to the Parent out of its earnings (i.e.,  revenues
          less costs,  including the commercial  market value of crops purchased
          from the Parent) on the sale of  products  made from crops sold by the
          Parent to Agripac Sub and (viii) acquire, redeem or retire its Class B
          common stock and any other  membership or equity  interests  issued to
          the holders of Class B common stock in their capacities as such solely
          in direct or indirect exchange for the transfer of its equity interest
          in Agripac Sub to the holders thereof."

     8.  Section 8.20 (Sales of Assets).  Section  8.20 of the Credit  Agreement
shall be amended by adding the following at the end thereof:

          "The foregoing to the contrary notwithstanding,  the Parent may at any
          time dispose of its equity interest in Agripac Sub."

     9. Exhibit L (the Excluded Assets). Exhibit L to the Credit Agreement shall
be amended by adding the following thereto:

          "15. Shares of capital stock of Agripac Sub."

         Except as specifically amended hereby, all of the terms, conditions and
provisions of the Credit  Agreement shall stand and remain unchanged and in full
force and effect.  No reference to this Third Amendment to Credit Agreement need
be made in any  instrument  or  document  at any time  referring  to the  Credit
Agreement, a reference to the Credit Agreement in any of such to be deemed to be
a reference to the Credit  Agreement as amended hereby.  This Third Amendment to
Credit Agreement may be executed in counterparts, and by separate parties hereto
on separate  counterparts each to constitute an original but all but one and the
same  instrument.  This Third Amendment to Credit Agreement shall be governed by
and construed in accordance with the internal laws of the State of Illinois

         Dated as of the 16th day of February 1999.

<PAGE>

                 AGRILINK FOODS, INC.

                         By    /s/ Earl L. Powers
                               -------------------------------------------------
                               Its  VP
                                    --------------------------------------------

                 PRO-FAC COOPERATIVE, INC.

                         By    /s/ Earl L. Powers
                               -------------------------------------------------
                               Its  VP
                                    --------------------------------------------

                 LINDEN OAKS CORPORATION
                        By     /s/ Timothy J. Benjamin
                               -------------------------------------------------
                               Its  President
                                    --------------------------------------------

                 KENNEDY ENDEAVORS, INCORPORATED
                         By    /s/ Earl L. Powers
                               -------------------------------------------------
                               Its  VP
                                    --------------------------------------------

 Accepted and agreed to as of the date last above written.

                 HARRIS TRUST AND SAVINGS BANK,
                   individually and as Administrative Agent,
                   Issuing Bank and Swing Lender

                         By    /s/ Karen A. Knudsen
                               -------------------------------------------------
                               Its  Vice President
                                    --------------------------------------------
                 BANK OF MONTREAL, individually and as
                   Syndication Agent

                         By    /s/ Michael W. Hedrick
                               -------------------------------------------------
                               Its  Director
                                    --------------------------------------------Exhibit 4.7

                  THIRD AMENDMENT TO SIXTH AMENDED AND
                  RESTATED LOAN AND SECURITY AGREEMENT

THIS  THIRD  AMENDMENT TO SIXTH AMENDED AND RESTATED  LOAN  AND  SECURITY
AGREEMENT  (the "Amendment"), dated as of July 5, 2000, is  made  by  and
among  HALIFAX  CORPORATION,  a  Virginia  corporation  (the  "Company"),
HALIFAX  ENGINEERING,  INC., a Virginia corporation  ("Engineering")  and
HALIFAX REALTY, INC., a Virginia corporation ("Realty," and together with
the Company and Engineering, collectively, the "Borrowers"), and SunTrust
BANK, a Georgia banking corporation, successor by merger to CRESTAR  BANK
(the "Lender").
                                RECITALS

The  Borrowers  and  the  Lender are parties to  the  Sixth  Amended  and
Restated  Loan and Security Agreement, dated as of September 1, 1999,  as
amended  by the First Amendment to Sixth Amended and Restated   Loan  and
Security  Agreement, dated as of September 30, 1999  and  by  the  Second
Amendment  to  Sixth  Amended and Restated Loan and  Security  Agreement,
dated  as  of  December  21,  1999  (as  further  amended,  modified   or
supplemented from time to time, the "Loan Agreement").  By virtue of  the
closing  of  the HTSI Sale, Technical is no longer a party  to  the  Loan
Documents.  Capitalized terms defined in the Loan Agreement and undefined
herein  shall have the same defined meanings when such terms are used  in
this Amendment.
The  Company is in default of the financial covenant contained in Section
6.11(c)  of the Loan Agreement for the Company's fiscal quarter ended  on
March 31, 2000 (the "Net Profit Covenant Default").
The  Borrowers  have  requested that the  Lender  waive  the  Net  Profit
Covenant Default and amend certain provisions of the Loan Agreement.  The
Lender  has agreed to do so, subject to the terms and conditions  hereof.
Accordingly,  for valuable consideration, the receipt and sufficiency  of
which are acknowledged, the Borrowers and the Lender agree as follows:
                                AMENDMENT

Notwithstanding anything to the contrary contained in the Loan Documents,
the Lender waives its right to declare an Event of Default under the Loan
Documents as a result of the Net Profit Covenant Default.  The parties
hereto acknowledge and agree that the foregoing sentence shall not
constitute a waiver, either express or implied, of any other default,
covenant, term or provision of the Loan Documents, nor shall it create
any obligation of the Lender to waive any existing or future default or
violation of any other covenant, term or provision of the Loan Documents.
The parties hereto agree that Lender shall be entitled to require strict
compliance by the Borrowers with the Loan Documents, notwithstanding the
limited express waiver and amendment contained herein, and this waiver
and amendment shall not be deemed to establish a course of action or a
course of dealing with respect to requests by the Borrowers for a waiver
or amendment of any default, covenant, term or provision of any Loan
Document.
The Loan Agreement is amended as follows:
The Termination Date is extended to July 1, 2001.
The  Maximum Amount is permanently reduced to $6,000,000.  The  Borrowers
shall  prepay the Revolving Loans to the extent that the aggregate amount
of  outstanding Revolving Loans and Letters of Credit exceeds the Maximum
Amount (as reduced hereby), the Borrowing Base or both.
On the date of this Agreement, the Borrowers shall make a $425,000
principal prepayment (the "$425,000 Curtailment") of Term Loan Two and
Term Loan One (with such amount being applied first to Term Loan Two and
then to Term Loan One).  The parties hereto acknowledge and agree that
upon payment by the Borrowers of the $425,000 Curtailment, the $125,000
installment of Term Loan One and Term Loan Two due June 15, 2000 will be
deemed to be paid in full.  Upon the first to occur of (a) July 20, 2000
or (b) the date of availability for application to the Obligations of
funds of the Borrowers in an amount not less than $650,000 theretofore
held in any cash collateral account maintained with the Lender and
securing any Letter of Credit (or the date of receipt of such funds from
the purchaser of Technical pursuant to the HTSI Sale, if such cash
collateral cannot be made available for such application), the Borrowers
shall make an additional $450,000 principal prepayment of Term Loan Two
and Term Loan One (with such amount being applied first to Term Loan Two
and then to Term Loan One).  On or before August 1, 2000, the Borrowers
shall make an additional $200,000 principal prepayment of Term Loan Two
and Term Loan One (with such amount being applied first to Term Loan Two
and then to Term Loan One).
The Borrowers shall prepay Term Loan Two and Term Loan One (with such
amount being applied first to Term Loan Two and then to Term Loan One) in
an amount equal to 50% of the proceeds received by the Borrowers with
respect to any Recoveries, including without limitation Recoveries
arising from the settlement of claims of the Borrowers against Ernst &
Young, LLP ("E&Y") in connection with, relating to or arising from the
Embezzlement, with each such prepayment being made promptly upon receipt
by the Borrowers of the applicable Recoveries.  The Borrowers agree that
the Lender has the right (but not the obligation) to provide written
notice to E&Y of the Borrowers' assignment of such percentage of such
Recoveries, which notice may direct E&Y to pay such percentage of such
Recoveries directly to the Lender.
Notwithstanding anything to the contrary contained in the Loan Agreement
or any other Loan Document, the Borrowers shall furnish to the Lender not
later than the date of this Amendment the current draft of the Company's
Form 10-K Annual Report for the Company's fiscal year ended on March 31,
2000, to be filed with the Securities and Exchange Commission (the "Draft
10-K").  The Draft 10-K shall be in form and substance satisfactory to
the Lender in its sole discretion.
Notwithstanding anything to the contrary contained in the Loan Agreement
or any other Loan Documents, as soon as available and in any event not
later than July 31, 2000, the Borrowers shall furnish the Lender with
consolidated and consolidating balance sheets, income statements and cash
flows of the Borrowers setting forth projections for each fiscal quarter
of the Company's fiscal year ending on March 31, 2001, and setting forth
in reasonable detail the assumptions underlying such projections.
The Borrowers shall pay to the Lender a closing fee in the aggregate
amount of $100,000, the first $50,000 of which (the "First Installment")
shall be due and payable on the date of this Amendment and the remaining
$50,000 of which (the "Second Installment") shall be due and payable on
August 1, 2000.  Notwithstanding the foregoing, the Second Installment
shall not be due and payable, and the closing fee shall be limited to the
First Installment, if all outstanding Obligations evidenced by Term Note
One and Term Note Two are paid in full by the Borrowers to the Lender on
or before August 1, 2000.  In addition, if all Obligations have not been
paid in full by the Borrowers to the Lender by January 1, 2001, the
Borrowers shall pay to the Lender, on January 2, 2001 and on the first
day of each calendar month thereafter until all Obligations have been
paid in full, an availability fee in an amount equal to $25,000 per
month.
The payment to the Lender by the Borrowers of the Revolving Loan
prepayment described in Paragraph 2(b) of this Amendment, the $425,000
Curtailment and the First Installment shall be conditions precedent to
the effectiveness of this Amendment.  In addition, receipt, review and
approval by the Lender of the Draft 10-K shall be a condition precedent
to the effectiveness of this Amendment.
Except for the amendments to the Loan Agreement set forth above, the Loan
Documents shall remain in full force and effect.  The Borrowers
acknowledge and agree that each reference in the Loan Documents to the
Termination Date shall be deemed to be a reference to such Termination
Date as extended hereby, each reference in the Loan Documents to the
Maximum Amount shall be deemed to be a reference to such Maximum Amount
as reduced hereby and each reference in the Loan Documents to any
particular Loan Document shall be deemed to be a reference to such Loan
Document as amended hereby.  The Borrowers acknowledge and agree that
this Amendment only amends the terms of the Loan Agreement and is not a
novation, and the Borrowers ratify and confirm the remaining terms and
provisions of the Loan Documents in all respects.  The Borrowers
acknowledge and agree that the prior grant of a security interest in the
Collateral continues to secure the Obligations, is in full force and
effect, and is ratified and confirmed by the Borrowers in all respects.
Nothing in this Amendment shall require the Lender to grant any further
amendments to the terms of the Loan Documents.
Each Borrower represents and warrants that this Amendment has been duly
authorized, executed and delivered by it in accordance with resolutions
adopted by its board of directors.  All other representations and
warranties made by the Borrowers in the Loan Documents are incorporated
by reference in this Amendment and are deemed to have been repeated as of
the date of this Amendment with the same force and effect as if set forth
in this Amendment, except that any representation or warranty relating to
any financial statements shall be deemed to be applicable to the
financial statements most recently delivered to the Lender in accordance
with the provisions of the Loan Documents.
This Amendment shall be governed by the laws of the Commonwealth of
Virginia, without reference to conflict of laws principles.
This Amendment may be executed by the parties individually or in any
combination, in one or more counterparts, each of which shall be an
original and all of which together constitute one and the same
instrument.
                 [SIGNATURES ON FOLLOWING PAGE]
<PAGE>
     WITNESS the following signatures.

                                LENDER:

                                SunTrust BANK, a Georgia banking
                                corporation, successor by merger to
                                CRESTAR BANK

                                By:  ___________________________
                                   Timothy J. Duggan
                                   Senior Vice President

                                BORROWERS:

                                HALIFAX CORPORATION, a Virginia
                                 corporation

                                By: _____________________________
                                Name: ___________________________
                                Title: ____________________________

                                HALIFAX ENGINEERING, INC.,
                                 a Virginia corporation

                                By: _____________________________
                                Name: ___________________________
                                Title: ____________________________

                                HALIFAX REALTY, INC.,
                                a Virginia corporation

                                By: _____________________________
                                Name: ___________________________
                                Title: ____________________________

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00011-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00011-of-00352.parquet"}]]