summaryrefslogtreecommitdiff
path: root/pim/rc/showwin
blob: d71546ba8d9b67ab783849864996ff76ecf68e0e (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/rc
# pim/showwin -- show an event in a window and stay there.
#
# rio closes a window when its command exits, so this leaves an
# interactive shell behind: the event stays up while you carry on
# elsewhere, and the window is still a window.
rfork e
pim/show $*
echo
exec rc -i