summaryrefslogtreecommitdiff
path: root/mut/tabbed/xembed.1
diff options
context:
space:
mode:
authorMike Vink <mike@pionative.com>2025-01-19 14:03:13 +0100
committerMike Vink <mike@pionative.com>2025-01-19 14:03:13 +0100
commit883055eb4182cdb8ebf784a2171771de7334f95e (patch)
treef909a2c824a21050ce510b9603ba881a34167d66 /mut/tabbed/xembed.1
parent6d83cc53aa950a8f8e6c8fbabdda8abddebea027 (diff)
parenta481aa1ad86e16dcf3083734696bae29b5fd8ebb (diff)
Merge commit 'a481aa1ad86e16dcf3083734696bae29b5fd8ebb' as 'mut/tabbed'
Diffstat (limited to 'mut/tabbed/xembed.1')
-rw-r--r--mut/tabbed/xembed.135
1 files changed, 35 insertions, 0 deletions
diff --git a/mut/tabbed/xembed.1 b/mut/tabbed/xembed.1
new file mode 100644
index 0000000..5b0c28c
--- /dev/null
+++ b/mut/tabbed/xembed.1
@@ -0,0 +1,35 @@
+.TH XEMBED 1 tabbed\-VERSION
+.SH NAME
+xembed \- XEmbed foreground process
+.SH SYNOPSIS
+.B xembed
+.I flag command
+.RI [ "argument ..." ]
+.SH DESCRIPTION
+If the environment variable XEMBED is set, and
+.B xembed
+is in the foreground of its controlling tty, it will execute
+.IP
+command flag $XEMBED [argument ...]
+.LP
+Otherwise it will execute
+.IP
+command [argument ...]
+.LP
+.SH EXAMPLE
+In a terminal emulator within a
+.B tabbed
+session, the shell alias
+.IP
+$ alias surf='xembed -e surf'
+.LP
+will cause `surf' to open in a new tab, unless it is run in the background,
+i.e. `surf &', in which case it will instead open in a new window.
+.SH AUTHORS
+See the LICENSE file for the authors.
+.SH LICENSE
+See the LICENSE file for the terms of redistribution.
+.SH SEE ALSO
+.BR tabbed (1)
+.SH BUGS
+Please report them.