games/freebsd-games larn

Dima Ruban dima at rdy.com
Thu Apr 26 21:18:23 UTC 2007


On Thu, Apr 26, 2007 at 05:09:37PM -0400, Lowell Gilbert wrote:
> Dima Ruban <dima at rdy.com> writes:
> 
> > Ugm ... According to CVS webinterface, last commit to that port was made 4
> > weeks ago by nox. Right now is the end of April and if memory serves me right,
> > release was cut around mid. January.
> 
> Oops.  Right you are.  My apologies.
> 
> I still suspect that something was missing in some bit of your updating
> the system at some point, but even if I'm right, that's not narrowing
> things down very much.
> 
> Are you using an xterm?  That is what I was using when I confirmed that

Yes. Here's my terminal settings:
[sivka]-p4:88> env | grep ^TERM
TERM=vt102
TERMCAP=vt102|dec-vt102-am|vt102am:al=\E[L:dl=\E[M:im=\E[4h:ei=\E[4l:mi:dc=\E[P:AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:NP:do=\E[B:cl=\E[H\E[J:sf=\ED:as=\E(0:ae=\E(B:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:nw=\EE:ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:sr=\EM:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:UP=\E[%dA:DO=\E[%dB:RI=\E[%dC:LE=\E[%dD:ct=\E[3g:st=\EH:co#80:li#24:le=^H:bs:am:is=\E>\E[?1;3;4;5l\E[?7;8h\E[1;24r\E[24;1H:if=/usr/share/tabset/vt100:ho=\E[H:ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||:rs=\E>\E[?1;3;4;5l\E[?7;8h:ks=\E[?1h\E=:ke=\E[?1l\E>:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=\177:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:@8=\EOM:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:pt:xn:ta=^I:ms:bl=^G:cr=^M:eo:it#8:RA=\E[?7l:SA=\E[?7h:
[sivka]-p4:89> 


> it worked for me.  If a terminal interface API change was what broke it
> for you, it may be particular to a specific TERM type.  For that matter,
> do the other termios-using programs in the port break for you also?

I tried to change it from vt102 to xterm, didn't help much.
I also tried running it from the console - same problem.

> A little more information would be useful.  Running truss(1) on the
> process running the game might tell you whether it did something naughty.

Attached.

> I'll take a quick look at the source to see if anything jumps out at me.

Cheers!

--dima
-------------- next part --------------
(null)()					 = 1 (0x1)
write(1,"\^[[10;66H",8)				 = 8 (0x8)
ioctl(0,FIONREAD,0xbfbfea28)			 = 0 (0x0)
read(0,"H",1)					 = 1 (0x1)
write(1,"\^[[24;1H\^[[20;1H\^[[M\^[[24;1H"...,116) = 116 (0x74)
read(0,"g",1)					 = 1 (0x1)
write(1,"\^[[1;1H\^[[K\n\^[[K\n\^[[K\n\^["...,148) = 148 (0x94)
ioctl(0,FIONREAD,0xbfbfea28)			 = 0 (0x0)
read(0,"H",1)					 = 1 (0x1)
write(1,"\^[[15;32H#\^[[16;32H \^[[17;32H"...,62) = 62 (0x3e)
ioctl(0,FIONREAD,0xbfbfea28)			 = 0 (0x0)
read(0,"L",1)					 = 1 (0x1)
write(1,"\^[[15;36H \^[[16;36H \^[[17;36H"...,62) = 62 (0x3e)
ioctl(0,FIONREAD,0xbfbfea28)			 = 0 (0x0)
read(0,"k",1)					 = 1 (0x1)
write(1,"\^[[14;35H   \^[[15;36H",19)		 = 19 (0x13)
ioctl(0,FIONREAD,0xbfbfea28)			 = 0 (0x0)
read(0,"k",1)					 = 1 (0x1)
write(1,"\^[[14;37HK\^[[13;35H###\^[[14;3"...,28) = 28 (0x1c)
ioctl(0,FIONREAD,0xbfbfea28)			 = 0 (0x0)
read(0,"l",1)					 = 1 (0x1)
ioctl(0,FIONREAD,0xbfbfea4c)			 = 0 (0x0)
write(1,"\^[[24;1H\^[[20;1H\^[[M\^[[24;1H"...,127) = 127 (0x7f)
ioctl(0,FIONREAD,0xbfbfea28)			 = 0 (0x0)
read(0,"H",1)					 = 1 (0x1)
write(1,"\^[[13;34H#\^[[14;34H \^[[13;33H"...,880) = 880 (0x370)
ioctl(0,FIONREAD,0xbfbfea28)			 = 0 (0x0)
read(0,"l",1)					 = 1 (0x1)
write(1,"\^[[14;3H",7)				 = 7 (0x7)
ioctl(0,FIONREAD,0xbfbfea28)			 = 0 (0x0)
read(0,"l",1)					 = 1 (0x1)
write(1,"\^[[14;4H",7)				 = 7 (0x7)
ioctl(0,FIONREAD,0xbfbfea28)			 = 0 (0x0)
read(0,"J",1)					 = 1 (0x1)
write(1,"\^[[16;3H   \^[[17;3H###\^[[16;4"...,27) = 27 (0x1b)
ioctl(0,FIONREAD,0xbfbfea28)			 = 0 (0x0)
read(0,"H",1)					 = 1 (0x1)
write(1,"\^[[16;2H \^[[17;2H#\^[[16;1H#"...,39)	 = 39 (0x27)
ioctl(0,FIONREAD,0xbfbfea28)			 = 0 (0x0)
read(0,"L",1)					 = 1 (0x1)
write(1,"\^[[16;6H \^[[17;6H#\^[[16;7H "...,352) = 352 (0x160)
read(0,"i",1)					 = 1 (0x1)
write(1,"ignore\^[[20;1H\^[[M\^[[24;1H\^["...,31) = 31 (0x1f)
ioctl(0,FIONREAD,0xbfbfea28)			 = 0 (0x0)
read(0,"l",1)					 = 1 (0x1)
write(1,"\^[[16;17H \^[[17;17H#\^[[24;1H"...,156) = 156 (0x9c)
read(0,"r",1)					 = 1 (0x1)
sigaction(SIGBUS,{ SIG_DFL SA_RESTART ss_t },{ 0x8058630 SA_RESTART ss_t }) = 0 (0x0)
write(2,"\nLarn - Panic! Signal 10 receiv"...,42) = 42 (0x2a)
nanosleep({2.000000000})			 = 0 (0x0)
ioctl(0,TIOCGETA,0x8066880)			 = 0 (0x0)
ioctl(0,TIOCSETA,0x8066880)			 = 0 (0x0)
write(1,"read",4)				 = 4 (0x4)
open("/var/games/larn/Larn.sav.dima",O_WRONLY|O_CREAT|O_TRUNC,0644) = 4 (0x4)
write(4,"\^A\^A\0\0\0\0\0\0\0\0\0\0\0\0\0"...,4097) = 4097 (0x1001)
write(4,"\0\0\0\^A\0\0\0\0\0\0\0\^A\0\0\0"...,4097) = 4097 (0x1001)
write(4,"\0\0\^A\0\0\0\0\0\0\0\^A\0\0\0\0"...,4097) = 4097 (0x1001)
write(4,"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^R*"...,4097) = 4097 (0x1001)
getrusage(0,{u=0.007016,s=0.006480,in=0,out=0})	 = 0 (0x0)
getrusage(-1,{u=0.000000,s=0.000000,in=0,out=0}) = 0 (0x0)
clock_gettime(4,{20424.405166434})		 = 0 (0x0)
gettimeofday({1177622260.223118},0x0)		 = 0 (0x0)
fstat(4,{mode=-rw-r--r-- ,inode=39683,size=16388,blksize=4096}) = 0 (0x0)
write(4,"\0\0\0\0\0\0\0\0\0\0\0\0\0\^U\0"...,2623) = 2623 (0xa3f)
close(4)					 = 0 (0x0)
getpid()					 = 28293 (0x6e85)
kill(28293,SIGBUS)				 = 0 (0x0)
sigreturn(0xbfbfe700)				 ERR#134605842 'Unknown error: 134605842'
SIGNAL 10 (SIGBUS)
SIGNAL 10 (SIGBUS)
Process stopped because of:  16
process exit, rval = 10


More information about the freebsd-ports mailing list