Re: ldm and tcsh

Warren Togami <[email protected]>
Newsgroups gmane.linux.terminal-server.devel
Message-ID <[email protected]>
Vagrant Cascadian wrote:
> so, i've got this wonderful user who wants tcsh to work with ldm ...
> 
>   http://bugs.debian.org/490897
> 
> i've got a 3 line patch for ldm 2.0.6 and it shouldn't be hard to
> forward port that to current upstream ...
> 
> it basically amounts to pre-pending "env" to our LDM ssh calls.
> 
> anything that calls ssh via the tunnel and sets environment variables on
> the commandline would also probably have to do so.
> 
> and then switching the "kill -1 $PPID" approach to "exec sh kill -1
> $PPID" since $PPID isn't available as a variable in tcsh ... although it
> would be nicer to fine a cleaner way to handle that anyways.
> 
> so, do we want to support (t)csh? how many other shell languages, and
> what complications would this introduce?
> 

I am 100% against adding this patch.  Even if it works with bash/dash, 
this sets a bad precedent.  *csh is simply a different language that 
would back us into a corner, restrict our syntax in the future if we 
have to support both with the same scripts.

I think we should instead accept patches that would run with /bin/sh 
which should never be linked to csh or tcsh.

Warren Togami
[email protected]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_____________________________________________________________________
Ltsp-developer mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help,   try #ltsp channel on irc.freenode.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.