On Thu, Oct 18, 2001 at 06:24:28PM +0200, Moritz Moeller-Herrmann wrote:
> On Thu, Oct 18, 2001 at 03:34:27PM +0200, Andre Poenitz wrote:
> >On Thu, Oct 18, 2001 at 03:21:02PM +0200, Moritz Moeller-Herrmann wrote:
> >> I have to support some less clueful windows user who switched to lkinux
> >> because of me and stuff like this is a nightmare. ("Simple, just type ALT
> >> + F2 konsole [Enter] then rm ~/.lyx/lyxpipe.* After this restart lyx and
> >> pybliographer, aren't you glad you left windows?"]
> >
> >put them 
> >
> >alias lyx='rm -f ~/.lyx/lyxpipe.* ; lyx'
> >
> >into .bashrc...
> >
> >
> >But you certainly have a point here.
> 
> This as you point out, does NOT work for KDE desktops. And the people I
> transferred from Windows to KDE have no intention to use xterms :-)
> 

Then put in their .profile (or .bash_profile)

[ -p ~/.lyx/lyxpipe.in ] && rm -f ~/.lyx/lyxpipe.in
[ -p ~/.lyx/lyxpipe.out ] && rm -f ~/.lyx/lyxpipe.out

or if they are using (t)csh then in their .login put

if ( -p ~/.lyx/lyxpipe.in ) rm -rf ~/.lyx/lyxpipe.in
if ( -p ~/.lyx/lyxpipe.out ) rm -rf ~/.lyx/lyxpipe.out

-- 
Zvezdan Petkovic <[EMAIL PROTECTED]>
http://www.cs.wm.edu/~zvezdan/

Reply via email to