Try using STRING instead of TEXT if TEXT doesn't exist in the targets list. This might solve trouble cutting in X, pasting to Windows when source OS is (FJK-)IRIX. There is still a need for better code when selecting format. This is a quick hack.