Application Acceleration With FPGAs
Programmable Acceleration Cards (PACs), DCP, DLA, Software Stack, and Reference Designs
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
422 Discussions

auto complete on tcsh and bash

ashishkkaul
New Contributor I
684 Views

Hi,

Could we get auto complete installed on the bash and tcsh shells?

Ashish

0 Kudos
11 Replies
Hazlina_R_Intel
Moderator
663 Views

Hi,

Can you let me know which Intel FPGA platform that you are referring to?

And what do you mean by "getting auto complete"?


-Hazlina


ashishkkaul
New Contributor I
660 Views

For example, when you are try to change directories, you can type 'cd' and then use TAB to find files or complete the full name of file or dir after typing first few letters. That is what I mean by auto completion.

It is not working on the bash shell.

Ashish

Hazlina_R_Intel
Moderator
634 Views

Noted.

I will have to defer this to the platform expert @Lawrence_L_Intel  - Can you please look into this issue on the Dev Cloud platform? 

-Hazlina

Lawrence_L_Intel
Employee
631 Views

Hmm, my bash with a single or double tab works fine for me. There is an article here about bash autocomplete that might help. I've never had to set anything special, it just worked out of the box.

https://www.cyberciti.biz/faq/add-bash-auto-completion-in-ubuntu-linux/

regards

Larry

ashishkkaul
New Contributor I
629 Views

Larry,

We are not allowed to run sudo and for me /etc/profile.d/bash_completion.sh does not exist.

============

Dear User,

this server does not allow you to run "sudo".

If you need to install a dependency, please put it in your home directory.
* For autotools, you can do it with "./configure --prefix=~/my-path"
* For Python packages, use "pip install <package_name> --user" or create a Conda environment.

Sincerely,
Admins

===========

cat /etc/profile.d/bash_completion.sh
cat: /etc/profile.d/bash_completion.sh: No such file or directory

Lawrence_L_Intel
Employee
622 Views

 I have never seen this one before.  What machine are you on? Perhaps you can save your various dot files .bashrc, .profile etc and copy the defaults from /etc/skel. Let me know if that  works. Thanks

ashishkkaul
New Contributor I
619 Views

This happens on X2GOClient. I am on machine s001-n189. It does not happen when I use a standalone terminal from XQuartz from example.

But there is no /etc/profile.d/bash_completion.sh in either case.

Ashish

Lawrence_L_Intel
Employee
613 Views

I tried x2go s001-n137 and its ok and autocompletes with X2go. can you type env > env.txt and send that file?

ashishkkaul
New Contributor I
603 Views

I have attached the file env.txt

Lawrence_L_Intel
Employee
600 Views

thanks for attaching ... the only thing that jumps out at me is SHLVL=6. that means you are 6 levels deep - perhaps try exiting out to SHLVL=1 . however that is just a guess I'll have to research more.

ashishkkaul
New Contributor I
598 Views

SHLVL=6 is what I get when I open a terminal on my x2goclient desktop.

Reply