Re: tmux occasionally crashing on attach

2020-08-23 Thread Nicholas Marriott
Thanks. How about this instead? Index: tty-term.c === RCS file: /cvs/src/usr.bin/tmux/tty-term.c,v retrieving revision 1.82 diff -u -p -r1.82 tty-term.c --- tty-term.c 5 Jun 2020 09:32:15 - 1.82 +++ tty-term.c 23 Aug 2020

Re: -current tmux not handling some terminal ID strings

2020-08-23 Thread Nicholas Marriott
Does this fix it? Index: tty-keys.c === RCS file: /cvs/src/usr.bin/tmux/tty-keys.c,v retrieving revision 1.140 diff -u -p -r1.140 tty-keys.c --- tty-keys.c 6 Jul 2020 07:27:39 - 1.140 +++ tty-keys.c 23 Aug 2020 20:22:28

tmux configs

2019-05-21 Thread Nicholas Marriott
Hi all I'm modifying the tmux config parser and I need configs for testing, if you have an interesting .tmux.conf (ie more than just a few set/bind lines) then please email it to me privately. If you want it to be kept private please mention that in the email. Thanks

Re: How make tmux on start, create a couple of windows and start given programs in them?

2018-11-02 Thread Nicholas Marriott
Hi Put it in .tmux.conf including the new-session, and start tmux with "tmux attach" or "tmux start". Or run a separate config file later with "tmux source myconfig". On Fri, Nov 02, 2018 at 02:44:40PM +, Joseph Mayer wrote: > Hi, > > I have one single command for starting and

Re: tmux vs UTF8

2016-05-01 Thread Nicholas Marriott
: > On Sun, May 01, 2016 at 07:32:09PM +0100, Nicholas Marriott wrote: > > Underscores means tmux does not know that your terminal supports UTF-8 > > which probably means LANG or LC_ALL are not exported correctly. > > LANG and LC_ALL are exportded with value "en_US.UTF-8&quo

Re: tmux vs UTF8

2016-05-01 Thread Nicholas Marriott
Underscores means tmux does not know that your terminal supports UTF-8 which probably means LANG or LC_ALL are not exported correctly. On 1 May 2016 7:24 p.m., "Andreas Kusalananda Kähäri" < andreas.kah...@icm.uu.se> wrote: > On Sun, May 01, 2016 at 07:10:03PM +0200, Ingo Schwarze wrote: > > Hi

Re: tmux vs UTF8

2016-05-01 Thread Nicholas Marriott
Jan, please make sure you are running -current (build and install tmux from CVS HEAD) and if the problem still exists run this tmux -vvvLtest -f/dev/null new Then type ONE of the broken characters with the keyboard, exit tmux and send me the tmux-server-*.log file from the current directory.

Re: cu with XMODEM won't transfer file

2015-10-05 Thread Nicholas Marriott
On Mon, Oct 05, 2015 at 10:07:21AM -0700, Philip Guenther wrote: > On Mon, Oct 5, 2015 at 6:54 AM, Kim Zeitler wrote: > > I am trying to transfer a new firmware to a switch using cu(1) with XMODEM > > using a USB-to-RS232 adapter and running on -current. > > > >

Re: cu with XMODEM won't transfer file

2015-10-05 Thread Nicholas Marriott
Do you have the other side waiting for the file? You should be able to use lrx from lrzsz. On Mon, Oct 05, 2015 at 02:25:39PM -0400, Jiri B wrote: > > Index: command.c > > === > > RCS file: /cvs/src/usr.bin/cu/command.c,v > >

Re: cu with XMODEM won't transfer file

2015-10-05 Thread Nicholas Marriott
printf "'\122\145\164\162\171\040\060\072'\n" 'Retry 0:' Does it work without -v? On Mon, Oct 05, 2015 at 05:36:49PM -0400, Jiri B wrote: > On Mon, Oct 05, 2015 at 05:15:28PM -0400, Jiri B wrote: > > It works now. > > Unfortunatelly I can't transfer bigger files: > > --->%--- > $ ./cu -d -l

Re: OpenBSD projects

2015-07-24 Thread Nicholas Marriott
Nice list. Also: file(1), rcs(1), sdiff(1), bgplg(8) On Thu, Jul 23, 2015 at 09:56:14PM -0700, jungle Boogie wrote: On 28 December 2014 at 15:14, Ingo Schwarze schwa...@usta.de wrote: Hi, as this request met quite a bit of interest, i have drafted a list at this *temporary* URI:

Re: OpenBSD release with libevent 2.x?

2015-07-22 Thread Nicholas Marriott
No we have pretty much settled on a (mildly forked) 1.4 now and there are no plans to update the base system. I don't see why libevent 1.4 in base blocks anything that requires 2.x, the port should coexist happily with base. On Wed, Jul 22, 2015 at 11:07:46PM +0200, nusenu wrote: -BEGIN

Re: Meta key within mg/xterm/cwm

2015-07-20 Thread Nicholas Marriott
Hi Are xterm(1) eightBitInput and eightBitControl turned off? On Mon, Jul 20, 2015 at 07:16:01PM -0400, Paul Pereira wrote: I am unable to isolate a problem with the meta key. When running mg within a console M-x theo behaves correctly, but within cwm/xterm it produces heo.

Re: tmux move-window behavior changed

2015-04-21 Thread Nicholas Marriott
 I have another fix for this which I will probably apply when I get home. Cheers Original message From: Theo Buehler t...@math.ethz.ch Date:21/04/2015 15:28 (GMT+00:00) To: misc@openbsd.org Cc: n...@openbsd.org Subject: Re: tmux move-window behavior changed On Tue, Apr

Re: null checks before free()

2014-12-14 Thread Nicholas Marriott
I think you may be confusing two things that are not really related: free(NULL) and double-free. free(NULL) is entirely safe and does nothing. There is no point in doing: if (ptr != NULL) free(ptr); The if() check is always redundant. A double-free is different and means freeing

Re: Weird tmux pane separator chars in wsconsole

2014-05-15 Thread Nicholas Marriott
Looks like VGA console doesn't support the characters wscons tries to use for ACS, at least not with an ISO font encoding and I can't see if it's possible to change it to an IBM font. I suspect nuking acsc with terminal-overrides is the best you're going to be able to do. On Thu, May 15, 2014

Re: {r,s}mkx entries in terminfo db missing

2014-03-26 Thread Nicholas Marriott
If you get it updated in ncurses and drop me a note privately I will update termtypes.master. On Wed, Mar 26, 2014 at 10:15:14AM +0100, Nils R wrote: Roberto E. Vargas Caballero schrieb am 26.03.2014 07:47: I solved it (for the moment) by patching st, as patching st is something you most

Re: {r,s}mkx entries in terminfo db missing

2014-03-24 Thread Nicholas Marriott
Hi On OpenBSD, the curse and termcap library use *only* pre-compiled databases to search for a TERM entry. Every mention to the /usr/share/misc/terminfo/*/* or ~/.terminfo/*/* scheme in OpenBSD's own manpages or on instructions written for system that do use that scheme (Linux) are

Re: {r,s}mkx entries in terminfo db missing

2014-03-24 Thread Nicholas Marriott
missing Nicholas Marriott schrieb am 24.03.2014 14:06: Hi On OpenBSD, the curse and termcap library use *only* pre-compiled databases to search for a TERM entry. Every mention to the /usr/share/misc/terminfo/*/* or ~/.terminfo/*/* scheme in OpenBSD's own manpages or on instructions

Re: {r,s}mkx entries in terminfo db missing

2014-03-24 Thread Nicholas Marriott
This comment implies yes: /* * Lookup ``tn'' in each possible terminfo file until * we find it or reach the end. */ for (fname = pathvec; *fname; fname++) { And this one from read_entry.c: #ifdef __OpenBSD__ /* First check the BSD terminfo.db file */ if

Re: Sluggish text cursor on tmux

2014-02-13 Thread Nicholas Marriott
Does this still happen if you rebuild tmux from current CVS? On Thu, Feb 13, 2014 at 01:18:38PM +0100, Stefan Sperling wrote: On Thu, Feb 13, 2014 at 12:07:00PM +, Z? Loff wrote: Hi all I believe nicm's recent changes to src/usr.bin/tmux/tty-keys.c and xterm-keys.c are the cause

Re: Sluggish text cursor on tmux

2014-02-13 Thread Nicholas Marriott
Great thanks for checking, must have been the bug fixed on the 10th. On Thu, Feb 13, 2014 at 04:47:32PM +0100, Stefan Sperling wrote: On Thu, Feb 13, 2014 at 03:39:09PM +, Nicholas Marriott wrote: Does this still happen if you rebuild tmux from current CVS? Seems already fixed

Re: Help building Node module on OpenBSD

2013-11-05 Thread Nicholas Marriott
This makes it seem like it has several options instead of ucontext, and even wants to define CORO_ASM on OpenBSD: ['OS == linux or OS == solaris or OS == sunos or OS == freebsd', {'defines': ['CORO_UCONTEXT']}], ['OS == mac', {'defines': ['CORO_SJLJ']}], ['OS == openbsd',

Re: Upgrading by installing post time_t snapshot

2013-10-09 Thread Nicholas Marriott
So long as tmux is running and attached it is already in memory and replacing the binary on disk should have no effect. Also ksh is still ksh even if it's inside tmux. tmux is not a shell. Once your script is going then whether you are running it inside tmux or not should make no difference.

Re: Upgrading by installing post time_t snapshot

2013-10-09 Thread Nicholas Marriott
for replying. Jeff Sent from my iPhone, Reluctantly hunting and pecking on a virtual keyboard :-) On Oct 9, 2013, at 3:19 PM, Nicholas Marriott nicholas.marri...@gmail.com wrote: So long as tmux is running and attached it is already in memory and replacing the binary on disk

Re: tmux and Shift+Return combination

2013-07-05 Thread Nicholas Marriott
What did Shift-Return used to send? Run cat outside tmux and tell me what it shows when you press Shift-Return. On Fri, Jul 05, 2013 at 03:42:39PM -0700, patrick keshishian wrote: Hi, Was running 2013-FEB-12 amd64 snapshot. Installed 2013-JUN-27 amd64 snapshot a couple of days ago.

Re: tmux and Shift+Return combination

2013-07-05 Thread Nicholas Marriott
in tmux itself. The extended keys are also sent through to applications inside tmux if the xterm-keys option is turned on. On Fri, Jul 05, 2013 at 05:28:58PM -0700, patrick keshishian wrote: Hi, On Fri, Jul 5, 2013 at 5:07 PM, Nicholas Marriott nicholas.marri...@gmail.com wrote: What did

Re: Low latency High Frequency Trading

2012-11-15 Thread Nicholas Marriott
Your first paragraph is not really true. For financial data UDP multicast is more efficient and can be considerably faster than TCP, even if you need to check integrity (which isn't always the case). Most market data feeds are UDP multicast for a reason. FPGAs can be very fast but they do have

Re: tmux: create window failed (too many open files)

2012-09-27 Thread Nicholas Marriott
for test it. Thanks a lot. -- Sebastien Marie On Wed, Sep 26, 2012 at 03:42:23PM +0100, Nicholas Marriott wrote: Try this please: Index: server-client.c === RCS file: /cvs/src/usr.bin/tmux/server-client.c,v

Re: tmux: create window failed (too many open files)

2012-09-26 Thread Nicholas Marriott
Are you running a tmux command from any shell script or cron or anything? There are only two places tmux itself opens /dev/null and they are both after fork so this must be /dev/null passed with imsg from a client. Also please should me output of tmux info. On Wed, Sep 26, 2012 at 09:29:50AM

Re: tmux: create window failed (too many open files)

2012-09-26 Thread Nicholas Marriott
Try this please: Index: server-client.c === RCS file: /cvs/src/usr.bin/tmux/server-client.c,v retrieving revision 1.79 diff -u -p -r1.79 server-client.c --- server-client.c 3 Sep 2012 09:32:38 - 1.79 +++ server-client.c

Re: tmux, multiple prefix keys

2012-08-06 Thread Nicholas Marriott
Probably you are looking a man page that doesn't match what you are running, this was removed in favour of just having separate prefix/prefix2 options a while ago. On Mon, Aug 06, 2012 at 02:20:35AM +0200, LEVAI Daniel wrote: Hi! I'm trying to digest tmux's man page's statement, that it is

Re: ksh's HISTFILE [was: Re: SSH, root can repeat commands with up arrow, others cannot]

2012-03-14 Thread Nicholas Marriott
I dunno, I hadn't really noticed this behaviour but now that you point it out I kind of like it, apologist or not. It frequently annoys me with bash that I lose $LONGCOMMAND I typed in one shell because I exited it, it's nice to be able to search for and find it in existing shells as well. Maybe

Re: terminal descriptions for AMD/Intel consoles

2011-11-15 Thread Nicholas Marriott
Yeah it's on my todo list :-). On Mon, Nov 14, 2011 at 10:58:10AM +0400, Alexei Malinin wrote: Nicholas Marriott wrote: ... I at least would be pretty reluctant to include full terminfo entries as local changes in OpnBSD. If possible try to get them upstream. Hello, Nicholas. Thomas

Re: Why you don't have any credibility

2011-10-03 Thread Nicholas Marriott
Uh, really? Troll is in the DOMAIN NAME dude... On Mon, Oct 03, 2011 at 01:17:45PM +0800, Lars Hansson wrote: http://www.trollaxor.com/2010/06/why-i-left-openbsd.html http://www.trollaxor.com/2010/06/why-i-almost-gave-openbsd-10-didnt.html

Re: GCC 4.2.4?

2011-09-15 Thread Nicholas Marriott
Ports gcc4 is called egcc so it doesn't conflict with base gcc4 which'll stay as 4.2.1 On Thu, Sep 15, 2011 at 02:40:46PM -0400, Jeffrey Walton wrote: Hi All, After installing GCC 4.2.4, I still have version 4.2.1. I've learned a little about pkg_add, so I went hunting for the README. $

Re: terminal descriptions for AMD/Intel consoles

2011-09-06 Thread Nicholas Marriott
wsvt25 is part of upstream ncurses and AFAIK is meant to be the terminfo description for wscons vt220 emulation. I would base any improved entries on it, either as changes (if they are always right) or addons like eg screen-bce. Upstream ncurses has taken changes to wsvt25 before. I at least

Re: bug in the alternate character set output

2011-07-18 Thread Nicholas Marriott
I get the same results on Linux and OpenBSD so if this is a problem I suspect it is ncurses rather than OpenBSD. You can take this to ncurses-dev or I will have a dig around when I have time, it'd help if you can come up with a simpler example (perhaps where you only change the x member of acsc).

Re: sed behavior

2011-06-15 Thread Nicholas Marriott
FWIW GNU sed also appears to have the same behaviour (different from perl). On Wed, Jun 15, 2011 at 12:26:39PM +0200, Otto Moerbeek wrote: On Wed, Jun 15, 2011 at 12:17:09PM +0200, Otto Moerbeek wrote: It differs from perl like this: $ echo 'l1_1' | perl -pe 's/1|$/X/g' lX_XX

Re: OT: Re: Seems OpenBSD isn't absolutely alone in it's quest, atleast on embedded systems.

2011-06-07 Thread Nicholas Marriott
You are either trolling or just very mixed up, the important thing is not how quickly machines can parse it or how quickly you can write a lexer but how quickly humans can parse it and what they can do with it. C is not the best here but it is way ahead of any kind of useless functional language.

Re: OpenCVS in Base?

2010-11-22 Thread Nicholas Marriott
It's in the tree but not linked into the build. You can use it and there are people working on it sporadically, but expect bugs. On Sat, Nov 20, 2010 at 01:05:21AM -0700, Clint Pachl wrote: I am starting a new project that needs version control and I was thinking about using OpenCVS. However,

Re: a minor correction to rc.conf comments

2010-07-30 Thread Nicholas Marriott
i find that despite extra verbosity, trolls still sound the same. boring On Thu, Jul 29, 2010 at 12:15:44PM +0100, Kevin Chadwick wrote: You mean not everyone speaks enough latin to know the difference between exempli gratia and id est? What is modern education coming to. Well,

Re: tmux and rogue window titles in the status line

2010-07-25 Thread Nicholas Marriott
echo \\033]2\;$(hostname)\\007 On Sun, Jul 25, 2010 at 04:01:12PM +0200, frantisek holop wrote: hi there, i am sure it happens to everyone once in a while that a rogue program sets the window title in tmux's status line to something unexpected, like

Re: tmux and rogue window titles in the status line

2010-07-25 Thread Nicholas Marriott
that is not the window title, it is the window name you need to unset the automatic-rename option for that window, which will have been set to off by the rename window escape sequence On Sun, Jul 25, 2010 at 10:11:17PM +0200, frantisek holop wrote: i think we are not entirely on the same page

Re: request help with tip and serial port problem

2010-07-13 Thread Nicholas Marriott
And what is the response now? You should be using cua01 not tty01. On Tue, Jul 13, 2010 at 06:47:18AM -0600, fred wrote: I restored the dialer group to /dev/tty01 and added the user to the dialer group as Nick suggested. It still doesn't work but the response is different now. I believe

Re: gcc4,amd64 - mk.conf?

2010-05-30 Thread Nicholas Marriott
You only need it if you are building on an arch which hasn't moved to gcc4 yet (that is, not amd64 or sparc64). On Sun, May 30, 2010 at 11:30:15AM +0200, Dorian B?ttner wrote: Marco's instructions, pointed to from the undeadly article, mentions to set COMPILER_VERSION=gcc4 in mk.conf, as

Re: Is that Theo showing of his server rack again on the OBSD home page ?

2010-05-21 Thread Nicholas Marriott
src and ports On Fri, May 21, 2010 at 11:47:07AM +0200, Jan Stary wrote: On May 21 08:15:18, Keith wrote: http://www.openbsd.org/images/rack2009.jpg What's the difference between the .s machines (left) and the .p machines (right)?

Re: Date from tmux's status-right is disappearing randomly

2010-05-13 Thread Nicholas Marriott
I'll have a look but you can just use %H:%M %d.%m.%Y directly in status-right, you don't need to call date. On Thu, May 13, 2010 at 04:25:38PM +0100, Milin wrote: Hi all, I have customized the status-right in tmux to show apm -l output (remaining battery) and date with time. But I'm facing

Re: openbsd not blob free?

2010-05-05 Thread Nicholas Marriott
It's not a blob, it is firmware image and there are a few of them in the tree. Blobs are binary drivers. On Wed, May 05, 2010 at 11:32:47AM -0400, Kent Watsen wrote: There is a discussion on the osol-discuss mailing list this morning where it's pointed out that OpenBSD source tree has a blob

Re: Source Overview

2010-04-20 Thread Nicholas Marriott
I have a large public todo list for tmux (it is even distributed in the portable tarball), and I don't actually mind helping people, so long as they make some effort. Even so I get very very few contributions for todo list items, most stuff I get is from people who specifically want a feature or

Re: Radius Auth and Insecurity Outputs

2010-04-20 Thread Nicholas Marriott
Yeah I agree, I think we should pick something sensible and document it in security(8). Most people use * for disabled, how about something like *nocheck? On Tue, Apr 20, 2010 at 09:39:43AM -0400, Ted Unangst wrote: On Tue, Apr 20, 2010 at 7:04 AM, Alexander Hall ha...@openbsd.org wrote: Set

Re: can't load library 'libc.so.51.0' on -current

2010-04-19 Thread Nicholas Marriott
On Mon, Apr 19, 2010 at 10:45:45AM -0500, Bryan wrote: I am running the latest snapshot from ftp.openbsd.org. Install appears fine, and I've had no issues until I tried to pull the latest from CVS. r...@openbsd-v0 /usr # CVS -d$CVSROOT checkout -P xenocara cvs: can't load library

Re: can't load library 'libc.so.51.0' on -current

2010-04-19 Thread Nicholas Marriott
What arch are you using? What do: $ which cvs $ ldd `which cvs` show? What do ktrace cvs/kdump show? On Mon, Apr 19, 2010 at 12:38:55PM -0500, Bryan wrote: On Mon, Apr 19, 2010 at 12:30, Bryan bra...@gmail.com wrote: On Mon, Apr 19, 2010 at 11:40, Bryan bra...@gmail.com wrote: On Mon,

Re: can't load library 'libc.so.51.0' on -current

2010-04-19 Thread Nicholas Marriott
Actually, never mind, this is a server error with anoncvs.usa.openbsd.org by the look of it. On Mon, Apr 19, 2010 at 07:02:22PM +0100, Nicholas Marriott wrote: What arch are you using? What do: $ which cvs $ ldd `which cvs` show? What do ktrace cvs/kdump show? On Mon, Apr 19

Re: Radius Auth and Insecurity Outputs

2010-04-19 Thread Nicholas Marriott
Or just set the password to skey for radius users too? On Mon, Apr 19, 2010 at 06:04:22PM -0400, Ted Unangst wrote: On Mon, Apr 19, 2010 at 5:42 PM, Andrew Klettke aklet...@opticfusion.net wrote: You mean the * field? I've replaced that with radius, as you suggested, so it looks like so:

Re: sudo - protected directory

2010-04-19 Thread Nicholas Marriott
Use grep -r? On Mon, Apr 19, 2010 at 06:37:23PM -0400, Frank Bax wrote: The first example in 'man sudo' shows how to list files in a protected directory: sudo ls /usr/local/protected I am not sure how I would search the contents of files found in such a directory, for example:

Re: Adding custom termcap entries.

2010-04-04 Thread Nicholas Marriott
OpenBSD uses its own terminfo database format, but the default paths are searched as well so you can just use tic(1): $ ftp -o rxvt-unicode.terminfo \ http://cvs.schmorp.de/rxvt-unicode/doc/etc/rxvt-unicode.terminfo?revision=1.26 $ sudo TERMINFO=/usr/share/terminfo tic -x rxvt-unicode.terminfo $

Re: Adding custom termcap entries.

2010-04-04 Thread Nicholas Marriott
:42, Nicholas Marriott [1]nicholas.marri...@gmail.com wrote: OpenBSD uses its own terminfo database format, but the default paths are searched as well so you can just use tic(1): $ ftp -o rxvt-unicode.terminfo \ [2]http://cvs.schmorp.de/rxvt-unicode/doc/etc/rxvt

Re: Adding custom termcap entries.

2010-04-04 Thread Nicholas Marriott
. On Sun, Apr 04, 2010 at 05:55:01AM -0400, Russell Harmon wrote: The output of the infocmp command isn't valid in /etc/termcap. It doesn't even use the same syntax! -- Russell Harmon RTP Computer Science House On Sun, Apr 4, 2010 at 05:42, Nicholas Marriott [1

Re: turning off console cursor

2010-04-04 Thread Nicholas Marriott
Use TERM=xterm (on 4.7) or TERM=xterm-xfree86 (before 4.7) instead. xterm-color does not have the civis entry, so programs will not know how to turn the cursor off. On Sun, Apr 04, 2010 at 12:21:14PM +0200, LEVAI Daniel wrote: Hi! How do you guys make the cursor invisible in console? I'm

Re: Terminal initialization configuration for multiple consoles on loongson

2010-02-28 Thread Nicholas Marriott
Hi You are missing -c, su passes its arguments directly to sh so you are in effect running sh /usr/bin/tmux rather than sh -c /usr/bin/tmux. On Sun, Feb 28, 2010 at 11:00:16PM +0200, Lars Nooden wrote: On Thu, 25 Feb 2010, Otto Moerbeek wrote: The smfb(4) framebufer just does not support more

Re: xterm + tmux 256 colors

2010-02-17 Thread Nicholas Marriott
The two common ways are to set default-terminal and not touch TERM elsewhere, or to do something like [ -n $TMUX ] export TERM=screen-256color. in .profile or whatnot. You can do it whichever way you like. On Wed, Feb 17, 2010 at 11:38:22PM +0100, frantisek holop wrote: hi there,

Re: writing to usb very slow

2010-01-17 Thread Nicholas Marriott
dmesg? results of testing with dd? What speed to do you get if you use FFS? I get around 9 MB/s to a slow USB hard disk with FFS, which would be around 2.5 hours for 72 GB, and I routinely backup many GBs to it. So I'm guessing either its ext2 or your hardware. On Sat, Jan 16, 2010 at

Re: Disable SSH passwords per user

2010-01-04 Thread Nicholas Marriott
sshd_config(5), look at Match. You may also want to look at command= in sshd(8). And of course you can always set an impossible password hash to prevent password logins... On Tue, Jan 05, 2010 at 11:18:39AM +1100, Ted wrote: Had a quick google and search or marc, but came up with no answers.

Re: 4.6 hang

2009-11-01 Thread Nicholas Marriott
Hi On Fri, Oct 30, 2009 at 05:09:21PM -0500, Matthew Young wrote: Iam very curious about your problem, we all fear encountering something similar in the future... Why wasnt anybody able to help out based on your DDB trace ? If I ever get such event what is the best information then that

Re: Payment Card Industry (PCI) Data Security Standard HELP!

2009-10-21 Thread Nicholas Marriott
Hi I think everything you want is in login.conf(5). You may need an external program to do 8.5.12. On Wed, Oct 21, 2009 at 09:16:33AM -0400, Stuart VanZee wrote: The company I work for is having their yearly Payment Card Industry (PCI) assessment and while I believe that OpenBSD is the most

Re: tmux fails to redraw on \n

2009-10-17 Thread Nicholas Marriott
Hi Can you make sure you are running HEAD as of this morning (tty.c r1.51) and see if this still happens? If it does, please try C-b r after the problem happens and tell me if it redraws the screen correctly then. Also please do the following (this procedure also works for anyone else who would

Re: screen redraw by tmux and selection in putty

2009-10-15 Thread Nicholas Marriott
Hi I can't reproduce this, putty clears the selection when I press enter in both tmux, screen or outside both. Probably tmux is outputting something that putty thinks is an appropriate trigger to clear its selection, but the mechanics of how and when it does clear is outside tmux's control, you

Re: home, end, delete, pageup, pagedown with ksh

2009-10-13 Thread Nicholas Marriott
Hi I want to use home, end, delete, pageup, pagedown with ksh. My TERM is xterm-color. These keys works fine with tcsh and zsh, but not with ksh (print a tilda ~) I found this: bind '^[[3'=prefix-2 bind '^[[3~'=delete-char-forward bind '^[[1'=prefix-2 bind '^[[1~'=beginning-of-line

Re: home, end, delete, pageup, pagedown with ksh

2009-10-13 Thread Nicholas Marriott
On Tue, Oct 13, 2009 at 11:00:05AM +0200, Nicolas Letellier wrote: Hello. First, thanks for this answer! Le 13/10/2009 09:57, Nicholas Marriott a icrit : For me, Home and End generate ^[[H and ^[[F (you can check they do for you as well by running cat then pressing the keys, if they don't

Re: tmux send command to all panes

2009-10-04 Thread Nicholas Marriott
Hi Do you mean tmux commands or typing? There is no way to specify multiple panes/windows/anything to a single tmux command at the moment. You can do most things with a shell script though. A few people have suggested some abilities along the lines of omnitty or clusterssh but I'm not sure it

Re: tmux send command to all panes

2009-10-04 Thread Nicholas Marriott
On Sun, Oct 04, 2009 at 11:01:35AM +0200, Tomasz Pajor wrote: Do you mean tmux commands or typing? I mean typing. There is no way to specify multiple panes/windows/anything to a single tmux command at the moment. You can do most things with a shell script though. A few people have

Re: tmux neww syntax

2009-09-22 Thread Nicholas Marriott
On Tue, Sep 22, 2009 at 04:47:31AM +0200, frantisek holop wrote: hmm, on Mon, Sep 21, 2009 at 06:36:17PM -0700, Aaron Stellman said that take a look at ./examples/n-marriott.conf in http://downloads.sourceforge.net/tmux/tmux-1.0.tar.gz thanks for the pointer. it seems that i am missing

Re: tmux - open terminal failed

2009-09-03 Thread Nicholas Marriott
Hi This should work in -current. Older tmux, including 4.6, would need to reopen the tty device node which meant permissions would get in the way, in -current it uses imsg and passes the tty fd that has already been opened from the client up to the server so it doesn't need to care about file

Re: tmux status bar

2009-08-27 Thread Nicholas Marriott
Hi On Thu, Aug 27, 2009 at 11:00:54AM +, Daniel Bolgheroni wrote: Hi misc@, just noticed the status bar of tmux gone with the latest snapshot. I didn't followed the cvs entries for a couple of days. Is this a normal behaviour? My .tmux.conf is below: --.tmux.conf-- set-option -g

Re: net hangs (pf related?)

2009-08-19 Thread Nicholas Marriott
Well, can you reproduce it if you run the rsnapshot manually? If you go back to a kernel from 6 days ago does it work? On Wed, Aug 19, 2009 at 09:08:14AM +0200, Antoine Jacoutot wrote: No one, really? On Tue, 18 Aug 2009, Antoine Jacoutot wrote: Hi. For five days in a row now

Re: net hangs (pf related?)

2009-08-19 Thread Nicholas Marriott
, Antoine Jacoutot wrote: On Wed, 19 Aug 2009, Nicholas Marriott wrote: Well, can you reproduce it if you run the rsnapshot manually? Yes. If you go back to a kernel from 6 days ago does it work? I am using a kernel from 6 days ago. Latest available is Aug 11st. As I said, I

Re: Colors and layout behaviour in tmux

2009-07-27 Thread Nicholas Marriott
Unless you are running tmux inside screen, you should not use TERM=screen outside. You should have TERM=screen /inside/ tmux. tmux will set that itself but you should be careful not to change it in shell startup files. Probably I missed this. What's the recommended TERM entry to use

Re: Colors and layout behaviour in tmux

2009-07-24 Thread Nicholas Marriott
Hi I'm trying to get colors right in tmux and just updated to the latest snapshot to see if I get it running. Ways I'm trying to initialize tmux: $ TERM=screen tmux $ TERM=screen tmux -2 $ TERM=screen tmux -8 $ TERM=screen tmux -d Unless you are running tmux inside screen, you should

Re: tmux vs screen questions

2009-07-13 Thread Nicholas Marriott
I'll add the keys to the todo list. How -current did you test? There were some fixes recently, can you please try CVS HEAD? On Mon, Jul 13, 2009 at 04:22:18AM -0500, i meltp wrote: On Sun, Jul 12, 2009 at 7:54 PM, Nicholas Marriottnicholas.marri...@gmail.com wrote: What is copy mode

Re: tmux vs screen questions

2009-07-12 Thread Nicholas Marriott
the first feature that i would like to turn off is how tmux resizes my putty window to strict 80 columns, probably based on COLUMNS. but COLUMNS is lying, i set my windows size in putty to 100x25 and the shell doesn't pick it up at login time... it's not a big deal really because many

Re: tmux vs screen questions

2009-07-12 Thread Nicholas Marriott
I see, thanks. I don't think a customisable message is necessary, but yes it would be nice to have the option to display bells visually - I'll have a look, it shouldn't be too difficult. It might be better not to use the terminal visual bell but to just always show it in the same way in the

Re: tmux vs screen questions

2009-07-12 Thread Nicholas Marriott
What is copy mode missing? nothing, i just put it on the list what is needed for tmux to dehtrone screen :] I don't understand. What is tmux copy mode missing? visual bell with configurable text I don't know what this means? screen lets you do something like this: vbell on

Re: tmux vs screen questions

2009-07-12 Thread Nicholas Marriott
What does echo $TERM show before you attach tmux? again, this seems to be a putty specific issue. no problems whatsoever on local terminal. TERM is set to xterm before i run tmux, then it changes to screen. The xterm terminal description does not support colour so tmux does not

Re: tmux vs screen questions

2009-07-12 Thread Nicholas Marriott
the same as that. xterm-new inherits from xterm-basic, which we have, but our xterm-basic is not quite the same as the one they use. I'll have a closer look tomorrow and see if I can get it sorted out. On Mon, Jul 13, 2009 at 11:51:13AM +1000, Damien Miller wrote: On Mon, 13 Jul 2009, Nicholas Marriott

Re: tmux resetting DISPLAY variable

2009-07-03 Thread Nicholas Marriott
Hmm. I thought I could reproduce this but now I can't. Please send me the output of env before starting tmux and from inside tmux, and the output of tmux show -g after starting it. On Fri, Jul 03, 2009 at 01:07:44PM +0200, LEVAI Daniel wrote: Hi! Anyone else noticed that tmux(1) resets the

Re: tmux resetting DISPLAY variable

2009-07-03 Thread Nicholas Marriott
Yes, that would do it. Whatever I was doing when I was trying this earlier, everything is fine now... and tmux doesn't explicitly overwrite any variables except $TMUX and $TERM. On Fri, Jul 03, 2009 at 04:16:48PM +0200, LEVAI Daniel wrote: On Friday 03 July 2009 15.28.12 you wrote: On Fri,

Re: Does auto mounter support nfsv3?

2007-08-15 Thread Nicholas Marriott
Here is my config file now # cat amd.net /defaults type:=host;fs:=${autodir}/${rhost};rhost:=${key} * opts:=ro,soft,intr,nfsv3,udp Hrm, I thought this was working for me but I think I was confused. It doesn't look like OpenBSD's amd supports it, none of the obvious

Re: FIXED!!! :Re: qemu and -net tap, how can I enable network?

2006-06-07 Thread Nicholas Marriott
Hi, $ sudo qemu -m 64 /home/qemu/debian-31r1a-i386.img -net tap -net nic warning: could not open v ,^@ : no virtual network emulation Could not initialize device 'tap' This problem is fixed in -current ports (qemu 0.8.0p4). For 3.9 you can try the patch at:

Re: Bug in 'usermod'?

2005-07-06 Thread Nicholas Marriott
Maxim Bourmistrov wrote: Hello [EMAIL PROTECTED] Do we have a bug in 'usermod'? The situation: groupadd -g site1 ; groupadd -g 1112 site12; groupadd -g 1123 site123 then add same user to the groups usermod -G site1 en;usermod -G site12 en; usermod -G site123 en user 'en' will appear 3