Rivoreo Source Code Repositories
src.rivoreo.one
/
tmux
/
3.1c
/
cmd-new-session.c
tag
0923530c9985244b1d0158ba0103f914a39499c7
tagger
Nicholas Marriott <nicholas.marriott@gmail.com>
Fri Oct 30 12:11:44 2020 +0000
object
25cae5d86f01d0deb050243842ed5d967b3dc411
3.1c
938ad5a
Use new window and new pane as well for -P to new-session or new-window.
by nicm
· 4 years, 7 months ago
2dbf062
Change new-session -A without a session name (that is, no -s option
by nicm
· 4 years, 11 months ago
647887b
Add a "latest" window-size option which tries to size windows based on
by nicm
· 5 years ago
4ca1de1
Add new-session -X and attach-session -x to send SIGHUP to parent when
by nicm
· 5 years ago
2c6c3a1
If only one of -x or -y is given, use the calculated size for the
by nicm
· 5 years ago
4acd345
Initialize default size variables, from Thomas Adam.
by nicm
· 5 years ago
dfb7bb6
Merge hooks into options and make each one an array option. This allows
by nicm
· 5 years ago
78287e2
Break new window and pane creation common code from various commands and
by nicm
· 6 years ago
028f9d1
Fix resizing of control clients, should be ignored until SIZECHANGED flag set.
by nicm
· 6 years ago
6469953
Support for windows larger than visible on the attached client. This has
by nicm
· 6 years ago
ff45b2d
Tweak previous - check for a NULL client and simplify manual text.
by nicm
· 6 years ago
b9a6162
Make server_client_get_cwd used (almost) everywhere we need to work out
by nicm
· 6 years ago
182357f
Expand formats in window and session names.
by nicm
· 7 years ago
17cf1b2
Pass flags into cmd_find_from_* to fix prefer-unattached, reported by
by nicm
· 7 years ago
11e2af6
Add -c for respawn-pane and respawn-window, from J Raynor.
by nicm
· 7 years ago
dbc8cae
Change so that sessions created detached (-d or no client) are always
by nicm
· 7 years ago
a4eaac3
new -A should use the session name.
by nicm
· 7 years ago
ee45a8a
Get rid of the extra layer of flags and cmd_prepare() and just store the
by nicm
· 7 years ago
2c0f826
Mouse bindings and hooks set up an initial current state when running a
by nicm
· 7 years ago
bba5887
Store state shared between multiple commands in the queue in a shared structure.
by nicm
· 7 years ago
6b2009a
Add a helper function for the most common format_create/defaults/expand pattern.
by nicm
· 8 years ago
c6a3446
Instead of numbering session groups, give them a name which may be given
by nicm
· 8 years ago
e67548d
Cancel key table when switching session, unless the key is going to
by nicm
· 8 years ago
7d23d01
Add a window or pane id "tag" to each format tree and use it to separate
by nicm
· 8 years ago
54309cc
Do not clear the key table when changing session on a client, so that
by nicm
· 8 years ago
4b2821f
Make update-environment an array as well.
by nicm
· 8 years ago
22a5289
Make options_get_string return const string.
by nicm
· 8 years ago
81f1d62
Do not stop dragging when the wheel is pressed, from Artem Fokin.
by nicm
· 8 years ago
bc27451
Move session-create hook out of session_create so it works with grouped sessions.
by nicm
· 8 years ago
41e633a
Use the notify name string instead of going via an enum and change
by nicm
· 8 years ago
b342bd0
Mass rename struct cmd_q to struct cmdq_item and related.
by nicm
· 8 years ago
ddc4512
Rewrite command queue handling. Each client still has a command queue,
by nicm
· 8 years ago
4289a1e
Trying to do hooks generically is way too complicated and unreliable and
by nicm
· 8 years ago
4d9e6ea
Some improvements and bug fixes for hooks:
by nicm
· 8 years ago
a81685b
Add static in cmd-* and fix a few other nits.
by nicm
· 8 years ago
c38e0a4
Do not use c->cwd or s->cwd if it is NULL, found by Ben Boeckel.
by nicm
· 9 years ago
bdb8bb7
Set up -t flag properly when passing new-session -A off to
by nicm
· 9 years ago
225a384
Fix new-session with -t after command flags changes, reported by Michael Graczyk.
by nicm
· 9 years ago
995af0e
I no longer use my SourceForge address so replace it.
by nicm
· 9 years ago
a3129fd
Instead of combined flags for -c, -s, -t, split into different sets
by nicm
· 9 years ago
ecfeee2
Use member names in cmd_entry definitions so I stop getting confused
by nicm
· 9 years ago
4a4daf1
Instead of every command resolving the target (-t or -s) itself, prepare
by nicm
· 9 years ago
5ed17e8
Add key-table option to set the default key table for a session, allows
by nicm
· 9 years ago
01831da
Add cmdq as an argument to format_create and add a format for the
by nicm
· 9 years ago
e0f26dc
Remove format_create_flags and just pass flags to format_create.
by nicm
· 9 years ago
ba7fb49
Fall back silently to ~ or / rather than checking -c with access(), this
by nicm
· 9 years ago
01defc9
Because pledge(2) does not allow us to pass directory file descriptors
by nicm
· 9 years ago
bf9c933
Like options, move the environ struct into environ.c.
by nicm
· 9 years ago
44657bf
Move struct options into options.c.
by nicm
· 9 years ago
07b0ea0
Break the common process set up, event loop and imsg dispatch code
by nicm
· 9 years ago
26a55dd
Remove some unnecessary checks before free().
by nicm
· 9 years ago
cfabe30
Add session_last_attached time and format, from Sina Siadat.
by nicm
· 9 years ago
57cc4d4
Make session_update_activity more useful and use it in more places.
by nicm
· 9 years ago
75d1005
Run status update on a per-client timer at status-interval.
by nicm
· 9 years ago
c4e811e
Add -E flag when attaching or switching client to bypass
by nicm
· 9 years ago
6b21296
Move the nested check from client to server and compare the client tty
by nicm
· 9 years ago
a55e569
Use RB_MIN to get the lowest index for the current window when creating
by nicm
· 9 years ago
95195f5
Rewrite of the target resolution internals to be simpler and more
by nicm
· 9 years ago
4946f74
Wrap all the individual format_* calls in a single format_defaults functions.
by nicm
· 10 years ago
4c42381
Move template defines back into .c files.
by nicm
· 10 years ago
45dfc5a
Instead of setting up the default keys by building the key struct
by nicm
· 10 years ago
b3e8d44
If multiple arguments are given to new-session, new-window,
by nicm
· 10 years ago
3e27be3
Set PATH explicitly, either from client or session
by nicm
· 11 years ago
bce9527
Remove some unnecessary includes and fix a typo.
by nicm
· 11 years ago
f182892
Change terminal-overrides to a server option (now that we have them), it
by nicm
· 11 years ago
7aeb447
Handle empty current directory more gracefully.
by nicm
· 11 years ago
909e1c1
Don't boke when figuring out working directory from configuration file.
by nicm
· 11 years ago
282c5f9
Alter how tmux handles the working directory to internally use file
by nicm
· 11 years ago
6c09301
Remove CMD_SENDENVIRON.
by nicm
· 11 years ago
43fb983
Add -P and -F to new-session.
by Nicholas Marriott
· 12 years ago
14fad6a
Add -A flag to new-session to make it behave like attach-session if the
by Nicholas Marriott
· 12 years ago
20636d9
Add a command queue to standardize and simplify commands that call other
by Nicholas Marriott
· 12 years ago
3a0016a
Use the CMD_*_USAGE defines consistently, from Thomas Adam.
by Nicholas Marriott
· 12 years ago
827b311
Use a utility function for common code to show errors in config file,
by Nicholas Marriott
· 12 years ago
ede8312
Make command exec functions return an enum rather than -1/0/1 values and
by Nicholas Marriott
· 12 years ago
df912e3
xfree is not particularly helpful, remove it. From Thomas Adam.
by Nicholas Marriott
· 12 years ago
682884e
Add a helper function to send ready message.
by Nicholas Marriott
· 12 years ago
37f9bb4
Add a helper function to open the terminal for attach-/new-session.
by Nicholas Marriott
· 12 years ago
4621034
Add notify hooks for various events, the functions are currently empty
by Nicholas Marriott
· 13 years ago
8363d19
Move window name changes into wrapper function window_set_name, from
by Nicholas Marriott
· 13 years ago
179d068
For initial session, use size of command client even if detached.
by Nicholas Marriott
· 13 years ago
ec89eb9
Change so that an empty session name always means the current sessions
by Nicholas Marriott
· 14 years ago
5d519ba
Add a flag to cmd_find_session so that attach-session can prefer
by Nicholas Marriott
· 14 years ago
8ec3e57
Don't require -d with -x or -y since it could be in the config file.
by Nicholas Marriott
· 14 years ago
4f34e25
Support -x and -y for new-session to specify the initial size of the
by Nicholas Marriott
· 14 years ago
7502cb3
Clean up and simplify tmux command argument parsing.
by Nicholas Marriott
· 14 years ago
04b32fa
Don't reset the activity timer for unattached sessions every second,
by Nicholas Marriott
· 14 years ago
9358cfa
Use pointer rather than index for the client's last session.
by Nicholas Marriott
· 14 years ago
51487ed
Track the last session for a client and add a flag to switch-client and
by Nicholas Marriott
· 14 years ago
07a71fd
Store the current working directory in the session, change the default-path
by Nicholas Marriott
· 14 years ago
ac9daf9
Merge copy mode and output mode, dropping the latter. Idea and code from
by Nicholas Marriott
· 15 years ago
2521102
Display -t argument to new-session, from Tiago Cunha.
by Nicholas Marriott
· 15 years ago
4651180
Use the array.h code for the causes list.
by Nicholas Marriott
· 15 years ago
8aba77b
Instead of bailing out on the first configuration file error, carry on,
by Nicholas Marriott
· 15 years ago
15a64b8
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
by Nicholas Marriott
· 15 years ago
4ca857e
Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to
by Nicholas Marriott
· 15 years ago
76ef877
Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the
by Nicholas Marriott
· 15 years ago
2756437
Only need to chmod +x or -x the socket when a client is created, lost or
by Nicholas Marriott
· 15 years ago
9dd72b9
Add "grouped sessions" which have independent name, options, current window and
by Nicholas Marriott
· 15 years ago
6fab9a3
Use KEYC_NONE constant instead of 0 on init.
by Nicholas Marriott
· 15 years ago
Next »