Comments (11)
Ahh THANK YOU! finally got it working :) You've even stated that in the script itself and I completely overlooked it..
from lsix.
Hooray!
from lsix.
Thank you for the bug report.
Most likely, NetBSD does not build Xterm with sixel support enabled. You will need to recompile it yourself. (I believe the magic incantation you need is './configure --with-sixel-graphics'). You could also ask the NetBSD pkgsrc folks if they'd be willing to add an alternate Xterm which has all the optional bells and whistles enabled.
You didn't mention if you used 'xterm -ti vt340' or 'xrdb -merge', but I'm going to presume, if you're using NetBSD, you know what you're doing.
from lsix.
Ahh you are right. The Xterm that ships with NetBSD is the base xorg version xterm-330
whereas the latest version xterm-344
is in pkgsrc. However I've looked at the pkgsrc version and it doesn't appear to have --enable-sixel
options enabled in the MakeFile
.
I will try ./configure --with-sixel-graphics
and see how we go but.... "I'm going to presume, if you're using NetBSD, you know what you're doing." ...Hardly. I did however read the README.md and yes I launched xterm with the correct flags.
from lsix.
Were you able to make it work from pkgsrc?
from lsix.
Hey, sorry, I haven't had time to try all the possible solutions.
I've been lucky enough to have an internet friend and NetBSD dev/contributor have a look at it for me. This is what he said:
"I installed libsixel libX11 libXt luit ImageMagick bash
I've modified the Makefile and built xterm with --enable-sixel
. It builds, installs and runs but, lsix
still fails with the same error."
I will try with --enable-sixel-graphics
Here is the MakeFile he used:
$NetBSD: Makefile,v 1.121 2019/11/03 09:14:21 rillig Exp $
DISTNAME= xterm-344
CATEGORIES= x11
MASTER_SITES= ftp://ftp.invisible-island.net/xterm/
EXTRACT_SUFX= .tgz
MAINTAINER= [email protected]
HOMEPAGE= https://invisible-island.net/xterm/xterm.html
COMMENT= Latest terminal emulator for the X Window System
LICENSE= x11
GNU_CONFIGURE= yes
USE_TOOLS+= tbl pkg-config
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
CONFIGURE_ARGS+= --enable-88-color
CONFIGURE_ARGS+= --enable-256-color
CONFIGURE_ARGS+= --enable-paste64
CONFIGURE_ARGS+= --enable-readline-mouse
CONFIGURE_ARGS+= --enable-sixel
CONFIGURE_ARGS.standard= # empty
CONFIGURE_ARGS.3d= --with-Xaw3d
CONFIGURE_ARGS.xpm= --with-Xaw3d
CONFIGURE_ARGS.neXtaw= --with-neXtaw
CONFIGURE_ARGS+= ${${CONFIGURE_ARGS.${XAW_TYPE}}:L}
INSTALLATION_DIRS= share/applications
.include "../../mk/bsd.prefs.mk"
.if ${X11_TYPE} == "modular"
CONFIGURE_ARGS+= --disable-imake
CONFIGURE_ARGS+= --enable-narrowproto
.endif
.if exists(/usr/include/wchar.h)
CONFIGURE_ARGS+= --enable-wide-chars
.endif
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
###
### For detection of XKB bell extension.
###
BUILDLINK_DEPMETHOD.libxkbfile?= build
.include "../../x11/libxkbfile/buildlink3.mk"
post-install:
${INSTALL_DATA} ${WRKSRC}/xterm.desktop \
${DESTDIR}${PREFIX}/share/applications && \
${INSTALL_DATA} ${WRKSRC}/uxterm.desktop \
${DESTDIR}${PREFIX}/share/applications
cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && tbl xterm.1 \
> xterm.1.tbl && mv xterm.1.tbl xterm.1
.include "options.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/termcap.buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/xaw.buildlink3.mk"
.include "../../graphics/libsixel/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
I'm going to keep trying.. just time poor at the moment. Feel free to close the issue and if I still fail once I get to try build with --enable-sixel-graphics
I'll reopen it.
Cheers
from lsix.
According to xterm's ./configure --help
, the correct syntax is --enable-sixel-graphics
.
If you get it working, do please let me know. And maybe ask the NetBSD pkgsrc folks about maybe building with sixel support by default.
from lsix.
So compiling xterm with --enable-sixel-graphics
did the trick.
However, how can I avoid this montage/font error?
from lsix.
That's a new one on me! I notice you don't have titles under the images, so I'm guessing ImageMagick (montage) was compiled with a default font that doesn't exist. I think you can work around it by changing the font. You'll see that option at the top of lsix.
However, you should try 'montage' on the command line. If it gives the same error, then you should let the NetBSD folks know there's a bug in the ImageMagick package.
from lsix.
I tried changing the font to my system font inside the lsix script (and other installed fonts) but I get the same error. Same if I just run montage on its own.
I'll log an issue with the ImageMagick pkgsrc devs.
from lsix.
Thanks for reporting the bug to pkgsrc. It doesn't even work with the fonts returned by convert -list font
?
from lsix.
Related Issues (20)
- Filenames with spaces HOT 3
- DECSDM (private mode 80) is interpreted incorrectly HOT 46
- MacOS brew issues HOT 1
- iterm2 terminal size not detected HOT 8
- (solution) Detect dimensions of `foot` running under Sway HOT 13
- This is fun and i like it! HOT 46
- transparent background? HOT 4
- "unable to open image file" error on Ubuntu 20.04 HOT 9
- Support for Alacritty HOT 4
- Terminal not supported - Siduck76's st (sixel branch) HOT 4
- KDE's konsole fully supports sixel and `lsix` starting with version 22.04 HOT 1
- ERROR: montage: delegate library support not built-in HOT 2
- Your terminal does not report having sixel graphics support HOT 3
- Neovim Terminal with hologram.nvim
- Regression from #55: Alacritty-sixel error "mention attribute codes: ^[[?6c" HOT 8
- paging support HOT 1
- gnome-terminal + vte with sixel support, but lsix not working HOT 2
- Check for other animated formats HOT 7
- lsix error: montage.exe: unable to open image
- lsix doesn't work on Wezterm + Windows + Git Bash shell
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsix.