Perhaps by including the following in .bashrc ?

tkcvs() {
        if [ -n "$DISPLAY" ]; then
                set CVSROOT=whatever; tkcvs
        fi
}

(Is that the correct syntax ?)

> How can i set an environment variable under an x11 session (not
> a specific xterm under x) so that they work for programs not
> opened through a terminal ( for example the CVSROOT var for
> tkcvs)
> 




Reply via email to