RE: [gtk+-2.6.7] configure problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



KC wrote:
> Hi,
> 
> If you are using csh, use "rehash" buildin command ... well, in fact,
> I'm not sure if csh have such command, but tcsh does.

Yes, my shell has this command. And it ("rehash -r")DOES work!
 
> To see what's your default shell, just look at the /etc/passwd file.
> I don't know any command which can report your login shell for you,
> but you can easily write one yourself by C language, just call
> getusershell() as following:
> 
> 
> #include <stdio.h>
> #include <stdlib.h>
> #include <unistd.h>
> 
> int main (int argc, char *argv[])
> {
>         printf("%s\n", getusershell());
>         exit(0);
> }

This test report "/bin/sh", is it csh?

Thank you, 

Regards,
Xu Qiang

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux