Autolaunch interferes with tramp mode in emacs

Bug #612886 reported by Iain Lane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Fix Released
Wishlist
Unassigned
byobu (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Tramp mode is an emacs mode to edit remote files transparently. When I try to use it on machine which has byobu installed and set up to autolaunch, it errors out ("Clear screen capability required").

There's an easy solution. Make the ~/.*profile launching code look like this:

  if [ "$TERM" != "dumb" ];
   case "$-" in *i*) byobu-launcher && exit 0; esac;
  fi

...so that when tramp connects with a dumb term type it isn't disturbed by a screen session.

Cheers.

Related branches

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Well, I don't want the line in .profile to get any more complicated (as I have code that adds, and removes it).

The logic could go in byobu-launcher though, and should have the same effect, i think.

Changed in byobu:
status: New → Triaged
importance: Undecided → Wishlist
Changed in byobu:
status: Triaged → Fix Committed
Changed in byobu (Ubuntu):
status: New → Fix Committed
importance: Undecided → Wishlist
Changed in byobu:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package byobu - 3.2-0ubuntu1

---------------
byobu (3.2-0ubuntu1) maverick; urgency=low

  * usr/share/byobu/keybindings/f-keys: resize the screen as part of the
    F5/refresh, LP: #619899
  * usr/bin/byobu-launcher: don't launch if in a dumb terminal, LP: #612886
  * usr/lib/byobu/network, usr/share/man/man1/byobu.1: allow for
    configuration of network traffic in [kM]ps, LP: #578377
  * configure.ac: POSIX sed doesn't include -i option, LP: #619328, #622640
  * usr/bin/byobu-janitor: improve dash replacement in status config,
    LP: #598488
  * usr/bin/byobu-janitor: fix upgrades where one's window list might have
    motd+shell, LP: #589715
 -- Dustin Kirkland <email address hidden> Mon, 23 Aug 2010 17:34:33 -0400

Changed in byobu (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.