Re: [Lxc-users] lxc-console and indents

2012-02-17 Thread Serge Hallyn
Quoting Whit Blauvelt (w...@transpect.com):
 Hi,
 
 Running 0.7.5 compiled and running on Debian Squeeze, with a Debian Squeeze
 container, when I use lxc-console and view a configuration file for a daemon
 which uses indents as part of its syntax, the file is displayed with each
 line at the left margin, without the five spaces in the indents. If I ssh
 into the same container and look at the same file, it displays correctly. 
 
 This makes lxc-console useless when editing files where the indents are
 syntactic rather than just decorative. Odd problem.

Interesting.  I don't have this problem, with either debian or ubuntu
containers (on ubuntu).  Maybe something to do with your terminal?  shrug

-serge

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] lxc-console and indents - it and joe don't get along

2012-02-17 Thread Whit Blauvelt
On Fri, Feb 17, 2012 at 01:15:56PM -0600, Serge Hallyn wrote:
 Quoting Whit Blauvelt (w...@transpect.com):
  Hi,
  
  Running 0.7.5 compiled and running on Debian Squeeze, with a Debian Squeeze
  container, when I use lxc-console and view a configuration file for a daemon
  which uses indents as part of its syntax, the file is displayed with each
  line at the left margin, without the five spaces in the indents. If I ssh
  into the same container and look at the same file, it displays correctly. 
  
  This makes lxc-console useless when editing files where the indents are
  syntactic rather than just decorative. Odd problem.
 
 Interesting.  I don't have this problem, with either debian or ubuntu
 containers (on ubuntu).  Maybe something to do with your terminal?  shrug

The terminal on my workstation is urxvt 9.09 on Ubuntu 11.04. But if I use
Gnome Terminal 2.32.1 I get the same result. With xterm 268 I also get the
same result, but with the variation that the if I scroll down through the
file the indent shows properly on the next line at very the bottom of the
console, but the indent goes away as soon as I scroll one beyond it. The
shell on the host is bash. The problem persists if I drop out of Gnome on
the workstation and go strait from the CLI.

Ah, here's the correlation. It's the editor. lxc-console doesn't like joe.
Problem isn't there in nano or vi. So what would lxc-console be doing with
Joe that's unique to their interaction? It's the only context I've seen this
problem in - and I've used joe constantly for years.

Whit

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users