About: Command-line completion is a research topic. Over the lifetime, 3 publications have been published within this topic receiving 35 citations. The topic is also known as: tab completion.
TL;DR: In this article, a method for command line completion is proposed, which consists of a command, a flag and a partial input, executing the command using the flag and passing the partial input to the command.
Abstract: A method for command line completion comprises receiving a command line completion request from a user comprising a command, a flag and a partial input, executing the command using the flag and passing the partial input to the command, receiving an output from the command comprising valid completions of the partial input or an indication that no valid completions correspond to the partial input, and presenting to the user the valid completions or an indication that no valid completions correspond to the partial input.
TL;DR: A method of command line completion based on probabilistic models is described and an imprecise Dirichlet model is used to represent the assessments about all possible completions and to allow for learning by observing the commands typed previously.
Abstract: A method of command line completion based on probabilistic models is described. The method supplements the existing deterministic ones. The probabilistic models are developed within the context of imprecise probabilities.
An imprecise Dirichlet model is used to represent the assessments about all possible completions and to allow for learning by observing the commands typed previously. Due to the use of imprecise probabilities a partial (instead of a linear) ordering of the possible completion actions will be constructed during decision making. Markov models can additionally be incorporated to take recurring sequences of commands into account.
TL;DR: Every time the user enters a command, the OS updates the IDM, which results in a new IDM with a more precise expectationMt+1, which corresponds to a Markov model with an unknown transition matrixT .
Abstract: Every time the user enters a command, the OS updates the IDM. This results in a new IDM with a more precise expectationMt+1. We takeM0 to be the whole interior of Cn. We can make the assumptions about the user’s behavior more complex by allowing the multinomial distribution c over all possible completions to depend on the command typed on the preceding command line. This behavior corresponds to a Markov modelwith an unknown transition matrixT . Each row ofT will correspond to a multinomial distribution, conditional on the preceding command.