Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC830919); site mcvax.UUCP Path: utzoo!linus!philabs!mcvax!jaap From: jaap@mcvax.UUCP (Jaap Akkerhuis) Newsgroups: net.unix-wizards Subject: Re: 4.1bsd vs. Versatec V80 Message-ID: <5406@mcvax.UUCP> Date: Fri, 30-Sep-83 11:52:07 EDT Article-I.D.: mcvax.5406 Posted: Fri Sep 30 11:52:07 1983 Date-Received: Fri, 7-Oct-83 02:43:40 EDT References: <889@watcgl.UUCP> Organization: Math.Centre, Amsterdam Lines: 51 Come on folks, the V-80 is not a varian look-a-like. It will not recognise f.i. a `\f'. Making weird changes in the system is something you don't want, just two minutes editing is enough. What you must do is to change vcat etc. If the flag `wide' is used, vcat is for the Versatec. The difference between the V-80 and the `wide' Versatec is that the V-80 is as wide as the varian. So one just needs to remove the lines as indicated. case 'W': /* Wide: the versatec. */ varian = 0; #ifndef V80 BYTES_PER_LINE = VP_BYTES_PER_LINE; BUFFER_SIZE = VP_BUFFER_SIZE; #endif break; (This code is from vcat.c 4.1BSD around line 380, but it works with the other filters as well) Note that in 4.2BSD the documentation tells you it will support the 11'inch Versatec as well. In fact, it will then decided it is a varian. To do it properly do around line 360 something like: char *hostarg = NULL; char *acctfile = NULL; #ifdef V80 int versatec = 0; #endif #ifdef V80 if (argv[0][strlen(argv[0])-1] == 'W') { /* Wide: the versatec. */ versatec++; } #endif while (--argc) { if (*(*++argv) == '-') switch (argv[0][1]) { case 'x': BYTES_PER_LINE = atoi(&argv[0][2]) / 8; BUFFER_SIZE = NLINES * BYTES_PER_LINE; #ifdef V80 if(!versatec) #endif varian = BYTES_PER_LINE == 264; (vcat.c from 4.2BSD, of course, getting 4.2BSD is another problem) and vcatW is the proper filter for all the Versatec's. jaap akkerhuis, {decvax,philabs,ukc}!mcvac!jaap