rxvt-unicode and standout/italics

2011-08-11 Thread Julius Plenz
Hi! I've read various threads about the standout-vs-italics debate already. I'm using urxvt, which will set TERM=rxvt-unicode. The terminal (and my font) supports both italics and stand out mode. I verify this by entering: echo `tput sitm`italics`tput ritm` `tput smso`standout`tput rmso` I'v

Re: rxvt-unicode and standout/italics

2011-08-12 Thread Julius Plenz
Hi, Tiago! * Tiago Resende [2011-08-11 21:13]: > >a) standout mode is now italics mode > >b) italics mode produces "normal" font (ie. it's not recognized) > I can only reproduce this without setting terminal-overrides. Keep > in mind it will only take effect when you open a new i

config file and line continuation

2011-08-12 Thread Julius Plenz
Hi! Since tmux supports chaining commands via \; already, I find it a pity tmux cannot handle any sort of line continuation as far as I can see. The patch below implements this feature: lines ending with a single backslash will trigger the next line to be read in also. Thus, it's possible to spli

tmux and terminfo's "el" and "ed"

2011-08-12 Thread Julius Plenz
Hi! I'm not quite sure what to make of this. Both screen and tmux won't handle terminfo's "el" and "ed" (clear to end of line/display) the way I think it should work. Consider: echo `tput setab 2`foo`tput el`"\r" I would expect to find the line cleared (and colored!) until the end. In XTerm

Re: tmux and terminfo's "el" and "ed"

2011-08-12 Thread Julius Plenz
Hi, Micah! * Micah Cowan [2011-08-12 20:19]: > IIRC, screen _can_ support it, if the host terminal does. True, setting "bce on" from within screen works just fine. Question remains whether it's STFL's or curses' fault to use bce though it's not advertised... Thanks, Julius ---

Re: tmux and terminfo's "el" and "ed"

2011-08-12 Thread Julius Plenz
Hi, Micah! * Micah Cowan [2011-08-12 20:36]: > > Question remains whether it's STFL's or curses' fault to use bce > > though it's not advertised... > Curses would definitely know better (at least, if it's ncurses). My > money'd be on STFL. Solved the issue... it was not STFL's problem, neither

Re: config file and line continuation

2011-08-23 Thread Julius Plenz
Hi, Nicholas! * Nicholas Marriott [2011-08-20 22:51]: > I think if possible the unfinished command thing should not be > log_warnx but should an error and be added to the causes. Right. Also, I fixed a small memory leak. > Also this needs to go somewhere in the manpage. I added two examples in

Re: config file and line continuation

2011-08-24 Thread Julius Plenz
Hi, Nicholas! * Nicholas Marriott [2011-08-24 11:54]: > problem: if we have a blank line then len will be 0 (after trimming > the \n) so the continuation check will read before the start of the > buffer. True. > I've tweaked this a bit and hopefully fixed that, please look at this: Yes, the am

A "session encryption" approach?

2012-05-02 Thread Julius Plenz
Hi, I'd like to implement a feature similar to screen's `password' command that "encrypts" a session with a password. If a session (or the whole server) is protected with such a password, attaching a session or sending any command to a session should be prohibited unless the correct password is pr