Reputation
495
Top tag
Next privilege 500 Rep.
Access review queues
Badges
2 6
Newest
 Scholar
Impact
~42k people reached

  • 0 posts edited
  • 0 helpful flags
  • 6 votes cast
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
Nov
21
awarded  Commentator
Nov
21
comment Why could the size of the “dot” file “.” exceed 4096?
(2) Sadly, no longer. This used to be possible on old UNIX versions.
Nov
21
comment Why could the size of the “dot” file “.” exceed 4096?
(1) See also unix.stackexchange.com/questions/38639/… - short answer, delete the directory and recreate it.