[25308] in Athena Bugs
sun4 9.2.21: enscript
daemon@ATHENA.MIT.EDU (Emilio C Silva)
Mon Nov 10 12:46:44 2003
Message-Id: <200311101746.hAAHkb6F007659@ulm-student.mit.edu>
To: bugs@mit.edu
Date: Mon, 10 Nov 2003 12:46:37 -0500
From: Emilio C Silva <emilio@mit.edu>
Errors-To: bugs-bounces@mit.edu
System name: ulm-student.mit.edu
Type and version: Ultra-5_10 9.2.21 (with mkserv)
Display type: m
Shell: /bin/athena/tcsh
Window manager: unknown
What were you trying to do?
running "enscript --help-pretty-print" to get documentation
for enscript's -E pretty printing option.
What's wrong:
I get the following message:
/mit/gnu/arch/i386_linux22/gbin/states: syntax error at line 1: `(' unexpected
What should have happened:
I should have gotten a list like this:
Highlighting is supported for the following languages and file formats:
Name: ada
Description: Ada95 programming language.
Author: Rolf Ebert <ebert@waporo.muc.de>
Name: asm
Description: Assembler listings.
Author: Markku Rossi <mtr@iki.fi>
Name: awk
Description: AWK programming language.
Author: Juergen Kahrs <Juergen.Kahrs@t-online.de>
Please describe any relevant documentation references:
I noticed the "i386_linux22" in the path, so I found out that
the configuration file for enscript
(/mit/gnu/etc/enscript.cfg) contains:
# Path for the states program.
StatesPath: /mit/gnu/arch/i386_linux22/gbin/states
I copied the file to $HOME/.enscriptrc, and changed this to:
StatesPath: /mit/gnu/arch/sun4x_56/gbin/states
This works, but will break when I sit on a Linux machine. I
tried using arch/$ATHENA_SYS, but then I get
sh: /mit/gnu/arch/sun4x_59/gbin/states: not found
because the file is only found on the sun4x_56
directory. Maybe you could make adequate symlinks and change
the configuration file to use $ATHENA_SYS.
_______________________________________________
Bugs@mit.edu
http://mailman.mit.edu/mailman/listinfo/bugs