🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #333

Re: Stuff printed _very_ slowly to stderr in compilation mode on Decstation

#333
From: Dipankar Gupta
Date: Mon, 05 Oct 1992 10:47
42 lines
1599 bytes
Shankar Unni wrote:

   Nelson Minar (nelson@reed.edu) wrote:

   > ObEpochUnimplementedIdeas
   >   gnuserv that pops up new windows

   You can fix this in one of two ways:

   - Add an option to "gnuclient" so that it sends a
     "(find-file-other-screen)" command instead of "(find-file)".

   [...elided...]

Don't need to modify gnuclient either. Apart from a bit of pathname
gunk, you can use gnudoit instead. Here's a bit of /bin/ksh code:

function gnu_edit {
  if (( $# == 0 ))
  then
    echo "Usage: gnu_edit <fileName> [<fileName> ...]"
  else
    for i in $* 
    do
      if [ ${i#/} = $i ]
      then
	# We are editing a file with a soft name
	FileName=$PWD/$i
      else
        FileName=$i
      fi
      gnudoit "(find-file-other-screen \"$FileName\")" >> /dev/null 2>&1
    done
  fi
}

Cheers,

Dipankar
[Hi, Shankar!]
--
--
Technical Details
Message-ID: <DG.92Oct5114725@dgupta.hpl.hp.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!apollo.hp.com!cupnews0.cup.hp.com!scd.hp.com!hplextra!otter.hpl.hp.com!hpltoad!toad.hpl.hp.com!dg
References: <1992Oct1.070533.12947@reed.edu> <1afo14INNjpq@fido.asd.sgi.com>

Show Full Headers
Complete Article Headers
From: dg@dgupta.hpl.hp.com (Dipankar Gupta)
Date: Mon, 5 Oct 1992 10:47:25 GMT
Subject: Re: Stuff printed _very_ slowly to stderr in compilation mode on Decstation
Message-ID: <DG.92Oct5114725@dgupta.hpl.hp.com>
Organization: Hewlett-Packard Laboratories, Bristol, UK
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!apollo.hp.com!cupnews0.cup.hp.com!scd.hp.com!hplextra!otter.hpl.hp.com!hpltoad!toad.hpl.hp.com!dg
Newsgroups: gnu.epoch.misc
References: <1992Oct1.070533.12947@reed.edu> <1afo14INNjpq@fido.asd.sgi.com>
Sender: news@hplb.hpl.hp.com (Usenet News Administrator)
Lines: 42
In-Reply-To: shankar@sgi.com's message of 1 Oct 1992 20:45:24 GMT
Nntp-Posting-Host: dgupta.hpl.hp.com