On Mon, Feb 18, 2013 at 11:45 AM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:

> There is no way tmux will support -h or --help unless you can change the
> consensus on OpenBSD, or at least other common OpenBSD ports to Linux
> like OpenSSH.
>

For that I need the starting point.
Where is the current consensus documented?
Where to write to?


> However we already have "ambiguous command" matching:
>
> $ tmux lis
> ambiguous command: lis, could be: list-buffers, list-clients,
> list-commands, list-keys, list-panes, list-sessions, list-windows
>

That's a very cool usability feature. Actually, only hg supports that - svn
is written in C and therefore too slow to implement such stuff.


> So the most persuasive thing to implement would be to special-case "tmux
> help" to list all commands, or even to run "man tmux" if you think that
> is better. Although I think in the latter case you will need to explain
> why "tmux help" is easier than "man tmux" :-).


`tmux help` won't help much if the hint is not in this list:

usage: tmux [-28lquv] [-c shell-command] [-f file] [-L socket-name]
            [-S socket-path] [command [flags]]

But it is better than "man tmux", because if you forgot tmux argument or
command, you already have a "tmux something" in command line, so you only
need to erase "something" or insert "help" between "tmux" and "something" -
it is faster to do than retype the whole command. "tmux help command" also
acts as a natural filter giving you all the information you need, while
"man tmux" leaves you with digging the information you need yourself.

`tmux -h` will help better though, as it is much easier to type and `-h`
can be added after the commands as well.


>  On Mon, Feb 18, 2013 at 08:37:40AM +0000, Nicholas Marriott wrote:
> > "You don't want to do it" is not a good argument for changing it.
> >
> > A poll is not going to help. This is not a democracy. You need to give
> > reasons.
> >
> >
> >
> > On Mon, Feb 18, 2013 at 11:26:32AM +0300, anatoly techtonik wrote:
> > >    Yes. I think it needs to be changed. The other aspect that you
> probably
> > >    don't want to change, because you've used to it and therefore it is
> a work
> > >    that you're not interested in. I think the only solution here is to
> run a
> > >    poll as a proof to show that this behavior really provides a value
> (or
> > >    not).
> > >    --
> > >    anatoly t.
> > >
> > >    On Mon, Feb 18, 2013 at 11:23 AM, Nicholas Marriott
> > >    <[1]nicholas.marri...@gmail.com> wrote:
> > >
> > >      I do not think it needs to change. Do you?
> > >
> > >      On Mon, Feb 18, 2013 at 11:08:36AM +0300, anatoly techtonik wrote:
> > >      > ** **On Mon, Feb 18, 2013 at 12:44 AM, Nicholas Marriott
> > >      > ** **<[1][2]nicholas.marri...@gmail.com> wrote:
> > >      >
> > >      > ** ** **tmux is a BSD program and traditionally BSD programs do
> not
> > >      support -h,
> > >      > ** ** **--help or indeed any extended built-in help beyond the
> usage
> > >      string. You
> > >      > ** ** **should be able to see the tmux help with "man tmux".
> > >      >
> > >      > ** **That year this tradition comes down from?
> > >      > ** **Don't you think that things need to be changed?
> > >      > ** **In other word s- do you have arguments to keep the things
> as is
> > >      in 201x+?
> > >      > ** **--**
> > >      > ** **anatoly t.**
> > >      >
> > >      > References
> > >      >
> > >      > ** **Visible links
> > >      > ** **1. mailto:[3]nicholas.marri...@gmail.com
> > >
> > > References
> > >
> > >    Visible links
> > >    1. mailto:nicholas.marri...@gmail.com
> > >    2. mailto:nicholas.marri...@gmail.com
> > >    3. mailto:nicholas.marri...@gmail.com
>
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to