Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Apr 2013 01:52:50 GMT
From:      Grant Watson <grant_watson@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/178194: termit dies when running /bin/sh without a menu bar or scroll bar
Message-ID:  <201304270152.r3R1qotW082334@red.freebsd.org>
Resent-Message-ID: <201304270200.r3R201Sg045988@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         178194
>Category:       ports
>Synopsis:       termit dies when running /bin/sh without a menu bar or scroll bar
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 27 02:00:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Grant Watson
>Release:        9.1-release
>Organization:
>Environment:
FreeBSD awesome-bsd 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
I'm having an odd issue with termit, an X terminal program.  In the default configuration it runs fine; when I try to disable the menu bar or the scroll bar or both, running /bin/sh causes termit to immediately exit.  Running "termit -e /bin/csh" works fine, as do bash and zsh; the problem seems to be peculiar to termit and sh.

termit doesn't print anything to stdout or stderr, it doesn't dump core, and it doesn't exit with a nonzero exit status.  The terminal window simply flashes open and closed.  As best I can tell no shell prompt is displayed.

I'm running FreeBSD 9.1-release under VirtualBox, and the problem occurs when using 9.1-release packages and when using 9-stable packages.  wblock on the FreeBSD forums was able to reproduce the problem and told me to enter a PR.
>How-To-Repeat:
Install termit and paste the following into ~/.config/termit/rc.lua:

    defaults = {
        showScrollbar = false,
        hideMenubar = true
    }
    setOptions(defaults)

Then run "termit -e /bin/sh".
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304270152.r3R1qotW082334>