From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,b8d1377968c46a21 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-11-28 18:19:40 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!caen!uwm.edu!daffy!uwvax!sinetnews!news.u-tokyo.ac.jp!wnoc-tyo-news!wnoc-sfc-news!news.dec-j!jrd.dec.com!mets86.mse.tay.dec.com!pa.dec.com!mrnews.mro.dec.com!f14d.mro1.dec.com!alfred From: alfred@f14d.mro1.dec.com (Alfred von Campe) Newsgroups: comp.sys.dec Subject: Re: Alphastation 200 4/166 grumble... Date: 28 Nov 1994 23:08:45 GMT Organization: Digital Equipment Corporation Distribution: world Message-ID: <3bdntt$itr@mrnews.mro.dec.com> References: <3as8nr$pjq@due.uninett.no> <3att14$6f3@mrnews.mro.dec.com> <3aupe2$sen@due.uninett.no> Reply-To: alfred@hannah.enet.dec.com NNTP-Posting-Host: f14d.mro1.dec.com X-Newsreader: mxrn 6.18-26 In article <3aupe2$sen@due.uninett.no>, iversen@dsfys1.fi.uib.no (Per Steinar Iversen) writes: >No, just the terminal area, the fonts are fine. In fact this problem >can wedge a dxterm into a rather strange state. A simple test is to >capture (telnet vmsbox | tee vms.log ), and use, the escape sequence for >modifying the terminal area as supplied by VMS 6.1, by the command >"SET TERMINAL/WIDTH=132/PAGE=50". That's probably due to a race condition in dxterm that I haven't been able to track down. The easiest way to resize dxterm would be to just use the mouse or the keyboard (using Alt-F8 and the arrow keys if you are using mwm). This way you should never encounter this resizing bug. [BTW, any window manager other than mwm may also hide this bug somewhat.] If you rather not use the mouse or the keyboard, try the simple shell script below. It uses the same escape sequences as the VMS SET TERM command. The first parameter (if present) sets the number of rows and the second parameter (again if present) sets the number of columns. This shell script also exposes the resize bug, so you may have to repeat the command more than once to achieve the size you want. ----------------------------------- cut here ----------------------------------- #!/bin/sh if [ $1 ] then /bin/echo "\0233$1t" fi if [ $2 ] then /bin/echo "\0233$2\$|" fi ----------------------------------- cut here ----------------------------------- >Also dxterm will not display on an Ultrix 4.2/Motif Window Manager >Version 1.1.3 screen: This has nothing to do with the ULTRIX mwm version. What is probably happening is that you have a 24-plane card on the DEC OSF/1 system and an 8-plane card on the ULTRIX system (or vice-versa). Edit the ~/DXterm file, and remove all lines that contain the resource 'depth'. >There are other amusing features of this version of dxterm too, even on the >console it will not allow the use of the -size option, the size is always >the same 80x24 as specified in the DXterm resource file. This is another problem with dxterm's resource file. Again, edit the ~/DXterm file, and remove the lines containing the 'rows' and 'columns' resources. If you do this, then the -geometry and -size options will work correctly, and you may not have a need to resize your dxterms and run into the resize problems you mentioned. Because of these and other problems, my recommendations for using resource files with dxterm are as follows: 1. Do not use Save Options (or use it only to find out what the resource names are). 2. Do not use a ~/DXterm file 3. Hand edit the resource file 4. Always use the -setup switch to specify your own resource file I hope this helps, Alfred -- +-----------------------------------------------------------------------+ | US Mail: Alfred von Campe, 1105A Ridgefield Circle, Clinton, MA 01510 \ | Ma-Bell: (508) 365-3982 (H), (508) 467-9585 (W), (508) 467-9557 (fax) \ | Internet: alfred@hannah.enet.dec.com \ +---------------------------------------------+-----------------------------+ | Why is common sense so uncommon? | I'd rather be flying N4381Q | +---------------------------------------------+-----------------------------+