maxPos ?-w win?
Return the position of the last character in the specified window. This is the number of characters in the window.