From mbauer at alltel.net Sat Sep 24 14:46:04 2005 From: mbauer at alltel.net (Mark Bauer) Date: Sat Sep 24 14:57:44 2005 Subject: [pssh-users] Is there a way to run other progs without closing ssh session??? Message-ID: <1127587564.12599.6.camel@mrz> Is there a utility to not close the communications connection every time I want to look at something else on my Tungsten C. Mark -- Mark Bauer From brian at minton.name Mon Sep 26 01:01:46 2005 From: brian at minton.name (Brian Minton) Date: Mon Sep 26 01:01:47 2005 Subject: [pssh-users] Is there a way to run other progs without closing ssh session??? In-Reply-To: <1127587564.12599.6.camel@mrz> References: <1127587564.12599.6.camel@mrz> Message-ID: <81aa6b5a05092522012084f672@mail.gmail.com> not that I know of, but what I do is use the 'screen' utility on the server side, so that I can just pick up where I left off even over disconnects. On 9/24/05, Mark Bauer wrote: > Is there a utility to not close the communications connection every > time I want to look at something else on my Tungsten C. > > Mark > > -- > Mark Bauer > > _______________________________________________ > pssh-users mailing list > pssh-users@sealiesoftware.com > http://six.pairlist.net/mailman/listinfo/pssh-users > From argentoff at rtelekom.ru Mon Sep 26 01:44:35 2005 From: argentoff at rtelekom.ru (Paul Argentoff) Date: Mon Sep 26 01:44:41 2005 Subject: [pssh-users] cyrillic support Message-ID: <200509260944.36110.argentoff@rtelekom.ru> Hello world. Is there any way to add cyrillic koi8-r support to pssh? -- Yours truly, WBR, Paul Argentoff. Jabber: paul@jabber.rtelekom.ru RIPE: PA1291-RIPE From bergm at sprintpcs.com Wed Sep 28 19:11:27 2005 From: bergm at sprintpcs.com (Mark Berg) Date: Wed Sep 28 19:11:29 2005 Subject: [pssh-users] vt100 function keys Message-ID: <11669903.1127949087795.JavaMail.root@lswmapl04> I use puTTY in vt100 mode to run an application that requires me to back out of certain screens by hitting the F1 key. This works fine from my PC but does not seem to work when I nail up a session using pssh. Any known issues or workarounds for getting the F1 key to respond properly? I am using a SprintPCS Treo 650 with version 2005-06-23 of pssh. I have "vt100" in the Terminal type string under Connection Settings. -------------------- This message was sent from a Sprint PCS Phone. Get a Sprint PCS Wireless Mail account! Sign up via the Wireless Web Browser on your Sprint PCS Phone or at http://www.sprintpcs.com. From gparker-pssh at sealiesoftware.com Wed Sep 28 19:37:36 2005 From: gparker-pssh at sealiesoftware.com (Greg Parker) Date: Wed Sep 28 19:37:38 2005 Subject: [pssh-users] vt100 function keys In-Reply-To: <11669903.1127949087795.JavaMail.root@lswmapl04> References: <11669903.1127949087795.JavaMail.root@lswmapl04> Message-ID: <17211.10560.191040.195886@kaazh.pair.com> Mark Berg writes: > I use puTTY in vt100 mode to run an application that requires me to > back out of certain screens by hitting the F1 key. This works fine > from my PC but does not seem to work when I nail up a session using > pssh. Any known issues or workarounds for getting the F1 key to > respond properly? > > I am using a SprintPCS Treo 650 with version 2005-06-23 of pssh. > I have "vt100" in the Terminal type string under Connection Settings. There are about a half-dozen different ways that different terminals have implemented function keys. pssh uses one of them that seemed reasonable. Your program may be expecting something else. How is your PuTTY configured to handle function keys? That setting is in the "Keyboard" settings panel. pssh attempts to match PuTTY's "default" or "ESC [n~" mode. -- Greg Parker gparker-pssh@sealiesoftware.com From bergm at sprintpcs.com Wed Sep 28 19:45:00 2005 From: bergm at sprintpcs.com (bergm@sprintpcs.com) Date: Wed Sep 28 19:45:51 2005 Subject: [pssh-users] vt100 function keys Message-ID: <0INJ00AM6WNHKQ@lswsmta04.nmcc.sprintspectrum.com> My PuTTY keyboard settings need the VT100+ option. Would I be able to dig into the code to set up the function keys to respond differently? I don't have a lot of the tools that appear necessary to recompile but it might be worth it to me unless you would represent it as a very daunting task not for the faint of heart. I come from a programming background so I'm somewhat brave in this respect. -----Original Message----- From: Greg Parker Subj: Re: [pssh-users] vt100 function keys Date: Wed Sep 28, 2005 4:37 pm Size: 881 bytes To: Mark Berg cc: pssh-users@sealiesoftware.com Mark Berg writes: > I use puTTY in vt100 mode to run an application that requires me to > back out of certain screens by hitting the F1 key. This works fine > from my PC but does not seem to work when I nail up a session using > pssh. Any known issues or workarounds for getting the F1 key to > respond properly? > > I am using a SprintPCS Treo 650 with version 2005-06-23 of pssh. > I have "vt100" in the Terminal type string under Connection Settings. There are about a half-dozen different ways that different terminals have implemented function keys. pssh uses one of them that seemed reasonable. Your program may be expecting something else. How is your PuTTY configured to handle function keys? That setting is in the "Keyboard" settings panel. pssh attempts to match PuTTY's "default" or "ESC [n~" mode. -- Greg Parker gparker-pssh@sealiesoftware.com From bergm at sprintpcs.com Thu Sep 29 12:56:01 2005 From: bergm at sprintpcs.com (Mark Berg) Date: Thu Sep 29 12:56:09 2005 Subject: [pssh-users] vt100 function keys Message-ID: <8107238.1128012961562.JavaMail.root@lswmapl03> I took a look at the code and came across these two snippets. This is from the PuTTY code: if ((term->vt52_mode || term->cfg.funky_type == FUNKY_VT100P) && keysym <= PK_F14) { /* XXX This overrides the XTERM/VT52 mode below */ int offt = 0; if (keysym >= PK_F6) offt++; if (keysym >= PK_F12) offt++; p += sprintf((char *) p, term->vt52_mode ? "\x1B%c" : "\x1BO%c", 'P' + keysym - PK_F1 - offt); goto done; and would appear to be trying to use "ESC O%c" for the function keys in VT100+ mode. This is from the pssh code: snprintf(buf, sizeof(buf), "\e[%d~", i); and appears to be generating "ESC [%d~" for the functions keys. Anyone willing to verify my thinking on this? If I'm on the right track, I might try to arrange for a recompile of pssh with this simple substitution and hopefully be off to the races. Thanks! > Mark Berg writes: > > I use puTTY in vt100 mode to run an application that requires me to > > back out of certain screens by hitting the F1 key. This works fine > > from my PC but does not seem to work when I nail up a session using > > pssh. Any known issues or workarounds for getting the F1 key to > > respond properly? > > > > I am using a SprintPCS Treo 650 with version 2005-06-23 of pssh. > > I have "vt100" in the Terminal type string under Connection Settings. > > There are about a half-dozen different ways that different terminals > have implemented function keys. pssh uses one of them that seemed > reasonable. Your program may be expecting something else. > > How is your PuTTY configured to handle function keys? That setting > is in the "Keyboard" settings panel. pssh attempts to match PuTTY's > "default" or "ESC [n~" mode. > > > -- > Greg Parker gparker-pssh@sealiesoftware.com -------------------- This message was sent from a Sprint PCS Phone. Get a Sprint PCS Wireless Mail account! Sign up via the Wireless Web Browser on your Sprint PCS Phone or at http://www.sprintpcs.com. From gparker-pssh at sealiesoftware.com Thu Sep 29 17:39:42 2005 From: gparker-pssh at sealiesoftware.com (Greg Parker) Date: Thu Sep 29 17:39:44 2005 Subject: [pssh-users] vt100 function keys In-Reply-To: <8107238.1128012961562.JavaMail.root@lswmapl03> References: <8107238.1128012961562.JavaMail.root@lswmapl03> Message-ID: <17212.24350.17226.322538@kaazh.pair.com> Mark Berg writes: > I took a look at the code and came across these two snippets. > > This is from the PuTTY code: > > > if ((term->vt52_mode || term->cfg.funky_type == FUNKY_VT100P) && > keysym <= PK_F14) { > /* XXX This overrides the XTERM/VT52 mode below */ > int offt = 0; > if (keysym >= PK_F6) offt++; > if (keysym >= PK_F12) offt++; > p += sprintf((char *) p, term->vt52_mode ? "\x1B%c" : "\x1BO%c", > 'P' + keysym - PK_F1 - offt); > goto done; > > > and would appear to be trying to use "ESC O%c" for the function keys in > VT100+ mode. > > This is from the pssh code: > > > snprintf(buf, sizeof(buf), "\e[%d~", i); > > > and appears to be generating "ESC [%d~" for the functions keys. > > Anyone willing to verify my thinking on this? If I'm on the right > track, I might try to arrange for a recompile of pssh with this simple > substitution and hopefully be off to the races. Thanks! Yep, that's exactly what you want to change. PuTTY's code for F6 and up looks wrong (F5 and F6 send the same escape sequence?) but you should be fine if you only need F1..F5. Note that `snprintf(buf, len, "%c", 'x')` doesn't seem to work properly in pssh's code. You need to explicitly cast your character to int: `snprintf(buf, len, "%c", (int)'x')`. -- Greg Parker gparker-pssh@sealiesoftware.com