glogg icon indicating copy to clipboard operation
glogg copied to clipboard

[Feature request] Open stdin correctly

Open k-h opened this issue 8 years ago • 3 comments

If I pipe a command to glogg, it opens but nothing is in the window.

It's be nice if this worked. Also commandline fifos:

glogg <(command)

ie

glogg <(ls -al)

k-h avatar Sep 13 '17 03:09 k-h

Glogg expects random read access to opened file (file is never kept in memory). As far as I know pipes are not seekable. In theory glogg could read from the pipe, save data to temporary file and display its content, but it looks too cumbersome.

variar avatar Nov 30 '17 21:11 variar

I can think of one way to implement this. Glogg can spawn a process to read stdin and write to temporary file. This file can be opened to do searching. However, this can be easily done in command line with existing tools

variar avatar Sep 04 '19 16:09 variar