I just googled "zoc" and came up with a
telnet client. OK, now I'm trying to figure out how you got a "window" without a GUI...
In most window-managers that I know of, you either have handle-grips on the side or bottom of the window to click on and you drag to a new size, or you press "alt" while right-clicking anywhere on the window and drag it to resize, or "alt" + left-click anywhere on the window to move it. But I'm increasingly getting the suspicion that this isn't what we're talking about...