Re: How to escape this for the bash shell...

1999-08-04 Thread Ludovic Paquet


Nate Duehr wrote:
I have a file named :
?[4~?[4~?[4~?[4~?[4~?[4~?[4~?[4~?[4~?[4~
... in my home directory.
I am wondering how to escape this properly for rm to work on it in
bash.
Someone suggested using Midnight Commander, but it doesn't even list
it as showing up in the directory, so it obviously doesn't know what
to
do with it either!
Any shell-heads out there want to take a stab at it?  It's not
really
bothering me, but it's just sitting there at the top of every 'ls'...
(:
--
+---++
| Nate Duehr - [EMAIL PROTECTED]    | Support Amateur
Radio & Linux! |
| Private Pilot, Telephony Engineer |  Ham Callsign: N0NTZ  
|
| UNIX Hack, Perl Hack, Tech-Freak  |  Grid Square: DM79
|
| http://www.natetech.com  
| "May the Source be with you."  |
+---++
| HamRadio and Linux mailing lists available for interested parties:
|
|   
http://www.natetech.com/mailman/listinfo   
|
++
--
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]
< /dev/null
have you tried  "rm \?\?\?\?\?\[4~\?\[4~\?\[4~\?\[4~\?\[4~\?\[4~\?\[4~\?\[4~\?\[4~\?\[4~"
-- 
 \\\//
 / _   _ \
    (  O   O  )
===oOOO=(_)=OOOo===
PAQUET Ludovic

    e-mail : [EMAIL PROTECTED]
 
 telephone : 05-46-88-41-80
===Oooo.===
   .oooO   (   )
   (   )    ) /
    \ (    (_/
 \_)
 


Re: idiot's question on Xlib programming

1999-08-04 Thread Ludovic Paquet


[EMAIL PROTECTED] wrote:
I write a simple program but can't compile it. Below
is the program:
#include 
main()
{Display *d=XOpenDisplay(NULL);
  if(d==NULL)
   {printf("can't open display\n");exit(0);}  XCloseDisplay(d);
}
I use "gcc -I/usr/X11R6/include/X11 xhi.c" to complie it and get the
following message:
/tmp/cca002281.o: In function `main':
/tmp/cca002281.o(.text+0x9): undefined reference to `XOpenDisplay'
/tmp/cca002281.o(.text+0x45): undefined reference to `XCloseDisplay'
What's the problem? Please reply to [EMAIL PROTECTED] because I will
leave the list in a minute.
--
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]
< /dev/null

You can try to compile with "gcc -I/usr/X11R6/include  -L/usr/X11R6/lib/
-lX11 xhi.c"
The source code is:
 
 #include 
main()
{Display *d=XOpenDisplay(NULL);
  if(d==NULL)
   {printf("can't open display\n");exit(0);}  XCloseDisplay(d);
}
It works on my computer
 
 
 
-- 
 \\\//
 / _   _ \
    (  O   O  )
===oOOO=(_)=OOOo===
PAQUET Ludovic

    e-mail : [EMAIL PROTECTED]
 
 telephone : 05-46-88-41-80
===Oooo.===
   .oooO   (   )
   (   )    ) /
    \ (    (_/
 \_)