gleicher@b.gp.cs.cmu.edu (Michael Gleicher) (01/27/89)
I was hoping someone could answer some of these questions: 1) in the documentation, they explain how to set the titlebar title of a wsh window with escape sequences. Is it possible to set the icon title? 2) is it possible to specify where a wsh icon is to appear when it is iconified? Is it possible from the command line to have a wsh window start out iconified? 3) does anyone have a really good wsh termcap that would take advantage of all of its features? Better yet, a program like X's resize that would allow the host to inquire the terminal's size and set the termcap appropriately (for a BSD or Mach host which uses termcap not terminfo). (Yea, I know vt100 works OK, but it could be better by using highlighting and variable sizing.) 4) in xterm, the ALT key acts like an emacs meta key, and ctrl-space is and emacs set mark. Is it possible to have wsh exhibit these properties? There is code in /usr/NeWS/lib/NeWS/bindkey.ps that appears to handle the meta key, but we can't figure it out. I appreciate any and all help. I will summarize if solutions are found. Thanks, Mike Michael Lee Gleicher gleicher@cs.cmu.edu PhD Program, School of Computer Science Carnegie Mellon University, Pittsburgh, PA 15213-3890 -- Michael Lee Gleicher gleicher@cs.cmu.edu PhD Program, School of Computer Science Carnegie Mellon University, Pittsburgh, PA 15213-3890 --
kipp@warp.SGI.COM (Kipp Hickman) (01/31/89)
In article <4129@pt.cs.cmu.edu>, gleicher@b.gp.cs.cmu.edu (Michael Gleicher) writes: > > I was hoping someone could answer some of these questions: > > 1) in the documentation, they explain how to set the titlebar title of a > wsh window with escape sequences. Is it possible to set the icon title? Only from the command line. Using the ``-n name'' option. > > 2) is it possible to specify where a wsh icon is to appear when it is > iconified? Is it possible from the command line to have a wsh > window start out iconified? Currently the 4sight window system interface is very week. When it is replaced, it will be possible to do these sort of things. Translation: someday you can do this. > > 3) does anyone have a really good wsh termcap that would take advantage of > all of its features? Better yet, a program like X's resize that > would allow the host to inquire the terminal's size and set the > termcap appropriately (for a BSD or Mach host which uses termcap > not terminfo). > (Yea, I know vt100 works OK, but it could be better by using > highlighting and variable sizing.) The existing wsh termcap (3.1 ish) entry does all the stuff you are talking about. Also, the SIGWINCH stuff from BSD land is supported, as well as the companion ioctl TIOCGWINSZ. I am not sure which applications support this SIGWINCH stuff, but curses(3) does. I believe vi was busted in one of the releases, but is fixed in 3.1D. > > 4) in xterm, the ALT key acts like an emacs meta key, and ctrl-space is > and emacs set mark. Is it possible to have wsh exhibit these > properties? > There is code in /usr/NeWS/lib/NeWS/bindkey.ps that appears to > handle the meta key, but we can't figure it out. The wsh keyboard semantics are tied to the IBM RT keyboard semantics, with an international twist. The LEFT ALT key is the ``compose'' key found on internation keyboards. The 3.2 (this number is subject to change) version of wsh supports copy and send primitives for transferring data amongst wsh's. As for the meta key, it was only a preparation in the code you are referring to, not an actual capability. A final note. If you can stand using xterm, then since X is a supported product again, you can run xterm on your 4D series machine, at the cost of a few megabytes of memory. On a personal iris or the GT series machines, it runs ok. > > I appreciate any and all help. I will summarize if solutions are found. > > Thanks, > Mike > > Michael Lee Gleicher gleicher@cs.cmu.edu > PhD Program, School of Computer Science > Carnegie Mellon University, Pittsburgh, PA 15213-3890 Hope this helps. kipp hickman (kipp@sgi.com) silicon graphics inc.
rpaul@dasys1.UUCP (Rod Paul) (05/16/89)
So anybody noticed that when you log onto a graphics console under 4sight the baud rate (type stty) is 9600? When you invoke "wsh" and type "stty" the baud is shown as 34000. Hmmm what's going on here? /etc/gl/startconsole? calls wsh for the console window. Ok, so if stty says my console window is running at 9600baud, I must be able to change my other wsh's right? So I'll type "stty 300" which I understand to mean will reset my baud. stty now reports my speed to be 300, but it obviously isn't, I expect that the console window isn't running 9600 baud either. Why all the messing with baud rates? Well on my 4D/70G's I have no problem "rlogin"g onto my CS12, I can edit with "vi" fine with 66x80 wsh windows. Now, if I rlogin from my Personal (this puppy's got 16M real) to the server with large or small windows, there's often one hell of a delay on refreshing the window in "vi". Sometimes I can be moving the cursor up several lines before it gets refreshed. This is at the pace of a two-finger typist (notice that's not two-fingered). Allright, so maybe the news_server's got something to do with the stty thing, perhaps the smaller cache sizes on the IP6 add more to the mystery... but anybody out there having simmilar problems? Can anybody offer a solution? All of my machines are configured pretty much the same as far as my network is concerned, and the only machine that ain't a 4D is an Abekas A60. Appreciate responses... -- Rodian Paul | Big Electric Cat Public UNIX | Just say YES to UII ! ..!cmcl2!hombre!dasys1!rpaul |