cat > script <<'+-+-+-+-+-END-OF-FILE-+-+-+-+-+'
!F1


                   Empress Form Editor Test
                       field edit test
                 We will test create, shorten, lengthen, 
                 delete, undo.



          field 1 : !F7
n!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!F7

          We will shorten the above field.
!UP
!UP
!UP
                          !DOWN
!TEST printscreen
!TEST field
!F,
!F,

          We will lengthen the above field.
!UP
!UP
!UP
                          !DOWN
!TEST printscreen
!TEST field
!F-
         !F-

          We will put another field under this line.
!TEST printscreen
!TEST field
!UP
!F3

          field 2 : !F9

          We will undo the creation.!NOP
!TEST printscreen
!TEST field
!PF1
!UP

          We will delete the field 1.!NOP
!TEST printscreen
!TEST field
!F3
!TAB
!F3

          The field is deleted; we will undo deletion.!NOP
!TEST printscreen
!TEST field
!PF1
!TEST printscreen
!TEST field
!DELETE
ny!F1
                   Empress Form Editor Test
                       field edit test
                 We will test next, previous, multi mode.


          field 1 :
          field 2 :
          field 3 :
          field 4 :
          field 5 :
          field 6 :
          field 7 :
          field 8 :
          field 9 :
          field 10:
!UP
!UP
!UP
!UP
!UP
!UP
!UP
!UP
!UP
!UP
!UP
                     !DOWN
!F8
!F7
n!NOP
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!RIGHT
!DOWN
!DOWN
!DOWN
!DOWN
!DOWN
!DOWN
!DOWN
!DOWN
!DOWN
!F7
!F8


          The above fields are created by multimode.!NOP
!TEST printscreen
!TEST field
!UP

!F3
          We use 5 tab keystroke to jump to the 5th field.!NOP
!TAB
!TAB
!TAB
!TAB
!TAB
!TEST printscreen
!TEST field







         We use 2 <enter> keystroke to back to 9th field. !NOP
!ENTER
!ENTER
!TEST printscreen
!TEST field
!DELETE
ny!DELETE
y
+-+-+-+-+-END-OF-FILE-+-+-+-+-+
chmod 644 script
cat > stdout <<'+-+-+-+-+-END-OF-FILE-+-+-+-+-+'
                                                                                
                                                                                
                   Empress Form Editor Test                                     
                       field edit test                                          
                 We will test create, shorten, lengthen,                        
                 delete, undo.                                                  
                                                                                
                                                                                
                                                                                
          field 1 : ______________                                              
          We will shorten the above field.                                      
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
--------------------------------------------------------------------------------
 Form : 1                                    Mode: replace      fore/background 
 Field: 1                              [1  ] Help: PF4            R:10 C:27     
Cursor positioned at (R10, C27)
'1'@'1'[1]:
                                                                                
                                                                                
                   Empress Form Editor Test                                     
                       field edit test                                          
                 We will test create, shorten, lengthen,                        
                 delete, undo.                                                  
                                                                                
                                                                                
                                                                                
          field 1 : ____________                                                
          We will lengthen the above field.                                     
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
--------------------------------------------------------------------------------
 Form : 1                                    Mode: replace      fore/background 
 Field: 1                              [1  ] Help: PF4            R:10 C:27     
Cursor positioned at (R10, C27)
'1'@'1'[1]:
                                                                                
                                                                                
                   Empress Form Editor Test                                     
                       field edit test                                          
                 We will test create, shorten, lengthen,                        
                 delete, undo.                                                  
                                                                                
                                                                                
                                                                                
          field 1 : _____________________                                       
          We will put another field under this line.                            
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
--------------------------------------------------------------------------------
 Form : 1                                    Mode: replace      fore/background 
 Field:                                [   ] Help: PF4            R:12 C:1      
Cursor positioned at (R12, C1)
'1'@'1'[1]:
                                                                                
                                                                                
                   Empress Form Editor Test                                     
                       field edit test                                          
                 We will test create, shorten, lengthen,                        
                 delete, undo.                                                  
                                                                                
                                                                                
                                                                                
          field 1 : _____________________                                       
                                                                                
          field 2 : ______________                                              
          We will undo the creation.                                            
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
--------------------------------------------------------------------------------
 Form : 1                                    Mode: replace      fore/background 
 Field:                                [   ] Help: PF4            R:13 C:37     
Cursor positioned at (R13, C37)
'1'@'2'[1]:
'1'@'1'[1]:
                                                                                
                                                                                
                   Empress Form Editor Test                                     
                       field edit test                                          
                 We will test create, shorten, lengthen,                        
                 delete, undo.                                                  
                                                                                
                                                                                
                                                                                
          field 1 : _____________________                                       
                                                                                
          field 2 :                                                             
          We will delete the field 1.                                           
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
--------------------------------------------------------------------------------
 Form : 1                                    Mode: replace      fore/background 
 Field:                                [   ] Help: PF4            R:13 C:38     
Cursor positioned at (R13, C38)
'1'@'1'[1]:
                                                                                
                                                                                
                   Empress Form Editor Test                                     
                       field edit test                                          
                 We will test create, shorten, lengthen,                        
                 delete, undo.                                                  
                                                                                
                                                                                
                                                                                
          field 1 :                                                             
          The field is deleted; we will undo deletion.                          
          field 2 :                                                             
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
--------------------------------------------------------------------------------
 Form : 1                                    Mode: replace      fore/background 
 Field:                                [   ] Help: PF4            R:11 C:55     
Cursor positioned at (R11, C55)
                                                                                
                                                                                
                   Empress Form Editor Test                                     
                       field edit test                                          
                 We will test create, shorten, lengthen,                        
                 delete, undo.                                                  
                                                                                
                                                                                
                                                                                
          field 1 : _____________________                                       
          The field is deleted; we will undo deletion.                          
          field 2 :                                                             
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
--------------------------------------------------------------------------------
 Form : 1                                    Mode: replace      fore/background 
 Field:                                [   ] Help: PF4            R:11 C:55     
Cursor positioned at (R11, C55)
'1'@'1'[1]:
                   Empress Form Editor Test                                     
                       field edit test                                          
                 We will test next, previous, multi mode.                       
                                                                                
                                                                                
          field 1 :  ___________________                                        
          field 2 :  ___________________                                        
          field 3 :  ___________________                                        
          field 4 :  ___________________                                        
          field 5 :  ___________________                                        
          field 6 :  ___________________                                        
          field 7 :  ___________________                                        
          field 8 :  ___________________                                        
          field 9 :  ___________________                                        
          field 10:  ___________________                                        
                                                                                
          The above fields are created by multimode.                            
                                                                                
                                                                                
                                                                                
                                                                                
--------------------------------------------------------------------------------
 Form : 1                                    Mode: replace      fore/background 
 Field:                                [   ] Help: PF4            R:17 C:53     
Cursor positioned at (R17, C53)
'1'@'1'[10]:
'1'@'1'[9]:
'1'@'1'[8]:
'1'@'1'[7]:
'1'@'1'[6]:
'1'@'1'[5]:
'1'@'1'[4]:
'1'@'1'[3]:
'1'@'1'[2]:
'1'@'1'[1]:
                   Empress Form Editor Test                                     
                       field edit test                                          
                 We will test next, previous, multi mode.                       
                                                                                
                                                                                
          field 1 :  ___________________                                        
          field 2 :  ___________________                                        
          field 3 :  ___________________                                        
          field 4 :  ___________________                                        
          field 5 :  ___________________                                        
          field 6 :  ___________________                                        
          field 7 :  ___________________                                        
          field 8 :  ___________________                                        
          field 9 :  ___________________                                        
          field 10:  ___________________                                        
                                                                                
          We use 5 tab keystroke to jump to the 5th field.                      
                                                                                
                                                                                
                                                                                
                                                                                
--------------------------------------------------------------------------------
 Form : 1                                    Mode: replace      fore/background 
 Field: 1                              [5  ] Help: PF4            R:10 C:22     
Cursor positioned at (R10, C22)
'1'@'1'[10]:
'1'@'1'[9]:
'1'@'1'[8]:
'1'@'1'[7]:
'1'@'1'[6]:
'1'@'1'[5]:
'1'@'1'[4]:
'1'@'1'[3]:
'1'@'1'[2]:
'1'@'1'[1]:
                   Empress Form Editor Test                                     
                       field edit test                                          
                 We will test next, previous, multi mode.                       
                                                                                
                                                                                
          field 1 :  ___________________                                        
          field 2 :  ___________________                                        
          field 3 :  ___________________                                        
          field 4 :  ___________________                                        
          field 5 :  ___________________                                        
          field 6 :  ___________________                                        
          field 7 :  ___________________                                        
          field 8 :  ___________________                                        
          field 9 :  ___________________                                        
          field 10:  ___________________                                        
                                                                                
         We use 2 <enter> keystroke to back to 9th field.                       
                                                                                
                                                                                
                                                                                
                                                                                
--------------------------------------------------------------------------------
 Form : 1                                    Mode: replace      fore/background 
 Field: 1                              [9  ] Help: PF4            R:14 C:22     
Cursor positioned at (R14, C22)
'1'@'1'[10]:
'1'@'1'[9]:
'1'@'1'[8]:
'1'@'1'[7]:
'1'@'1'[6]:
'1'@'1'[5]:
'1'@'1'[4]:
'1'@'1'[3]:
'1'@'1'[2]:
'1'@'1'[1]:
+-+-+-+-+-END-OF-FILE-+-+-+-+-+
chmod 644 stdout
cat > tag <<'+-+-+-+-+-END-OF-FILE-+-+-+-+-+'
This test is used to test the edit command of the field including
create, shorten, lengthen, delete, undo, join, next, previous,
and edit extended field defination.
+-+-+-+-+-END-OF-FILE-+-+-+-+-+
chmod 644 tag
