Denna delen av 99 uppdateras inte längre utan har arkiverats inför framtiden som ett museum.
Här kan du läsa mer om varför.
Mac-nyheter hittar du på Macradion.com och forumet hittar du via Applebubblan.

Genomskinlig terminal utan kanter (borderless).

Tråden skapades och har fått 24 svar. Det senaste inlägget skrevs .
1

Hejsan!

Äntligen har jag lyckats med de ja letat både hårt och länge.. Egentligen var de väl mer en fråga om att få tummen ur och fixa, men nu fungerar det iaf.

Det jag pratar om är en terminal som rä hel genomskinlig + att den inte har några som helst kanter, dvs man ser endast texten på skrivbordet.. Ypperligt till chattande och att följa loggfiler.

Hur gjordes detta nu då?

X11 + Eterm är en förenklad förklaring, men är nån intresserad så berättar jag gärna mer.
Kommer ett skärmskott här nedan.

http://213.79.164.3/temp/skott.jpg

edit: .3 skulle ipnummret vara.. nu bör de fungera.

Senast redigerat 2004-06-07 16:26

The requested URL could not be retrieved

  • Medlem
  • International user
  • 2004-06-07 16:27

Burken verkar vara nere...

stavfel i länken, har ändrat i första inlägget

  • Medlem
  • International user
  • 2004-06-07 20:27

Najs, försökte en gång för ett tag sedan med aterm, men det ville tydligen inte riktigt.

  • Medlem
  • Uppsala
  • 2004-06-07 20:45

berätta gärna hur du gjort lite mer i detalj

Här är en liten tillvägagångslista. Jag förutsätter att man har någon form av vana att terminalknacka innan man ger sig på detta.

  1. Se till att ha Apple X11 + Xcode installerat, om inte installera dessa, X11 från osx cd3 och Xcode från xcodeskivan, eller ladda ner på developer.apple.com

  2. Installera fink,http://fink.sf.net(finns bra instruktioner för installation på deras sida)

  3. Ändra i /sw/etc/fink.conf och lägg till unstable/main och unstable/crypto på raden: "Trees:" Detta för att kunna hitta Eterm, som ligger i trädet unstable o annars inte finns att installera om man bara kör med paket från stable

  4. kör därefter "fink selfupdate" och välj rsync, kör därefter "fink update-all"

  5. nu kan du köra "fink install eterm", den kommer behöva ett antal andra paket, så tacka ja när den frågar om dessa.

  6. Går allt som de ska under kompileringen så ska du nu ha en fungerande Eterm.

  7. Starta med kommandot "Eterm --borderless -O" detta ger en genomskinlig terminal utan kant, men du har fortfarande en del menyer o annat grejjs.

  8. Gå in i första menyn "Eterm", och välj "save user settings" och "save theme settings". Nu letar du rätt på filen ~/.Eterm/themes/Eterm/user.cfg

    editera denna och ändra buttonbar 1 till 0 och scrollbar 1 till 0. Spara

  9. Starta nu en ny terminal och vips så skall alla menyer och scrollbars vara borta. Nu har vi dock ett litet problem. Hur flyttar men terminalen dit man vill ha den?

  10. Starta med samma flaggor som innan och lägg dessutom till -g WxH+Ycordinat+ Xcordinat, sen får man laborera med dessa värden tills man hittar nåt man e nöjd med.

  11. Sist men inte minst kör du kommandot Esetroot <din/bakrundsbild> för att sätta samma bakrund i X som du har i OSX. Utan detta så fungerar inte "genomskinligheten, som egentligen inte är genomskinlig utan ritar upp bakrundsbilden i bakrunden av terminalen, så program som ligger under kommer inte att synas igenom. Lite fejk, men de kan ja leva med tills nåt bättre dyker upp.

Lycka till!

Nytt skott för dagen: http://213.79.164.3/temp/skott2.jpg

Senast redigerat 2004-06-08 11:37
  • Oregistrerad
  • 2004-06-08 12:53

ahhh underbart.. hade så på den gamla goda tiden då jag körde Slackware o E16. nu kanske man skall pilla lite i MacOS osså.. ngn dag.. -orka-

En enklare metod att visa loggfiler och övrigt på desktopen på Unix-system är att använda root-tail. Fungerar hur bra som helst och är enklare att sätta upp än Eterm.

Ciryon

Ja, men ska man göra mer än att bara visa loggar, exempelvis irc, eller visa loggar på andra maskiner via ssh så är Eterm fin

Hejsan
Försökte mig på detta för det såg snyggt ut. Ett litet problem bara, efter det att jag installerat Eterm.

$Esetroot
Eterm was built without pixmap support, so Esetroot is fairly useless. Sorry.
$

Har avinstallerat eterm och ominstalletat eterm med fink men jag får samma meddelande.
Någon som vet vad som bör göras för att få det att funka.

Ursprungligen av Surfsune:

Hejsan
Försökte mig på detta för det såg snyggt ut. Ett litet problem bara, efter det att jag installerat Eterm.

$Esetroot
Eterm was built without pixmap support, so Esetroot is fairly useless. Sorry.
$

Har avinstallerat eterm och ominstalletat eterm med fink men jag får samma meddelande.
Någon som vet vad som bör göras för att få det att funka.

Kolla om du har Imlib2 installerat, om inte så kör in de med Fink, därefter in med Eterm igen, inte 100% på att de är de som är felet, men de kan vara.

Klockrent upplägg. Det ser grymt ut helt klart. Brukar gilla att knacka kod i Emacs och en dylik miljö vore rätt ball...

Har Imlib2 insallerat men det funkar tyvärr inte ändå.

Om du kör en manuell ./configure av Eterm, ser du då om den hittar Imlib2

Kör en configure och posta alla rader du får ut av de

I /sw/src katalogen gjodre jag följande
sudo tar -zxvf Eterm-0.9.2.tar.gz
sedan
cd Eterm-0.9.2 och där i katalogen ./configure

$ ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc -O ) works... yes
checking whether the C compiler (gcc -O ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for strerror in -lcposix... no
checking for minix/config.h... no
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... powerpc-apple-darwin7.4.0
checking build system type... powerpc-apple-darwin7.4.0
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependant libraries... file_magic Mach-O dynamically linked shared library
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -p output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin7.4.0 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
checking for distribution root... /sw/src/Eterm-0.9.2
checking whether gcc needs -traditional... no
checking for a BSD compatible install... /usr/bin/install -c
checking host system type... powerpc-apple-darwin7.4.0
checking whether build environment is sane... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking if malloc debugging is wanted... no
checking for sed... sed
checking for rm... rm
checking for cp... cp
checking for chmod... chmod
checking for tar... tar
checking for mkdir... mkdir
checking for ctags... ctags
checking for ar... ar
checking for mv... mv
checking for tic... tic
checking whether ln -s works... (cached) yes
checking for perl... /usr/bin/perl
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for working const... yes
checking for inline... inline
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for termios.h... yes
checking for sys/ioctl.h... yes
checking for sys/select.h... yes
checking for sys/time.h... yes
checking for sys/sockio.h... yes
checking for sys/byteorder.h... no
checking for malloc.h... no
checking for utmpx.h... no
checking for unistd.h... yes
checking for bsd/signal.h... no
checking for regex.h... yes
checking for regexp.h... yes
checking for stdarg.h... yes
checking for X11/Xmu/Atoms.h... yes
checking for X11/Sunkeysym.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ANSI C header files... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking return type of signal handlers... void
checking for atexit... yes
checking for _exit... yes
checking for unsetenv... yes
checking for setutent... no
checking for seteuid... yes
checking for memmove... yes
checking for putenv... yes
checking for strsep... yes
checking for setresuid... no
checking for setresgid... no
checking for memmem... no
checking for usleep... yes
checking for snprintf... yes
checking for strcasestr... yes
checking for strcasechr... no
checking for strcasepbrk... no
checking for strrev... no
checking for nl_langinfo... yes
checking whether snprintf ignores n... no, snprintf is ok
checking for pow in -lm... yes
checking for library containing login... none required
checking for library containing logout... none required
checking for library containing getpwuid... none required
checking for debugging level... 4
checking for ptsname... no
checking for grantpt... no
checking for unlockpt... no
checking for pty mechanism... generic only
checking for pty group... wheel
checking for saved uids... unknown...assuming no support
checking for XOpenDisplay in -lX11... yes
checking for XextAddDisplay in -lXext... yes
checking for XShapeQueryExtension in -lXext... yes
checking for _Xsetlocale in -lX11... yes
checking for XmuInternAtom in -lXmu... yes
checking if Pablo support is wanted... no
checking for Escreen support... no
checking for Etwin support... no
checking if profiling macros should be included... no
checking for pixmap support... yes
checking for dlopen in -ldl... yes
checking for TT_Init_FreeType in -lttf... no
checking for imlib_create_image in -lImlib2... no
configure: warning: *** Pixmap support has been disabled because Imlib2 was not found ***
configure: warning: *** or could not be linked. Eterm should still work
configure: warning: *** not be very happy. Check config.log for more detailed ***
configure: warning: *** information on why my attempt to link with Imlib2 failed. ***
checking for transparency support... yes
checking for MMX support... no
checking for libast-config... libast-config
checking for libast_malloc in -last... yes
checking for utmp support... yes
checking for addToUtmp in -lutempter... no
checking for backspace key configuration... default
checking for delete key configuration... default
checking for home key configuration... default
checking for end key configuration... default
checking if mousewheel support should be enabled... yes
checking for automatic encoding... yes
checking for multi-charset support... xlsfonts: unable to open display ''
usage: xlsfonts [-options] [-fn pattern]
where options include:
-l[l[l]] give long info about each font
-m give character min and max bounds
-C force columns
-1 force single column
-u keep output unsorted
-o use OpenFont/QueryFont instead of ListFonts
-w width maximum width for multiple columns
-n columns number of columns if multi column
-display displayname X server to contact

no
checking for XIM support... yes
checking for Greek keyboard support... no
checking for dbx... no
checking for gdb... /usr/bin/gdb
checking for pstack... no
checking for U_STACK_TRACE in -lcl... no
checking for Linux 2.1 or higher... no
checking for life_signs in -lKenny... no
Oh my god, they killed Kenny! You bastards!
updating cache ./config.cache
creating ./config.status
creating Makefile
creating bg/Makefile
creating doc/Makefile
creating utils/Makefile
creating pix/Makefile
creating src/Makefile
creating themes/Makefile
creating config.h
creating utils/kEsetroot
creating themes/Eterm/theme.cfg
./configure: line 10621: ./themes/Eterm/theme.cfg: Permission denied
creating themes/auto/theme.cfg
./configure: line 10621: ./themes/auto/theme.cfg: Permission denied
creating themes/Escreen/theme.cfg
./configure: line 10621: ./themes/Escreen/theme.cfg: Permission denied
creating themes/trans/theme.cfg
./configure: line 10621: ./themes/trans/theme.cfg: Permission denied

Eterm 0.9.2
Configuration:
--------------

Source code location: .
Host System Type: powerpc-apple-darwin7.4.0
Preprocessor: gcc -I/sw/include -I/usr/X11R6/include -I/sw/include -I/usr/X11R6/include
Compiler: gcc -g -O2
Linker: gcc -L/sw/lib -L/usr/X11R6/lib -L/sw/lib -L/usr/X11R6/lib -last -ldl -lSM -lICE -last -lXmu -lXext -lX11 -lm
Install path: /sw

See src/feature.h for further configuration information.

Now type 'make' to build Eterm 0.9.2.

$

Ursprungligen av Linus Söderlind:

Den där är väl rätt trevlig men du kan bara köra kommandon som visar saker... du kan inte köra saker där du vill skriva in nånting. Den är bara "enkelriktad" så att säga.

Ursprungligen av Linus Söderlind:

Har testat detta program och det verkar ok, så länge som man inte vill använda terminalen lite mer aktivt. Men ett bra tips ändå.

  • Medlem
  • Kiruna
  • 2004-06-23 01:22

Jag försöker få igång eterm, som jag hämtat från sourceforge. Innan jag kan kompilera och installera eterm måste jag först få igång libast. Men när jag försöker händer följande.

make  all-recursive
Making all in include
Making all in libast
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in src
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include/libast  -I/usr/X11R6/include   -g -O2 -c array.c
rm -f .libs/array.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include/libast -I/usr/X11R6/include -g -O2 -c array.c  -fno-common -DPIC -o .libs/array.lo
../include/libast/types.h:99: undefined type, found `socklen_t'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
In file included from ../include/libast.h:97,
                 from ../include/libast_internal.h:41,
                 from array.c:30:
../include/libast/types.h:99: parse error before "spif_sockaddr_len_t"
In file included from ../include/libast.h:100,
                 from ../include/libast_internal.h:41,
                 from array.c:30:
../include/libast/socket.h:78: parse error before "spif_sockaddr_len_t"
../include/libast/socket.h:81: parse error before '}' token
array.c: In function `spif_array_append':
array.c:198: warning: pointer/integer type mismatch in conditional expression
array.c: In function `spif_array_insert':
array.c:250: warning: pointer/integer type mismatch in conditional expression
array.c: In function `spif_array_insert_at':
array.c:271: warning: pointer/integer type mismatch in conditional expression
array.c: In function `spif_array_prepend':
array.c:303: warning: pointer/integer type mismatch in conditional expression
array.c: In function `spif_array_remove':
array.c:328: warning: pointer/integer type mismatch in conditional expression
array.c: In function `spif_array_remove_at':
array.c:346: warning: pointer/integer type mismatch in conditional expression
make[2]: *** [array.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

Vad är det som händer och hur ska jag lösa det?

checking for imlib_create_image in -lImlib2... no
configure: warning: *** Pixmap support has been disabled because Imlib2 was not found ***
configure: warning: *** or could not be linked. Eterm should still work
configure: warning: *** not be very happy. Check config.log for more detailed ***
configure: warning: *** information on why my attempt to link with Imlib2 failed. ***

Du ser dessa rader.. Den hittar inte din imlib av nån anledning, därför tappar du pixmap support och därav felet..

Ser att den saknar Imlib2, men jag förstår inte riktigt varför för det är installerat.

$ fink list imlib2
Information about 3213 packages read in 3 seconds.
i imlib2 1.1.0-13 Image handling library for X11
imlib2-rb18 0.4.2-1 Ruby wrapper for imlib2
i imlib2-shlibs 1.1.0-13 Image handling library for X11
$

Är det någon sökväg som saknas, eller vad?

Hrm.. väldigt underligt.. Ja körde samma sak på min burk nyss, o dom om min förvåning, i ./configure så har inte jag heller nån imlib2, men min Esetroot fungerar ju så då kanske de inte är där felet ligger..

Kan ju säga att jag har ingen aning, behöver hjälp om jag skall få det att funka.

  • Medlem
  • Helsingborg
  • 2004-06-23 02:05

hmm.. skulle föredra aterm

1
Bevaka tråden