[HECnet] Need help with VT220 down-line loadable characters (DECDLD)

Johnny Billquist bqt at softjar.se
Sun Jul 21 22:09:42 PDT 2013


On 2013-07-21 22:30, Julian Wolfe wrote:

On Jul 21, 2013, at 2:18 PM, Johnny Billquist <bqt at softjar.se> wrote:


MIM::DU:[FED]

I tried building 'font.c' with PDP-11 C on RSTS, and got:

$ cc font.c
The following messages pertain to file SY:FONT.C
    81: %PDP11C-E-SYN_SYNTAXERROR,   Found { when expecting one of { "auto" "char"
            "const" "double" "enum" "extern" "float" "int" "long" "register" "short" "
            signed" "static" "struct" "typedef" "union" "unsigned" "void" "volatile" "
            globaldef" "globalref" "globalvalue" "noshare" "readonly" "variant_struct"
              "variant_union" "*" "(" identifier typedef-name }.
The following messages pertain to the entire compilation
    %PDP11C-E-SYN_FATALSYNTAX, Fatal syntax error.
    %PDP11C-I-OGN_NO_OBJ_PRODUCED, No object file produced
Message summary:   Informational 1     Warning 0     Error 2

Which C was this compiled with?   I can install DECUS C if I need to, but normally I use ANSI C because it is newer (1992) and claims to be ansi compliant.

Yes, this is for DECUS C... However, the code originally (very long time ago) was written for ANSI C. I hacked and changed some stuff to get it to compile under DECUS C. I think much of it should be conditionalized. However, I also use a routine or two written in MACRO-11 to do character based terminal reads without echo.
Look at the code, and fix it. :-)

	Johnny

-- 
Johnny Billquist                                   || "I'm on a bus
                                                                  ||   on a psychedelic trip
email: bqt at softjar.se                         ||   Reading murder books
pdp is alive!                                         ||   tryin' to stay hip" - B. Idol



More information about the Hecnet-list mailing list