nonethefewer: (Default)
Chris ([personal profile] nonethefewer) wrote2009-12-03 08:31 am
Entry tags:

(no subject)

In Linux on this one box, I run sudo latex file.tex.  Sometimes I forget the sudo in a folder where I don't have permission to create new files, and it hangs.

(This is on a server where I'm a sort of advanced guest, so yes, the sudo is necessary.)

[christina@192 test]$ latex file.tex
This is TeX, Version 3.14159 (Web2C 7.4.5)
! I can't write on file `file.log'.
Please type another transcript file name: !


How the eff do I quit out of that?

[identity profile] dr-memory.livejournal.com 2009-12-03 04:46 pm (UTC)(link)
If it won't respond to interrupt (control-c), try suspending the job (control-z) and then killing it ("kill %1").

Then "man bash" and read the section entitled "JOB CONTROL". Lot of funky stuff there.

[identity profile] hitchhiker.livejournal.com 2009-12-03 09:51 pm (UTC)(link)
if all else fails, open another terminal and killall -9 latex