Correctly maintain state when manipulating linked lists.  This fixes a bug that prevented the line-number buffer from working correctly.  AFAIK the bug is still present in other derivatives of more(1).
Correctly maintain state when manipulating linked lists.  This fixes a
bug that prevented the line-number buffer from working correctly.  AFAIK
the bug is still present in other derivatives of more(1).

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase