latest minicom/cvs missing required TCGETS symbol on osx

Adam Lackorzynski adam at os.inf.tu-dresden.de
Tue Nov 13 22:00:43 UTC 2007


On Fri Nov 09, 2007 at 07:49:36 -0800, snowcrash+minicom wrote:
> > As a workaround you can change the return !ioctl(fd, TCGETS, &t); to
> > return 1;
> 
> cd /usr/ports
> rm -rf minicom*
> 
> # 11/9/07 6:33:25
> cvs -d :pserver:anonymous at cvs.alioth.debian.org:/cvsroot/minicom
> checkout minicom
> 
> cd /usr/ports/minicom
> 
> # MOVE TCGETS OUT OF THEWAY ...
> perl -pi -e 's/(^.*return) \!ioctl\(fd, TCGETS, \&t\)\;/$1 1\;/g'
> /usr/ports/minicom/src/main.c
> 
> setenv LDFLAGS "-bind_at_load -L/usr/local/lib -liconv -lncurses"
> setenv CPPFLAGS "-I/usr/local/include/ncurses -I/usr/local/include/"
> 
> aclocal
> autoheader
> automake -a -f -c
> autoconf
> 
> mkdir -p /var/spool/lock
> chmod 775 /var/spool/lock
> 
> ./configure \
> --prefix=/usr/local \
> --enable-lock-dir=/var/spool/lock \
> --disable-dependency-tracking \
> --disable-kermit \
> --disable-nls

There a fix for the problem in CVS now.
 
> but, on launch 'as uaual', with,
> 
> 	minicom --color=on --noinit --term=vt102 --8bit
> 
> although the app *does* launch, and seems to communicate ok, i get
> some odd screen/terminal behavior ...
> 
> note here,
> 
> 	http://img230.imageshack.us/img230/5771/minicomosxbu7.png
> 
> that, immediately after launch, the screen shows no status bar, and
> much of the display is not written 'black', as it used to.

The status bar is not shown because your terminal window is too small,
make it 25 lines and the status bar should appear.
 
> after, pressing "CTL-A", the status appears,
> 
> 	http://img441.imageshack.us/img441/3623/minicom2wk5.png
> 
> but still no screen write.
> 
> pressing a subsequent "Z" correctly pops up the command summary,
> 
> 	http://img220.imageshack.us/img220/3405/minicom3fu1.png
> 
> but still no black screen write ...
> 
> finally, pressing "Q" correctly writes the screen black
> 
> 	http://img66.imageshack.us/img66/5032/minicom4rb6.png

I cannot see this behaviour with a white xterm (some recent version). Do
you have an xterm installed as well?



Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/



More information about the minicom-devel mailing list