Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!wuarchive!uunet!timbuk!bobo From: bobo@pecan15.cray.com (Bob Kierski) Newsgroups: comp.windows.x Subject: Re: How to specify Xterm icon position in command line? Message-ID: <164522.12631@timbuk.cray.com> Date: 19 Dec 90 23:15:22 GMT References: <47975@siemens.siemens.com> Reply-To: bobo@pecan15.cray.com (Bob Kierski) Distribution: usa Organization: Cray Research, Inc. Lines: 52 In article <47975@siemens.siemens.com>, samaddar@demon.siemens.com (Sumitro Samaddar) writes: |> |> I need some help here. |> |> (a) I can, of course, move the icons with the mouse. |> However, how does one specify the icon position in the command line? |> The "geometry" option can specify only the size and position of the actual |> xterm and not for it's icon. |> |> In SunView/OpenWindows, the icon positions for ShellTool/CmdTool can be |> specified using "-WP" option. I think there is another way... But the way I do it is xterm -xrm "*IconX: ___" -xrm "*IconY:___" |> |> (b) In SunView/OpenWindows, the title bar for ShellTool/CmdTool can be |> altered by using the alias : |> alias header "echo -n "^[]l!*^[\" |> and then using the command : |> header where is any string. |> I use this to display the current user/machine/directory on the title bar. |> However, I have not been able to use this on an xterm. echo -n "^[]0;\!*^G" works. The 0 after ] indicates that both the icon label and window label are to be changed. Have a day, @ @ ( ) bobo \___/ Robert J. Kierski Network Quality Test and Evaluation Cray Research, Inc. >>> We do windows <<< 655F Loan Oak Drive Eagan, MN 55121 PHONE: (612) 683-5874 EMail: bobo@pecan.cray.com Fax: (612)683-5599 -- Have a day,