summaryrefslogtreecommitdiff
path: root/tabbed/xembed.1
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-09 16:47:34 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-09 16:47:34 +0900
commit7b4b09db1548e6bb6bc60ca64968b24dc2996967 (patch)
tree5052e88384bcfc2da3b207de1ac4cdcb7a8a2245 /tabbed/xembed.1
parent28729f1f7e4cdef4534d969733b9178cd689418e (diff)
created tabbed/
Diffstat (limited to 'tabbed/xembed.1')
-rw-r--r--tabbed/xembed.135
1 files changed, 35 insertions, 0 deletions
diff --git a/tabbed/xembed.1 b/tabbed/xembed.1
new file mode 100644
index 0000000..5b0c28c
--- /dev/null
+++ b/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.