Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17507 - Running Eterm-0.9.2 and zsh-4.0.6-r3
Summary: Running Eterm-0.9.2 and zsh-4.0.6-r3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Graham Forest
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-14 08:43 UTC by Henning C. Nielsen
Modified: 2003-04-17 05:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henning C. Nielsen 2003-03-14 08:43:19 UTC
Read this <a href="http://forums.gentoo.org/viewtopic.php?p=242150">post</a>.
My versions are:
<blockquote><p><pre>
pts/6 barran@garth$ emerge -s ^eterm$ ^zsh$                                    
                      (~)
Searching...   
[ Results for search key : ^eterm$ ]
[ Applications found : 2 ]
 
*  app-xemacs/eterm
      Latest version available: 1.13
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 106 kB
      Homepage:    http://xemacs.org/
      Description: Terminal emulation.

*  x11-terms/eterm
      Latest version available: 0.9.2-r3
      Latest version installed: 0.9.2-r3
      Size of downloaded files: 1,021 kB
      Homepage:    http://www.eterm.org/
      Description: A vt102 terminal emulator for X


Searching...   
[ Results for search key : ^zsh$ ]
[ Applications found : 1 ]
 
*  app-shells/zsh
      Latest version available: 4.0.6-r3
      Latest version installed: 4.0.6-r3
      Size of downloaded files: 2,131 kB
      Homepage:    www.zsh.org/
      Description: UNIX Shell similar to the Korn shell


pts/6 barran@garth$ 
</pre></p></blockquote>

However the problem is that there is no terminal definition (apparently) for Eterm:
<blockquote><p><pre>
barran@garth$ export TERM="xterm"
pts/5 barran@garth$ export TERM="Eterm"                                        
                      (~)
zsh: can't find terminal definition for Eterm
barran@garth$
</pre></p></blockquote>

Reproducible: Always
Steps to Reproduce:
1. Run zsh from Eterm.
2. Set the PROMPT var to show some color and other stuff which would normally work.
3. See if backspace works properly.

Actual Results:  
There are no colors. The right prompt is not showing. Backspace does not work
properly.


<blockquote>
Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="ftp://sunsite.dk/mirrors/gentoo/ ftp://gentoo.linux.no/pub/gentoo/ "
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/
config /usr/kde/3/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg
ncurses nls pdflib png quickt
ime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga tcltk
java guile mysql X sdl gpm
 tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt motif opengl mozilla
cdr gtk2 -gnome -kde mbox
 alsa acpi dvd dga sasl"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-tbird -O3 -pipe -m3dnow"
CXXFLAGS="-mcpu=athlon-tbird -O3 -pipe -m3dnow"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-s -j2"
AUTOCLEAN="yes"
SYNC="rsync://trumpetti.atm.tut.fi/gentoo-portage/"
FEATURES="sandbox ccache"
</blockquote>

My versions are:
<blockquote><p><pre>
pts/6 barran@garth$ emerge -s ^eterm$ ^zsh$                                    
                      (~)
Searching...   
[ Results for search key : ^eterm$ ]
[ Applications found : 2 ]
 
*  app-xemacs/eterm
      Latest version available: 1.13
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 106 kB
      Homepage:    http://xemacs.org/
      Description: Terminal emulation.

*  x11-terms/eterm
      Latest version available: 0.9.2-r3
      Latest version installed: 0.9.2-r3
      Size of downloaded files: 1,021 kB
      Homepage:    http://www.eterm.org/
      Description: A vt102 terminal emulator for X


Searching...   
[ Results for search key : ^zsh$ ]
[ Applications found : 1 ]
 
*  app-shells/zsh
      Latest version available: 4.0.6-r3
      Latest version installed: 4.0.6-r3
      Size of downloaded files: 2,131 kB
      Homepage:    www.zsh.org/
      Description: UNIX Shell similar to the Korn shell


pts/6 barran@garth$ 
</pre></p></blockquote>
Comment 1 Henning C. Nielsen 2003-03-14 08:52:43 UTC
Sorry. I didn't know you can't use html tags :o) - how naive!
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-14 08:54:07 UTC
http://www.dreamind.de/files/zsh-stuff/zshrc.html

does that zshrc help?
Comment 3 Henning C. Nielsen 2003-03-14 09:27:30 UTC
nope. No sane prompt shows at all. Only some crap and a '%' sign
Comment 4 Henning C. Nielsen 2003-03-14 18:51:23 UTC
It appears to be a typo/bug in /etc/termcap which belongs to sys-libs/libtermcap-compat.
The entries regarding Eterm in that file is spelled "eterm". It should be "Eterm".
I don't know if it is still you phoen][x who should have this assigned.

View the forum post mentioned above to learn more.
Comment 5 Henning C. Nielsen 2003-03-14 18:55:07 UTC
Also when unmerging sys-libs/libtermcap-compat, /etc/termcap is not removed. I do not know whether this is a bug though.
Comment 6 phoen][x 2003-03-16 09:40:55 UTC
>> Also when unmerging sys-libs/libtermcap-compat, /etc/termcap is not removed. 
>> I do not know whether this is a bug though.

Thats the wanted behaviour. Portage does not remove files from /etc.

Let me see how i can help you with the other issue.

-phoen][x-
Comment 7 Graham Forest 2003-04-17 05:09:49 UTC
Seems that you've already managed to fix this yourself. I don't think it's a bug I can do much to prevent, but this and the forum posts are a good log for future people, so solving it is easy.