| Author |
Message |
|
|
Post subject: Enabling auto-complete in QNX terminal
Posted: Apr 14, 2008 - 11:32 PM
|
|
Active Member
Joined: Sep 01, 2006
Posts: 23
|
|
I recently installed QNX Neutrino RTOS from the 6.3.2 Momentics CD.
I noticed that there is no auto-complete on the shell prompt (terminal window) in the Photon GUI.
How can I enable the auto-complete. As you may know it is very cumbersome to type commands. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Enabling auto-complete in QNX terminal
Posted: Apr 15, 2008 - 12:36 AM
|
|
QNX Master
Joined: Sep 01, 2002
Posts: 2783
|
|
| There is ESC-ESC if that is what you mean? |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: RE: Enabling auto-complete in QNX terminal
Posted: Apr 15, 2008 - 12:54 AM
|
|
Active Member
Joined: Sep 01, 2006
Posts: 23
|
|
|
mario wrote:
There is ESC-ESC if that is what you mean?
Thanks for the reply. The ESC-ESC that you mentioned answers a part of my question. My understanding is that ESC-ESC just completes the command but it is not forward looking. For example, if I just want to see the contents of the /root directory without actually "cd"-ing into it, I cannot do it.
# ls /root (Now if I press ESC-ESC it won't show me the output)
The feature that I am talking about is the same which is there in all Linux Distributions and also on UNIX systems. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Enabling auto-complete in QNX terminal
Posted: Apr 15, 2008 - 12:27 PM
|
|
QNX Master
Joined: Sep 01, 2002
Posts: 2783
|
|
| That feature is not available. It is most probably a feature of the shell ( bash maybe ), it should be possible to install bash under QNX6 ( never done it myself ). |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Enabling auto-complete in QNX terminal
Posted: Apr 17, 2008 - 06:06 PM
|
|
QNX Master
Joined: Aug 31, 2004
Posts: 181
Location: Ottawa
|
|
| really? it works for me - ls /bin/l<esc>? |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: RE: Re: RE: Enabling auto-complete in QNX terminal
Posted: Apr 17, 2008 - 06:09 PM
|
|
Active Member
Joined: Sep 01, 2006
Posts: 23
|
|
|
cburgess wrote:
really? it works for me - ls /bin/l<esc>?
Based on suggestion of Mario, I installed bash and I was able to get the feature that I was looking for. cburgess, not sure what shell are you using? |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: RE: Re: RE: Enabling auto-complete in QNX terminal
Posted: Apr 17, 2008 - 09:05 PM
|
|
QNX Master
Joined: Sep 01, 2002
Posts: 2783
|
|
|
cburgess wrote:
really? it works for me - ls /bin/l<esc>?
Well you learn something everyday ;-)
Thanks Colin. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Re: RE: Enabling auto-complete in QNX terminal
Posted: Apr 18, 2008 - 11:59 AM
|
|
Senior Member
Joined: Jul 22, 2004
Posts: 333
|
|
Actually autocompletion will work, but not showing the possible values for autocompletion if there are more than one.
At least not in the default shell with default setup. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Re: RE: Enabling auto-complete in QNX terminal
Posted: Apr 18, 2008 - 04:11 PM
|
|
QNX Master
Joined: Sep 01, 2002
Posts: 2783
|
|
| With <esc>? it does how all possible values, and as far as I know I'm using the default setup. |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: RE: Re: RE: Re: RE: Enabling auto-complete in QNX termin
Posted: Apr 18, 2008 - 05:56 PM
|
|
Active Member
Joined: Sep 01, 2006
Posts: 23
|
|
|
micro wrote:
Actually autocompletion will work, but not showing the possible values for autocompletion if there are more than one.
At least not in the default shell with default setup.
Yes, I am seeing the exactly same behavior. |
|
|
| |
|
|
|
 |
|
|