Re: Printing with syntax highlighting

2001-03-11 Thread Glynn Clements
Sanchet Surendra Dighe wrote: > It prints the file in postscript. Then your printing is misconfigured. Likely problems are that the PostScript is being fed through a text-to-PostScript filter, or that the printer isn't actually a PostScript printer (e.g. it's not in PostScript mode). > In addi

Re: Printing with syntax highlighting

2001-03-11 Thread Mike
Sanchet Surendra Dighe wrote: > Hi, > > How do I print a C-file with the syntax highlighting on a postscript > printer ? Is there any utility available for that ? There's a utility called a2ps that does that. It should be findable via freshmeat or any of the other common sites. -- Mike Werner

gPhoto and modems - just curiosity

2001-03-11 Thread Razvan Sandu
Dear Sirs, I was using the excellent gPhoto program that is shipped with RedHat Linux - the program that is able to unload a picture taken with a digital camera in computer. And I suddenly become curious if someone thought about using a code of this type for a similar operation (see below). I'm n

Re: Disk usage

2001-03-11 Thread Steven Smith
> I've been trying to find a way to get, for each sub-directory of a given > directory, the total amount of disk-space used up by that sub-directory and > all its sub-sub-directories. If you just want subdirectories, try: du -hs `for x in *; do if [ -d $x ]; then echo $x; fi; done` If you wan

Replicating users ?

2001-03-11 Thread Renaud OLGIATI
I have converted the local Anglican Church Bishop to Linux: His Grace was worried about pirated software being used on the diocese's computers, and I pointed out to him the perfect answer: Avoid the Gates of Hell, run Linux ;-) So I have now been volunteered to install Linux as the new compute

Disk usage

2001-03-11 Thread Renaud OLGIATI
Hi all, I've been trying to find a way to get, for each sub-directory of a given directory, the total amount of disk-space used up by that sub-directory and all its sub-sub-directories. Is there a way to do this with du , Or any other way ? I dont need/want the breakdown with all the sub-sub

where to Install LILO boot record

2001-03-11 Thread Shaggy Im-erbtham
At the end of a Linux install, it asks where we want to install LILO boot record. The choices are: /dev/hdamaster boot record /derv/hda1 first sector of boot partition What difference does it make, between the two? TIA Shaggy - To unsubscribe from this list: send the line "unsubsc

Re: Printing with syntax highlighting

2001-03-11 Thread Sanchet Surendra Dighe
Hi, It prints the file in postscript. In addition, I want the keywords to get highlighted - bold, italics, etc. Is it possible to get it in xemacs ? -Sanchet -- Glynn Clements <[EMAIL PROTECTED]> wrote: > >Sanchet Surendra Dighe wrote: > >> How do I print a C-file with the syntax highlighting o

Re: Printing with syntax highlighting

2001-03-11 Thread Glynn Clements
Sanchet Surendra Dighe wrote: > How do I print a C-file with the syntax highlighting on a postscript > printer ? Is there any utility available for that ? XEmacs has "M-x ps-print-buffer-with-faces", although you will probably want to do "M-: (defun ps-set-bg (color) nil)" first if your default

Printing with syntax highlighting

2001-03-11 Thread Sanchet Surendra Dighe
Hi, How do I print a C-file with the syntax highlighting on a postscript printer ? Is there any utility available for that ? -Sanchet - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.linux