protected int convertInput(int i)	{
		if (i == '\r')	{
			wasCr = true;
			newLine();
		}
		else	{
			if (i == '\n')	{
				if (wasCr == false)	// on UNIX
					newLine();
				else	// on WINDOWS, ignore \n after \r, but adjust previous line length
					lineLengths.set(
							lineLengths.size() - 1,
							new Integer( ((Integer) lineLengths.get(lineLengths.size() - 1)).intValue() + 1 )
							);
			}
			else	{
				storeRead(i);
			}
			wasCr = false;
		}

		scanPoint = null;	// force new scan point calculation
		return i;
	}