Opened 4 years ago

Last modified 4 years ago

#330 new bug

splitter could support ad hoc text entry, to split what it's given on cmd line

Reported by: Fred T. Hamster Owned by:
Priority: minor Milestone:
Component: feistymeow-scripts Version:
Keywords: Cc:


like a call like this:

splitter -t "this needs to be split up now, thanks."

ooooh, and it also needs to have a clue about the virtual terminal size to do that effectively without being told the widths.

so we need to do xprop or check env vars for those things.

Change History (1)

comment:1 Changed 4 years ago by Fred T. Hamster

ha, here's the clue re:
columns and lines xterm for splitter:
# show # lines.
tput lines
# show # columns.
tput cols

ah, also "stty size" works to show lines and columns.

Last edited 4 years ago by Fred T. Hamster (previous) (diff)
Note: See TracTickets for help on using tickets.