layers hangs terminal
michael.s.cross
msc at cbnewsc.ATT.COM
Wed Jul 26 05:17:09 AEST 1989
In article <676 at msa3b.UUCP> writes:
>
>If I accidentally do the following
> login successfully
> start layers
> do inconsequential stuff
> ^D (without leaving layers)
>
>The layer is "dead". Since it is my only layer, the terminal is dead.
Using an EOT (^D) causes that shell to terminate. Make a new window or
exit layers. The keyboard might be "dead", but the mouse is still functional.
This can piss me off at times too. Especially when I exit ksh(1) on my
main window, but fortunatly the window that is created using "new" is a
24x80 window and I can use vi(1) from it just as well.
>After killing off all the "xt" entries and "layers" and "ksh" that I can
>find via "ps -e" from another terminal, the 630 is still dead. Turning the
>630 off and on does not help. It is not available again until the system is
>rebooted.
Try rebooting the 630 without killing any processes.
>Two questions:
> 1) How can I get my terminal back without a reboot?
Exit layers using the mouse. (see above)
> 2) How can I tell (in a shell script) if layers is active on my tty?
> (If I can set my prompt string, PS1 to say "LAYERS" I can
> avoid trying to logout while layers is running.)
I donno, maybe look for the "xt" and "layers" entries in the ps(1). (My system
says tty38 for a non-layers "window" and xt038 for a layers window.)
I use "layers -f .layerfig" to start layers. (.layerfig is a name I gave to my
layer configuration file) I can make windows any size, change the PS1 ...
As far as saying LAYERS, *I* just look at the two little boxes in the top
left-hand corner.
Oh, what the H, here's my .layerfig:
---8K--cut here-------
# /* ttrdc: .layerfig */
#
# /* Taken from page 4-7 of the 630 Users Guide */
#
# Top Corner is 6,6 and the bottom corner is 1018,1018
# Height is (No Lines)*(Font Height)+34
# Width is (No Columns)*(Font Width)+29
# Small Font is 7(wide)X14(High)
# Medium Font is 9(wide)X14(High)
# Large Font is 11(wide)X16(High) - (Default)
#
# |
# --> V
# Large Font: 80 Cols (x11+29)=909 14 Lines (x16+34)=258
# 24 Lines (x16+34)=418
#
# Up-R | Low-L |
# --> V --> V
#
917 6 1018 135 dmddemo clock
917 138 1018 246 dmdlock -a 8 -b -l -u -c
109 700 1018 958 cd ~/bin;swd;exec ksh
109 275 1018 533 cd $CBRE;swd;exec sh
---8K--cut here-------
Mike
--
Michael S. Cross (msc at ihc.ATT.COM) (312)-982-2018
AT&T Bell Laboratories, 5555 Touhy Ave., Skokie, IL 60077
________________________To Live is to risk Dying______________________________
More information about the Comp.sys.att
mailing list