Re: Mouse 1006

2016-01-27 Thread Stephane Chazelas
2016-01-27 06:51:57 -0600, Tao Zhang: > Hi, > > I need to run a program that requires mouse 1006 protocol in Screen, and I > found the mouse reporting of the program is not right with my customized > terminfo, which support 1006 protocol. > > So I'm wondering whether Screen supports the 1006 repo

Re: Sending commands to shell

2015-09-10 Thread Stephane Chazelas
2015-09-10 15:22:05 -0400, -: > > Hello, I'm fairly new to screen. > > Is there a way to send a command from within an application running > in a screen session to the shell? For example, without leaving the > application can I send a shell script to perform a task then return > to the applicati

Re: flushing to logfile

2012-08-21 Thread Stephane Chazelas
2012-08-21 10:04:03 +0200, Borja Soutullo: > Is there any way to force the flushing of the screen buffer to the logfile? > I want to execute a command and immediately after that, get the logfile and > check the result of the command. > > I know I can set the logfile to be flushed every second with

Re: new window with same pwd

2011-08-10 Thread Stephane Chazelas
2011-08-09 13:52:37 -0700, Neuberger, Sheldon: > Hello, > > Is there a way to open a new window with the same pwd as the current window? [...] By window pwd, I suppose you mean the current working directory of the process started in the current window. (from the pwd command standing for print wor

Re: Q: I'm searching a way to disable Ctrl-Z

2010-12-16 Thread Stephane Chazelas
2010-12-12 21:14:15 +, Stephane Ascoet: > Hi, Ctrl-Z shuts down screen and all opened programms inside it. The only > thing I found was to re-affect the combination to another action, but I'm > unable to find how to simply disable it. I'm sure some of you know how to > do it... [...] It sho

Re: using ';' as control character

2010-03-08 Thread Stephane Chazelas
2010-03-07 23:54:13 -0800, Angel Popov: > Hi, I would like to use Ctrl+; as control character, but > specifying it with escape ^;; in .screenrc does not help.What > else can I try?Thanks, AngelP [...] There's no character. Ctrl characters are the ones from 0 to 31 (^@, ^A->^Z, ^[, ^\, ^], ^^, ^_)

Re: "Cluster" Screen?

2009-09-01 Thread Stephane Chazelas
2009-08-30 20:55:48 -0500, Scott Pilz: > > I'm sure the answer is an immediate no, but I thought I'd ask anyways > before giving up (after man pages, several hours of google searches, > etc.).. > > Using screen, I'd like an option to "cluster" keyboard input to > multiple > screens

Re: Rereading the screenrc file

2009-01-05 Thread Stephane Chazelas
On Mon, Jan 05, 2009 at 03:03:22PM -0500, Will Stevenson wrote: > Is there a way to get screen to reread its configuration file after I make a > change? I could not find a way to do this, but I'm hoping that someone will > know how to do this. [...] :source .screenrc but beware that just interpr

Re: gpm, vim and screen

2008-12-31 Thread Stephane Chazelas
On Wed, Dec 31, 2008 at 12:07:25AM +, Dave Wood wrote: > For some reason gpm mouse does not work when I run vim in a screen. It > works fine outside of screen. Is there some setting I need to use? [...] In order to talk to the GPM daemon, vim must know what virtual console it is in. In screen,

Re: Colon-prompt (:) command history contains only one entry

2008-12-10 Thread Stephane Chazelas
On Wed, Dec 10, 2008 at 02:43:51PM -0500, Ethan Mallove wrote: > Hello, > > I use the ":at" command often in Screen, but it seems my history for > ":" commands contains only a single entry (accessible by hitting the > UpArrow at the ":" prompt). Is there a way to increase this limit? > E.g., a var

Re: zsh under leopard, screen not executing zprofile, wiping PATH

2008-11-20 Thread Stephane Chazelas
On Thu, Nov 20, 2008 at 11:51:31PM +0800, Aaron Davies wrote: > i have an old powerbook g4 which i recently upgraded (in place, not > archive-and-install) from tiger to leopard. now, when i start screen, > zsh apparently resets the PATH to the bare basic four directories > (overriding the heavily c

Re: reading custom .bashrc

2008-08-13 Thread Stephane Chazelas
On Wed, Aug 13, 2008 at 09:09:25PM +0900, Seongsu Lee wrote: > I have my own bashrc file named '$HOME/.{USERNAM}/bashrc'. I want the bash > shell read the custom bashrc file when I create a new window every time in > GNU screen. Do you have some configurations for this in screenrc? Or > some tricks

Re: Man-writing volunteers?

2008-08-13 Thread Stephane Chazelas
On Wed, Aug 13, 2008 at 04:55:26PM +0200, Juergen Weigert wrote: [...] > - (later) find a tool to generate both from one source [...] About that, zsh uses yodl as a format that is then used to produce texinfo and man pages. The result is good at least on the info side. So you may want to consider

Re: 2 problems using screen with sshfs and symlinks

2008-08-11 Thread Stephane Chazelas
On Wed, Aug 06, 2008 at 07:44:32AM -0700, Ken Steen wrote: > I have a small file manager that uses screen to open programs in new > screen windows. It works correctly except when using screen on a > directory mounted with sshfs or when using screen on a directory that is > a symbolic link. If the

Re: Screen, xterm, initialization strings.

2008-08-11 Thread Stephane Chazelas
On Sun, Aug 10, 2008 at 07:42:22PM -0700, Micah Cowan wrote: [...] > I propose that screen not send the initialization string. Probably with > a command-line option that specifies it should be sent (though, IMO it > should be sent before smkx, and not after). Any thoughts on this? [...] On the oth

Re: Mouse-support with "exec" filters

2008-08-11 Thread Stephane Chazelas
On Fri, Aug 08, 2008 at 02:18:02PM -0700, Micah Cowan wrote: [...] > I think the discussion I wished to have, was whether there was agreement > that in all cases we would wish the mouse sequences to go to the filter, > rather than the application. I would think that in many cases, one would > wish

Re: "exec .!" filters seeing responses to "query" escape sequences

2008-08-08 Thread Stephane Chazelas
On Fri, Aug 08, 2008 at 02:18:02PM -0700, Micah Cowan wrote: [...] > I think the discussion I wished to have, was whether there was agreement > that in all cases we would wish the mouse sequences to go to the filter, > rather than the application. I would think that in many cases, one would > wish

Re: Screen 4.0.3 @ GNU FTP (existing release)

2008-08-08 Thread Stephane Chazelas
On Fri, Aug 08, 2008 at 12:07:20PM -0700, Micah Cowan wrote: [...] > Of course, if you'd like to hurry up the process, feel free to submit > patches against the bugs that are left, so we can finish it up. :) [...] Hi Micah, it's nice to see activity going on on screen again! Thanks for the effort

Re: Using modifier keys other than control in custom keybindings

2008-06-18 Thread Stephane Chazelas
On Wed, Jun 18, 2008 at 10:16:01AM -0500, Samir Unni wrote: [...] > Thanks a lot for the help! I didn't think about using the Vim keybindings > for this purpose, and that's a lot better for me than using Tab/Shift-Tab > anyway. What you said about the characters being sent by the terminal is > very

Re: Using modifier keys other than control in custom keybindings

2008-06-18 Thread Stephane Chazelas
On Wed, Jun 18, 2008 at 08:30:00AM -0500, Samir Unni wrote: > Hi, > > I'm trying to figure out how to set a keybinding for "switch the input focus > to the previous region" as C-a shift-tab. However, the "Default Key > Bindings" section on the man page doesn't show any examples of the syntax > for

Re: rename each screen according to hostname

2008-05-27 Thread Stephane Chazelas
On Tue, May 27, 2008 at 07:51:58PM +1000, Chris Henderson wrote: > I ssh to a lot of servers and every time I have to do C-a A to rename > the screen session to the hostname I ssh to. Is there anyway screen > can automatically change the name to the host I am connected to? [...] ssh() { screen -X

Re: vim black areas after starting screen

2008-05-13 Thread Stephane Chazelas
On Tue, May 13, 2008 at 08:53:06PM +1000, Chris Henderson wrote: > I have a problem which is a bit hard to describe. Here's a background > on my system: bash shell, term outside screen is xterm-color, term > inside screen is screen. > > Once I am inside screen and want to vim edit, say, a 5 line P

Re: bash aliases

2008-05-12 Thread Stephane Chazelas
On Mon, May 12, 2008 at 08:52:21PM +1000, Chris Henderson wrote: > None of my bash aliases seem to be working from inside screen. Is > there any way I could get my .bashrc commands working inside screen? > Here's my .screenrc file. Thanks for any help. > > defscrollback 5 > shell -$SHELL That

Re: Moving a window from one screen session to another

2008-04-21 Thread Stephane Chazelas
On Mon, Apr 21, 2008 at 09:52:51AM +0200, Vladimir Marek wrote: > > I've look through the screen manual and didn't find any way to do what I > > want. I have an active window with a running program (irssi IRC client) > > which I don't want to close and I want to move it from one active screen > > s

Re: for the people whose screen does not crash

2008-02-13 Thread Stephane Chazelas
On Wed, Feb 13, 2008 at 06:21:46PM -0500, Mag Gam wrote: > I am slowly being convinced that my screen crashes (or freezes mainly) are > due to my environment settings. This can include env or stty settings. > > For the people whose screen does not crash what special settings are you > using? What

Re: is there any way to change windows'num(id)

2007-11-01 Thread Stephane Chazelas
On Thu, Nov 01, 2007 at 08:43:13PM +0800, envisage wrote: > On 11/1/07, Salvatore Iovene <[EMAIL PROTECTED]> wrote: > > On 11/1/07, envisage <[EMAIL PROTECTED]> wrote: > > > as the title. for example ,i have 5 window for one session. could i > > > move window3's num to 1? > > > > Yes. ^a:number 1 >

Re: how to scroll scrollback history with mouse wheel?

2007-10-18 Thread Stephane Chazelas
On Thu, Oct 18, 2007 at 11:16:46AM +0300, Eugeny N Dzhurinsky wrote: > Hello! > > Could somebody please explain is it possible to scroll the history of screen > (scrollback history) using mouse wheel somehow? [...] If you're using xterm you could add something like: XTerm.VT100.translations:

Re: Terminal emulators with fullscreen support

2007-05-08 Thread Stephane Chazelas
On Tue, May 08, 2007 at 11:58:05AM -0500, Michael Parson wrote: [...] > > Yes, you are right. It would be a GNOME specific thing, sorry to have > > bothered everybody. > > Or quit using gnome and get something w/o any decorations, or any bloat > at all, like evilwm. [...] Another alternative is

Re: Terminal emulators with fullscreen support

2007-05-08 Thread Stephane Chazelas
On Tue, May 08, 2007 at 08:47:17AM +0200, Nikolai Weibull wrote: > On 5/8/07, Gilles Roy <[EMAIL PROTECTED]> wrote: > > >How do I get rid of that status bar if I run xterm in Gnome? > > By reading the f*ing manual: > > % man xterm > > +tb is the option you want. [...] I beleive Gilles was talk

Re: Screen and Linux box characters

2007-04-24 Thread Stephane Chazelas
On Tue, Apr 24, 2007 at 11:45:49AM +0100, Richard Cryer wrote: > Hi. > > > > I use screen 4.0.2 on various Linux versions ranging from Redhat 7 up to > Redhat Enterprise 4. > > > > However, it seem that Redhat 8 and onwards has a problem in that it > won't let me display box characters, som

Re: sending arrow keys to a session

2007-01-12 Thread Stephane Chazelas
On Fri, Jan 12, 2007 at 10:40:53AM -0500, Jason wrote: > Anyone? Anything? I haven't heard a word on this. Is it at least > possible? > > On 12/28/06, Jason <[EMAIL PROTECTED]> wrote: > >To send regular keys to a screen session externally I can do: > > > >screen -S sessionname -X eval 'stuff "

Re: sending arrow keys to a session

2007-01-12 Thread Stephane Chazelas
On Fri, Jan 12, 2007 at 10:40:53AM -0500, Jason wrote: > Anyone? Anything? I haven't heard a word on this. Is it at least > possible? > > On 12/28/06, Jason <[EMAIL PROTECTED]> wrote: > >To send regular keys to a screen session externally I can do: > > > >screen -S sessionname -X eval 'stuff "

Re: sort windows

2006-10-01 Thread Stephane Chazelas
On Sun, Oct 01, 2006 at 10:28:31AM +0100, Albert Vilella wrote: > Hi all, > > I am trying to find a way to sort or reorganize the windows I have on > a given GNU screen session. The thing is that sometimes I delete and > create windows, and want the new windows to be rearranged in a given > order.

Re: screen-256color terminfo entry?

2006-05-26 Thread Stephane Chazelas
On Thu, May 25, 2006 at 10:19:18PM +0200, Alain Bench wrote: [...] > > a screen where the 256 color support is advertised (on terminals > > without 256 colors, screen translates the colors) > > Wait: That color reduction is a good feature. But the result on an 8 > color terminal might be not a

Re: screen-256color terminfo entry?

2006-05-25 Thread Stephane Chazelas
On Fri, May 19, 2006 at 01:55:59PM +0200, Alain Bench wrote: > Bonjour Stéphane, > > On Tuesday, May 9, 2006 at 8:05:43 +0100, Stéphane Chazelas wrote: > > > Here is what I have. This is screen entry with some xterm specific > > keys and features added (note that the name "screen.xterm-256color"

Re: screen-256color terminfo entry?

2006-05-16 Thread Stephane Chazelas
On Mon, May 15, 2006 at 10:34:46PM -0400, cga2000 wrote: [...] > > Nikolai's entry is: > > > > screen-256color|VT 100/ANSI X3.64 virtual terminal, > > am, km, mir, msgr, xenl, > > cols#80, it#8, lines#24, colors#256, pairs#32767, > > bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[

Re: screen-256color terminfo entry?

2006-05-14 Thread Stephane Chazelas
On Sat, May 13, 2006 at 07:35:16PM -0400, cga2000 wrote: [...] > Here's a screenshot of weechat-ncurses: > >http://www.geocities.com/cga/wee.png > > Seen anything like this in mutt for instance? > > The lines with the date and time & and a cyan background on the > right-handside of the

Re: screen-256color terminfo entry?

2006-05-14 Thread Stephane Chazelas
On Sat, May 13, 2006 at 08:19:19PM -0400, cga2000 wrote: [...] > Now one thing that I had not mentioned earlier is that apart from the > 256-color business, I had also enabled UTF-8 by doing two things: > > 1. changing my locale to en_US.UTF-8 > 2. running "xterm -u8" That may be that. Maybe grof

Re: screen-256color terminfo entry?

2006-05-12 Thread Stephane Chazelas
On Thu, May 11, 2006 at 04:50:45PM -0400, cga2000 wrote: > [..] [...] > when displaying a man page such as xterm's I lose some and even text: > > in the OPTIONS paragraph: > > "-132 Normally, the VT102..." > > becomes: > > "132ormally, the VT102.." > > This behavior is reproduced on the fo

Re: screen-256color terminfo entry?

2006-05-10 Thread Stephane Chazelas
On Wed, May 10, 2006 at 01:01:10AM -0400, cga2000 wrote: [...] > > screen.xterm-256color|VT 100/ANSI X3.64 virtual terminal,=20 > > am, bce, ccc, km, mir, msgr, npc, xenl,=20 > > colors#256, cols#80, it#8, lines#24, pairs#256,=20 > > > > acsc=3D++\,\,--..00II``aaffgghhjjkkllmmnnooppqqr

Re: screen-256color terminfo entry?

2006-05-09 Thread Stephane Chazelas
On Tue, May 09, 2006 at 12:50:55AM -0400, cga2000 wrote: > I was planning to have screen start a few apps automatically using the > "screen" command in my .screenrc but I have run into a minor snag. > > I currently run screen in an xterm with the 256 colors extension enabled > and the TERM variabl

Re: creating a screen with multiple windows when starting a screen

2006-04-21 Thread Stephane Chazelas
On Fri, Apr 21, 2006 at 05:15:10PM -0700, [EMAIL PROTECTED] wrote: > > > Ugur ASLAN <[EMAIL PROTECTED]> said > > (on Sat, Apr 22, 2006 at 02:41:05AM +0300): > > > I can't find a way to create all windows with given titles when > > > starting a screen. And I can't make screen run a comm

Re: Am I running under X?

2005-07-28 Thread Stephane Chazelas
On Thu, Jul 28, 2005 at 10:55:03AM -0400, [EMAIL PROTECTED] wrote: > How can I tell if I'm running under X in a shell script? If I'm in X, I > want to start screen: screen -m -c /my/config/file. If I'm not under X, > I want to start without the -m. It's an odd google to find the answer to > thi

Re: Insert date

2005-04-21 Thread Stephane Chazelas
On Thu, Apr 21, 2005 at 08:38:34PM +0200, Julius Plenz wrote: > Recently, I came across the idea to bind a key to insert the current > date, just like I bound keys to insert things using "stuff". > > However, I tried :bind d exec ! date +%Y-%m-%d. That almost works like > expected. I couldn't figu