Seeding from the 1.2 tree.

This commit is contained in:
Dan Mashal
2013-01-01 03:00:55 -08:00
parent d8c87c4ded
commit 87b806a563
1424 changed files with 260320 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
Synopsis:
$chanwin(<window refnum/name>|<channel>)
$winchan(<window refnum/name>|<channel>)
Technical:
These functions are identical. They return one of either a window refnum
or a channel name based on the arguments passed.
Returns:
window refnum where <channel> resides if <channel> was passed
or
name of the current channel in <window refnum/name> if a window was passed
Examples:
/window refnum 2;/join #epic
eval echo $winchan(2) /* returns #epic */
eval echo $winchan(#epic) /* returns 2 */
Other Notes:
These functions were once separate, but caused much confusion based on
their name in early versions of EPIC4.