
trim trailing slashes from path elements?

unicode support ?!

rio window size:
get rio window size in dos(1) into environment posted to windows box
and pick up this info in mc. later when we integrate wcpu we should
be able to open the relevant files ourselves to find the window size.

there is an underlieing assumption in haventfork that argv0 can be used to envoke rc
again without looking down the path. This may or may not be true but I will leave it for now.

rework #! handling - code is a bit ugly.



	CONSOLE_SCREEN_BUFFER_INFO csbi;

	if(GetConsoleScreenBufferInfo((HANDLE *)_get_osfhandle(fd), &csbi) != 0 &&
	   csbi.dwSize.X > 0)
		linewidth = csbi.dwSize.X;
