Re: [Simh] simh OS X missing dependencies with brew packages

2018-03-19 Thread Mark Pizzolato
Ahh… Great!

Not being an OS X/HomeBrew user, I searched for it with the wrong command.

Thanks.


-  Mark

From: Simh [mailto:simh-boun...@trailing-edge.com] On Behalf Of Warren Young
Sent: Monday, March 19, 2018 12:26 PM
To: simh@trailing-edge.com
Subject: Re: [Simh] simh OS X missing dependencies with brew packages

On Mon, Mar 19, 2018 at 11:54 AM, Mark Pizzolato 
> wrote:
the besm6 simulator's
front panel needs sdl ttf support.  On Linux (Ubuntu) this is provided
by the libsdl2-ttf-dev package.  Maybe someone here can influence
the brew package maintainers to also add the OS X equivalent package
to brew's library...

It seems to be there already:


$ brew search ttf

==> Searching local taps...

sdl2_ttfsdl_ttf ttf2eot ttf2pt1 
ttfautohint

==> Searching taps on GitHub...

==> Searching blacklisted, migrated and deleted formulae...

$ brew install sdl2_ttf

==> Installing dependencies for sdl2_ttf: sdl2

==> Installing sdl2_ttf dependency: sdl2

==> Downloading 
https://homebrew.bintray.com/bottles/sdl2-2.0.8.high_sierra.bottle.tar.gz

 100.0%

==> Pouring sdl2-2.0.8.high_sierra.bottle.tar.gz

  /usr/local/Cellar/sdl2/2.0.8: 86 files, 4.2MB

==> Installing sdl2_ttf

==> Downloading 
https://homebrew.bintray.com/bottles/sdl2_ttf-2.0.14.high_sierra.bottle.tar.gz

 100.0%

==> Pouring sdl2_ttf-2.0.14.high_sierra.bottle.tar.gz

  /usr/local/Cellar/sdl2_ttf/2.0.14: 10 files, 72.2KB

It's part of homebrew-core, so you shouldn't need to "tap" anything special to 
get this:

   https://github.com/Homebrew/homebrew-core/blob/master/Formula/sdl2_ttf.rb

If the "install" command fails for you, what does the "search" command give?
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] simh OS X missing dependencies with brew packages

2018-03-19 Thread Warren Young
On Mon, Mar 19, 2018 at 11:54 AM, Mark Pizzolato  wrote:

> the besm6 simulator's
> front panel needs sdl ttf support.  On Linux (Ubuntu) this is provided
> by the libsdl2-ttf-dev package.  Maybe someone here can influence
> the brew package maintainers to also add the OS X equivalent package
> to brew's library...
>

It seems to be there already:

$ brew search ttf

==> *Searching local taps...*

sdl2_ttfsdl_ttf ttf2eot ttf2pt1
ttfautohint

==> *Searching taps on GitHub...*

==> *Searching blacklisted, migrated and deleted formulae...*

$ brew install sdl2_ttf

==> *Installing dependencies for sdl2_ttf: **sdl2*

==> *Installing sdl2_ttf dependency: **sdl2*

==> *Downloading
https://homebrew.bintray.com/bottles/sdl2-2.0.8.high_sierra.bottle.tar.gz
*


100.0%

==> *Pouring sdl2-2.0.8.high_sierra.bottle.tar.gz*

  /usr/local/Cellar/sdl2/2.0.8: 86 files, 4.2MB

==> *Installing **sdl2_ttf*

==> *Downloading
https://homebrew.bintray.com/bottles/sdl2_ttf-2.0.14.high_sierra.bottle.tar.gz
*


100.0%

==> *Pouring sdl2_ttf-2.0.14.high_sierra.bottle.tar.gz*

  /usr/local/Cellar/sdl2_ttf/2.0.14: 10 files, 72.2KB

It's part of homebrew-core, so you shouldn't need to "tap" anything special
to get this:

   https://github.com/Homebrew/homebrew-core/blob/master/Formula/sdl2_ttf.rb

If the "install" command fails for you, what does the "search" command give?
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] Printer on TOPS-10

2018-03-19 Thread Timothe Litt
I don't think that my advanced printer code was merged into the master fork.

This is what works for me:

set lp20 enable
set lp20 printer=lp07b
attach -S lp20 form=graybar
image=c:\Users\timothe\Documents\GitHub\Run\Form_BG_Grayscale.jpg
c:\Users\timothe\Documents\GitHub\Run\Spool\SAM.lpt.pdf

You probably just need the "set lp20 enable".

On 19-Mar-18 14:27, Quentin North wrote:
> Possibly a silly question, but does anyone know how to get the printer
> to work on TOPS-10 on simh? I have attached a printer files to the
> printer device but the printer and the spooler fills up with output on
> TOPS-10, but the the printer stays offline in TOPS-10 and I cant find
> out how to get it online.
>
> My startup scripts as follows:
> set tim y2k
> att rp0 disks/t10.dsk
> att lp20 printer.out
> set dz 8b
> att -am dz 2020
> boot rp0
>
> When I get TOPS-10 up and try to print I can’t seem to get it to do
> anything:
>
> OPR>  
> 18:19:42                -- System Queues Listing --
>
> Printer Queue:
> Job Name   Req#    Limit             User
>   --  ---  
>   BCPL         3        6  OPR    [1,2]
> There is 1 job in the queue (none in progress); 6 pages
> OPR>show messages
> OPR>  
> 18:19:49        --No outstanding messages--
> OPR>show status printer
> OPR>  
> 18:19:59                -- System Device Status --
>
> Printer Status:
>   Unit      Status
>     ---
>      0  Not Available
>
> OPR>stop printer 0
> OPR>  
> 18:20:20        Printer 0  -- Stopped --
> OPR>abort printer 0/purge
> OPR>  
> 18:20:30        Printer 0  -- Not Active --
> OPR>start printer 0
> OPR>  
> 18:20:37        Printer 0  -- Already Started --
> OPR>show status printer
> OPR>  
> 18:20:46                -- System Device Status --
>
> Printer Status:
>   Unit      Status
>     ---
>      0  Stopped
>
> OPR>start printer 0
> OPR>  
> 18:20:55        Printer 0  -- Already Started --
>
>
>
> ___
> Simh mailing list
> Simh@trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh



smime.p7s
Description: S/MIME Cryptographic Signature
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

[Simh] Printer on TOPS-10

2018-03-19 Thread Quentin North
Possibly a silly question, but does anyone know how to get the printer to work 
on TOPS-10 on simh? I have attached a printer files to the printer device but 
the printer and the spooler fills up with output on TOPS-10, but the the 
printer stays offline in TOPS-10 and I cant find out how to get it online.

My startup scripts as follows:
set tim y2k
att rp0 disks/t10.dsk
att lp20 printer.out
set dz 8b
att -am dz 2020
boot rp0

When I get TOPS-10 up and try to print I can’t seem to get it to do anything:

OPR>  
18:19:42-- System Queues Listing --

Printer Queue:
Job Name   Req#Limit User
  --  ---  
  BCPL 36  OPR[1,2]
There is 1 job in the queue (none in progress); 6 pages
OPR>show messages
OPR>  
18:19:49--No outstanding messages--
OPR>show status printer
OPR>  
18:19:59-- System Device Status --

Printer Status:
  Unit  Status
    ---
 0  Not Available

OPR>stop printer 0
OPR>  
18:20:20Printer 0  -- Stopped --
OPR>abort printer 0/purge
OPR>  
18:20:30Printer 0  -- Not Active --
OPR>start printer 0
OPR>  
18:20:37Printer 0  -- Already Started --
OPR>show status printer
OPR>  
18:20:46-- System Device Status --

Printer Status:
  Unit  Status
    ---
 0  Stopped

OPR>start printer 0
OPR>  
18:20:55Printer 0  -- Already Started --

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] simh OS X missing dependencies with brew packages

2018-03-19 Thread Paul Koning


> On Mar 19, 2018, at 1:54 PM, Mark Pizzolato  wrote:
> 
> Now that brew is supported for simh package dependencies, it turns 
> out that not all simulator functionality can be realized with the current
> set of available packages on brew.  Specifically, the besm6 simulator's
> front panel needs sdl ttf support.  On Linux (Ubuntu) this is provided 
> by the libsdl2-ttf-dev package.  Maybe someone here can influence 
> the brew package maintainers to also add the OS X equivalent package 
> to brew's library...

The unfortunate problem with OSX is that there are several Unix package systems 
-- brew and fink and possibly others.  And they are different.  And they keep 
stuff isolated from OSX so you end up with duplicate copies of stuff.

It is perfectly straightforward to do a standard install on various packages, 
which lands them in the GNU standard prefix /usr/local.  So for those of us who 
prefer to do it that way rather than mess with unhelpful tools, it would be 
nice if SIMH would understand this.

paul

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

[Simh] simh OS X missing dependencies with brew packages

2018-03-19 Thread Mark Pizzolato
Now that brew is supported for simh package dependencies, it turns 
out that not all simulator functionality can be realized with the current
set of available packages on brew.  Specifically, the besm6 simulator's
front panel needs sdl ttf support.  On Linux (Ubuntu) this is provided 
by the libsdl2-ttf-dev package.  Maybe someone here can influence 
the brew package maintainers to also add the OS X equivalent package 
to brew's library...

- Mark

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh