Date: Sat, 26 Aug 95 11:05:37 EST From: Dwight McKay (The Moderator) Reply-To: Suns-at-Home@harbor.ecn.purdue.edu Subject: Suns-at-Home Digest V8 #22 To: Suns-at-Home-List Suns-at-Home Digest Sat, 26 Aug 95 Volume 8 : Issue 22 Today's Topics: Garbage during connection with modem monitors for a P4 CG6 Problem solved: uucico crashing and dumping code sending control-d to printer (3 msgs) Serial ports on a SS5? SUN 2.120 Exception 10 Error X build on Sun3 +--------------------------------------------------------------------+ | Submissions: suns-at-home \ | | Requests: suns-at-home-request > @net-kitchen.com | | Archives: suns-at-home-archives / | +--------------------------------------------------------------------+ ---------------------------------------------------------------------- Date: Tue, 22 Aug 1995 09:03:29 +0200 From: leideck@othello.informatik.uni-mannheim.de Subject: Garbage during connection with modem To: suns-at-home@net-kitchen.com Hello. First my environment. At my work place i have telelink ims 08 faxmodem with 14.400bps. At home i have a discovery 28.8bps modem. On both machines i have solaris2.4 running with the zs,zsh patch and hardware flow control. Now the problem: If i connect my work host from home all seem to be ok. If i connect my home host from work following appears ... atx1dt0,xxxxxxxx CONNECT 14400 ECECECECECECECECECEC?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~ ?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~ ?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~ ?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~ ?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~ ?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~ ?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~ ?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~ ?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~?~ ?~?~?~?~?~?~?~?~?~?~?~ .... login: ... and after logout wolfgang:~> logout "9] rt:nW~\;N<_|~<=?\{o~zN\GO=W/?~~~>_n^]<>~_Z.?Gwo~~=>O.\Z?~}\}~O_~wO~_|Oo\o~ /=|]?_n9\w>=^][_?|^XgN]nW~/^~n\g|]?^|~}\]__=_o]/o]>=_?% @gn\O<^>^|\|?G}^^_OW|g?^~n\//==}g~_|OnO> Ow\>|~n\~_?]|?|_Oo?O^.>Gw\.|__=_oO\?^~.]~n^]O/_ ~?O^g/.g?O=o?>]?|?O\=o_~No~_.<|=>><._w<_^G_Gn?o?_o_}OON=^_^w ~o~O?N|n\n<_gO>|Oo}_}\_/^G^||o=]n^_>>^~O_?<\]o?^\~_>|W.g~]o> On^~_>w\/o_n>|_>~\.<_^Wgn|~??>]>?>]/o~_ Whats wrong here? I use kermit 5a(190). Thanks in advance Wolfgang - ------------------------------ Date: Sun, 20 Aug 1995 16:49:27 UTC From: nsayer@quack.kfu.com (Nick Sayer) Subject: monitors for a P4 CG6 From: kykim@access.digex.net (kevin kim) >can anyone out there name some PC (i.e. cheap) monitors that will work with >a CG6? I have an NEC 5fg that works just fine. Just about any multisync monitor will work. -- Nick Sayer | - ------------------------------ Date: Sat, 19 Aug 1995 21:28:26 -0400 (EDT) From: "R. D. Davis" Subject: Problem solved: uucico crashing and dumping code To: suns-at-home@net-kitchen.com Greetings, Thanks to all who replied to my posting about uucico crashing and dumping core. After carefully checking all the obvious things, all the uucp related files, checksums, etc., the problem turned out to be my passwd file. The passwd file was the only relevant file that had changed just before the uucp problem started. Although I had looked the passwd file over, the problem wasn't immediately obvious to me; I didn't notice that there was a blank line at the beginning of the file... that's the problem with not using line-editors like ed... a first blank line somewhere isn't always obvious. All the logins worked, but... this caused uucp and uucico choke on that line. -- R. D. Davis Eccentrics have more fun! :-) http://www.access.digex.net/~rdd rdd@digex.net, rdd@mystica.uucp Vintage computer preservationist. Home telephone: 1-410-744-7964 Unwanted computer systems disassembled Work (play!) telephone: 1-410-744-4900 and removed for free. - ------------------------------ Date: Sat, 19 Aug 1995 06:29:38 -0400 From: ron@mlfarm.com (Ronald Florence) Subject: sending control-d to printer To: Suns-at-Home@net-kitchen.com Gary Sabot writes: Can someone tell me how to automatically send a control-D to the printer after each job? The code below may be more than you need: our printer (HP + PacPage Cartridge) auto-switches between Postscript and line-printer mode, so the `if' filter detects whether the file is Postscript and sends the necessary initialization code. For Postscript-only printers, the `if' filter could be as simple as: #! /bin/sh cat - /usr/5bin/echo "004\c" -- Ronald Florence ----------[/etc/printcap]---------- lp|ps|depens-printer:\ :lp=/dev/ttyb:br#19200:sh:mx#8000:\ :ms=-parity,-ixon,-ixoff,crtscts,cs8,-cstopb,-clocal,-cread:\ :if=/usr/local/bin/lpIIp:lf=/usr/adm/lpd-errs: -----------[eof]----------- ----------[/usr/local/bin/lpIIp]---------- #! /bin/sh # # lpfilter for Pac-Page Cartridge # checks for HP-PCL vs. Postscript, sends switch sequence for PCL, # ends with ^D for Postscript or clear sequence for PCL # # the IFS declaration prevents the read from mis-parsing the initial # line, and /usr/5bin/echo enables escapes like \004 or \033. IFS='' Echo=/usr/5bin/echo UEL="\033%-12345X" read first_line case $first_line in %!*) byebye="\004\c" ;; *) byebye=$UEL; $Echo "$UEL@PJL ENTER LANGUAGE=PCL\r" ;; esac $Echo $first_line cat - $Echo $byebye -----------[eof]----------- - ------------------------------ Date: Sat, 19 Aug 1995 13:23:59 -0400 From: ron@mlfarm.com (Ronald Florence) Subject: sending control-d to printer To: Suns-at-Home@net-kitchen.com Oops. The simple Postscript `if' filter should be: #! /bin/sh cat - /usr/5bin/echo "\004\c" not as I previously posted. Sorry for any inconvenience. -- Ronald Florence - ------------------------------ Date: Mon, 21 Aug 95 14:45:37 -0400 (EDT) From: woods@most.weird.com (Greg A. Woods) Subject: sending control-d to printer To: gary@sabot.com (Gary Sabot) from Suns-at-Home Digest V8 #21 > Date: Mon, 17 Jul 95 12:39:44 EDT > From: gary@sabot.com (Gary Sabot) > Subject: sending control-d to printer > > I have a postscript HP printer that expects to receive a control-d to > mark the end of each print job that it receives. Without it, it > thinks the job times out, which is an error, and it prints an error > page. I know I can change the timeout to infinity, or turn off error > pages, but I'd like to do this the right way. The best way to print to a PostScript printer when using the lpd spooler is with James Clark's lprps. Lprps contains a driver program that talks to your printer and does all the proper things a spooler is supposed to do, including ensuring all the ^D's are echoed before closing the job, and that there is indeed a final ^D. It mails any errors back to the submitter, and it logs the number of pages each job generated. It's available on: ftp://ftp.jclark.com/pub/lprps/lprps-2.5.tar.Z and with some minor fixes on: ftp://ftp.weird.com:/pub/lprps-local-2_5-sunos4-v1.tar.Z -- Greg A. Woods +1 416 443-1734 VE3TCP robohack!woods Planix, Inc. ; Secrets of the Weird - ------------------------------ Date: Sat, 19 Aug 1995 13:03:15 -0400 (EDT) From: Jacob C Freifeld Subject: Serial ports on a SS5? To: Suns-at-Home@net-kitchen.com I am trying to setup a modem and a printer on serial ports a and b on my new Sparcstation 5. I have done what the Sysadmin book I have said when it comes to configuring /etc/ttytab and /etc/gettytab. The ports still don't work. What am I doing wrong? Any hints? -Jake - ------------------------------ Date: Fri, 18 Aug 95 22:18:50 PDT From: perryh@pluto.rain.com (Perry Hutchison) Subject: SUN 2.120 Exception 10 Error To: jerickso@silver.sdsmt.edu > Date: Sun, 13 Aug 1995 15:50:20 -0600 > From: Jason Erickson > Subject: SUN 2/120 Exception 10 Error > > I've recently aquired a SUN 2 system and I have been having some problems > installing the OS from TAPE. The computer goes through the power-up test > sequence successfully and then I break the boot sequence to get into the > ROM Monitor. When I try to format a drive by loading MUNIX from the SCSI > Tape Drive (595-1025-01) with the 'b st(0,0,4) -asw' command, the tape drive > spins for a few seconds and then displays an EXCEPTION 10 Error ... On my 3/60, the boot rom can't directly load a program longer than one physical tape block. I have to 'b st()' to load the tpboot program, and then enter the device, file number, and switches at the Boot: prompt, like this Boot: st(0,0,4) -asw Maybe the 2/120 is similar? - ------------------------------ Date: Mon, 21 Aug 1995 09:38:11 -0700 (PDT) From: "Anthony D'Atri" Subject: X build on Sun3 To: suns-at-home@net-kitchen.com >so that the '-m68881' flag is >passed to the code generator. I don't know whether this will bring any >benefits, but it's worth trying to squeeze every last drop of performance >out of the machine. I remember some time ago (R4 or R5-days) reading the claim that the X distribution was overwhelmingly integer, and the only place where FP hardware really made much difference was in miarc.c, and then only if you drew a lot of arcs. The wisdom seemed to be to use -fsoft if one had machines without 6888x's, or to use -f68881 and populate any that lacked one. - ------------------------------ End of Suns-at-Home Digest ******************************