Reputation
520
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
3 8
Impact
~58k people reached

  • 0 posts edited
  • 0 helpful flags
  • 6 votes cast
Nov
23
awarded  Popular Question
Nov
20
awarded  Enlightened
Nov
20
awarded  Nice Answer
May
18
comment using a pty like a socket?
Ok, thanks. It seems like I may need to dig further into the libraries I'm using.
May
18
accepted using a pty like a socket?
May
18
comment using a pty like a socket?
I've tried opening a pair of read/write pipes to the target program. My problem here is that if I want to check whether there's any new data available (with a lua read(0)), it blocks if there is no data to read from the pipe. This isn't very useful for a "have I read everything" check, that's why I was using lpty.
May
15
comment using a pty like a socket?
openvt seems to require sudo on this machine (Ubuntu trusty; without root I get: Couldn't get a file descriptor referring to the console) so this isn't an option.
May
15
asked using a pty like a socket?
Jan
23
awarded  Scholar
Jan
23
accepted socat disable double echo
Nov
18
awarded  Revival
Nov
1
comment socat disable double echo
Nope. That too does not echo anything while I'm typing, until I press ENTER. I want to see and be able to edit while I type, just not have the line echoed back again after I press ENTER.
Oct
31
asked socat disable double echo
Sep
30
asked How do programs detect home directory (other than $HOME)
Aug
28
comment What does bash -l do and why can't it find ssh?
Bash does not, by default, take a command to run as an option - at least not according to man bash on my system. That's what the -c option is for; do you want bash -l -c ssh? The plain bash -l ssh starts a login shell and tries to run a file named ssh as a shell script, whereas your ssh is probably an executable.
Jul
20
awarded  Yearling
Jul
20
awarded  Yearling
Jul
1
answered Unzipping certain archives works on Windows but not on Linux
Feb
12
comment mapping <C-F9> in gvim: no response
XFCE 4.6.1/XFWM on Xubuntu 10.04 LTS "Lucid" with Gnome 2.30.2. In fact most CTRL key combinations seem not to work as expected e.g. <C-9> doesn't show up as anything either but <C-V>, <C-K> do work so the control key itself isn't broken.
Feb
11
asked mapping <C-F9> in gvim: no response