-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.23.0 Change to tryGetHome Breaks for tcsh #295
Comments
I have the same issue on servers where we are enforced to use csh. I can confirm that the proposal above to use backticks would work for us too. In the meantime I'm reverting to 1.22.0. Paul |
Same issue here, the servers we work on have a similar chsh situation and users are required to use csh/tcsh. The proposed solution should also work for us, in the meantime I'll also revert to 1.22.0 and direct others to do the same. Dylan |
Thank you for the advice on reverting to 1.22.0. I've had the same issue for connecting to a csh user on Solaris. Reverting to 1.22.0 is working. George |
Why's that? I've installed The latest build should fix this, although some quick testing shows it doesn't support Planning on releasing a patch version for this later tonight, i.e. max 5 hours from now. Seeing if I can by then set up shell detection and add more feature support. |
It appears that having However, for some reason this: This only occurs for me when using tcsh, not when using bash or csh, here's a comparison on my student server. I confirmed on a Vanilla WSL Ubuntu on my personal computer as well. (Sorry about using |
@emajekral Did you try the |
Looks good! I see the new |
Fix is released in v1.23.1 of the extension. VS Code should auto-update, but mind that you'll probably have to reload the window afterwards before it actually starts using the new version. The Extensions view should display a "Reload Required" button if that's the case, otherwise it should say v1.23.1 (or higher) for this extension. |
Hi,
I supervise labs for several hundred students who must use tcsh (chsh is disabled, sysadmin's choice not mine) and who I have directed to sshfs as a primary tool for remote file editing on our servers. The latest version, 1.23.0, changes the method to get home folders to:
echo "::sshfs:home:$(echo ~)\n"
which fails because $() does not exist in tcsh. As a result, my students are unable to connect when using 1.23.0 unless they set
'-CHECK_HOME'
, which is a bit much to ask from some of my beginners. The test you used in 1.22.0 works for us, so I've instructed my students to revert to that version for now. However, the following appears to work for both tcsh and bash on my systems:echo "::sshfs:home:`echo ~`"
and it requires no changes to the regex match() you are using. More testing is required of course, but since you are not nesting backticks, I think the two are roughly equivalent. Note though, that I had to remove the terminal
\n
from the outermost echo.Alex.
The text was updated successfully, but these errors were encountered: