Special mode that sends replies to the client window they belong to?
It's a little bit jarring to have to look at the log window to see my friends' replies. I suppose it's handy for people who need the replies sent through a text-to-speech program, but I want the CLI simply because I don't like Skype's interface. Is there a way to have replies from a given handle appear in client windows that are chatting with that handle?
Hi: Doing as you suggest would mean implementing a GUI, something I most definitely want to avoid.
Derpford writes:
It's a little bit jarring to have to look at the log window to see my friends' replies. I suppose it's handy for people who need the replies sent through a text-to-speech program, but I want the CLI simply because I don't like Skype's interface. Is there a way to have replies from a given handle appear in client windows that are chatting with that handle?
Reply to this email directly or view it on GitHub: https://github.com/lsmithso/skcmd/issues/2
Les Smithson
Well, it wouldn't necessarily mean implementing a GUI; simply echoing messages to an skcmd instance that's running interactively would work.
On Tue, Jan 12, 2016, 1:25 PM lsmithso [email protected] wrote:
Hi: Doing as you suggest would mean implementing a GUI, something I most definitely want to avoid.
Derpford writes:
It's a little bit jarring to have to look at the log window to see my friends' replies. I suppose it's handy for people who need the replies sent through a text-to-speech program, but I want the CLI simply because I don't like Skype's interface. Is there a way to have replies from a given handle appear in client windows that are chatting with that handle?
Reply to this email directly or view it on GitHub: https://github.com/lsmithso/skcmd/issues/2
Les Smithson
— Reply to this email directly or view it on GitHub https://github.com/lsmithso/skcmd/issues/2#issuecomment-171024111.
There's only one long running skcmd.py instance and that's the server. That already displays chat messages, but that's not what you want. All other skcmd.py invocations exit as soon as they have processed their cli options.
This means there is no skcmd.py instance to route a chat message to. The skcmd.py server could splat a message to the tty that a skcmd.py client was running on, but that has to be tracked by the server. Suppose you start vi in that same tty and the server then splats a message to it? And Splatting a message to a tty as you type a reply is not helpful either.
Fundamentally the cli is stateless and sessionless. That was a deliberate design decision.
Derpford writes: > Well, it wouldn't necessarily mean implementing a GUI; simply echoing > messages to an skcmd instance that's running interactively would work.
Les Smithson Senior Python Developer YouGov
50 Featherstone Street, London, United Kingdom, EC1Y 8RT Tel: +44 20 7012 6000 Fax: +44 20 7012 6001 Direct: +44 20 7012 6000 Email: [email protected] Website: http://yougov.com Follow us at: http://twitter.com/#!/YouGov
On Tue, Jan 12, 2016, 1:25 PM lsmithso [email protected] wrote:
Hi: Doing as you suggest would mean implementing a GUI, something I most definitely want to avoid.
Derpford writes:
It's a little bit jarring to have to look at the log window to see my friends' replies. I suppose it's handy for people who need the replies sent through a text-to-speech program, but I want the CLI simply because I don't like Skype's interface. Is there a way to have replies from a given handle appear in client windows that are chatting with that handle?
Reply to this email directly or view it on GitHub: https://github.com/lsmithso/skcmd/issues/2
Les Smithson
— Reply to this email directly or view it on GitHub https://github.com/lsmithso/skcmd/issues/2#issuecomment-171024111.
Reply to this email directly or view it on GitHub:
https://github.com/lsmithso/skcmd/issues/2#issuecomment-171376768
Les Smithson
There's only one long running skcmd.py instance and that's the server. That already displays chat messages, but that's not what you want. All other skcmd.py invocations exit as soon as they have processed their cli options.
This means there is no skcmd.py instance to route a chat message to. The skcmd.py server could splat a message to the tty that a skcmd.py client was running on, but that has to be tracked by the server. Suppose you start vi in that same tty and the server then splats a message to it? And Splatting a message to a tty as you type a reply is not helpful either.
Fundamentally the cli is stateless and sessionless. That was a deliberate design decision.
Derpford writes:
Well, it wouldn't necessarily mean implementing a GUI; simply echoing messages to an skcmd instance that's running interactively would work.
On Tue, Jan 12, 2016, 1:25 PM lsmithso [email protected] wrote:
Hi: Doing as you suggest would mean implementing a GUI, something I most definitely want to avoid.
Derpford writes:
It's a little bit jarring to have to look at the log window to see my friends' replies. I suppose it's handy for people who need the replies sent through a text-to-speech program, but I want the CLI simply because I don't like Skype's interface. Is there a way to have replies from a given handle appear in client windows that are chatting with that handle?
Reply to this email directly or view it on GitHub: https://github.com/lsmithso/skcmd/issues/2
Les Smithson
— Reply to this email directly or view it on GitHub https://github.com/lsmithso/skcmd/issues/2#issuecomment-171024111.
Reply to this email directly or view it on GitHub:
https://github.com/lsmithso/skcmd/issues/2#issuecomment-171376768
Les Smithson