summaryrefslogtreecommitdiff
path: root/sys/src/cmd/vt
AgeCommit message (Collapse)Author
2023-01-14vt: ignore xterm Set/reset key modifier options escape sequencecinap_lenrek
2022-12-14vt: add OSC 7 support for plumbing of remote files without mount/bind magicSigrid Solveig Haflínudóttir
2022-10-04vt: fix home/end sequences in xterm modeMichael Forney
According to the ncurses terminfo database, we have $ for k in khome kend; do printf '%s:\t' "$k"; TERM=xterm tput $k | od -An -tc; done khome: 033 O H kend: 033 O F $ This differs from vt220fk, so add a new xtermfk table with the proper sequences.
2022-10-05vt: quote special characters in command argumentsMichael Forney
These arguments are interpreted by rc, so use needsrcquote to quote them properly.
2022-05-11vt: increase buffer sizeXiao-Yong Jin
This patch increases the buffer sizes in vt(1) to reduce the latency from the roundtrip between terminal and cpu server.
2021-06-26vt: allow scrolling with the mouse.Ori Bernstein
2021-06-26vt, ssh: don't send interrupts on window resizeOri Bernstein
When resizing windows, vt would signal ssh by updating the window size and sending an interrupt. Ssh reacted by forwarding both the winch and an interrupt. This change adds a WINCH generation counter so that ssh can differentiate between resizes and interrupts. If an interrupt comes in, and the WINCH generation changes, then the interrupt is taken as signalling a WINCH.
2020-12-18vt: rfork environment varibles (thanks fshahriar)Ori Bernstein
vt sets several environment variables ($TERM, $COLS, $LINES) after exiting. This change rforks the environment so that this detritus doesn't get left behind.
2020-10-30vt: improve behavior of chordingOri Bernstein
vt chording behaves slightly differently from other applications: a chord must be fully released before the next chord can be applied. This makes any change in chord apply the action.
2020-04-11triple-click to select non-whitespace segmentOri Bernstein
The previous patch to plumb non-whitespace segments was confusing due to lack of visual feedback. This removes the empty selecton plumb behavior, and instead makes triple clicking work to get a plumbable selection.
2020-04-11vt plumbing: don't require selectionOri Bernstein
Plumbing text in vt requires selecting the text that you want to plumb precisely. This patch makes plumbing behave the same way that it does in rio.
2019-04-02vt: dont make fs procs hang arround when closing rio windowcinap_lenrek
2019-02-25vt: fix %.*s in sendncars()cinap_lenrek
2018-09-27vt: fix backup/forward after resizecinap_lenrek
2018-09-27vt: implement word selectcinap_lenrek
2018-09-20vt: make selecting() wait until all buttons are lifted avoiding menu when ↵cinap_lenrek
chording
2018-09-20vt: implement line selection by double clickcinap_lenrek
2018-09-04vt: fix selection past baseline (thanks BurnZeZ)cinap_lenrek
2018-09-03vt: fix selrange() to recover whitespace indentioncinap_lenrek
2018-09-03vt: get rid of "clear" menu entry, fix 24x80 resize, reset selection on ↵cinap_lenrek
setdim(), document snarf/plumb
2018-09-03vt: fix plumbsel(), snarfsel()cinap_lenrek
- plumbsel() - remove debug prints - use smalloc() to convert to bytes - fix spurious -1 close of plumb fd - snarfsel() - fix rune buffer leak in open error case
2018-09-03vt: implement proper selections (thanks Ori_B)cinap_lenrek
Ori Bernstein wrote: > I finally got around to taking another shot at this vt patch. This change > gets rid of implicit snarfing, and instead makes selection the way you > select text for snarfing or plumbing. Select, then use a menu entry. > > It would probably be nice to have double click to expand the selection, > rio-style, along with plumbing implicitly taking the current word, but > that can be a separate patch. > > This change also punts on scrolling for simplicity -- it clears the > selection instead of trying to handle the cases where the selection > goes offscreen. little amendments: - fix line selection (point min/max inversion) - clear selection when switching linesel/blocksel - move selection on scroll
2017-10-20vt: block when sending input to host (fixes truncated paste)cinap_lenrek
2017-08-22vt: turn off nl -> nl+cr translation default in raw mode, don't scroll more ↵cinap_lenrek
than screen height
2017-08-20vt: block selection mode for snarfcinap_lenrek
2017-08-20vt: implement /dev/cons and /dev/consctl as a fileserver, winch, incremental ↵cinap_lenrek
redraw we used to bind a pipe to /dev/cons and /dev/consctl with some shared segment hack to pass tty info arround. now we implement this as a fileserver. add support for "winchon"/"winchoff" ctl message to enable interrupt on window size change. (used by ssh) keep track of fullscreen scrolls, avoiding redrawing the whole screen each time.
2017-08-09vt: fix silly bug causing characters be drawn one at a timecinap_lenrek
2017-05-20vt: don't flush while there is keyboard input availablecinap_lenrek
2017-04-22vt: handle underline attributecinap_lenrek
2017-04-22vt: handle nocolor flag and reversed background colorscinap_lenrek
2017-04-22vt: handle insert/delete/home/end keys for vt220/xtermcinap_lenrek
2017-04-22vt: handle application/normal mode (really fixes cursor keys)cinap_lenrek
2017-04-22vt: fix xterm cursor keyscinap_lenrek
2017-04-22vt: fix background drawingcinap_lenrek
2017-04-19vt: cursoron, don't resize winow when replying historycinap_lenrek
2017-04-19vt: but not too fast :-)cinap_lenrek
if drawing can't keep up with the host, make sure we eventually redraw the screen and check for user events.
2017-04-19vt: make it fastcinap_lenrek
2017-04-18vt: send interrupt on exit, open logfile OCEXEC, run host after environment ↵cinap_lenrek
got exported, send rest of arguments to host
2017-04-18vt: allow for a bit of bufferingcinap_lenrek
2017-04-18vt: convert from event to threadscinap_lenrek
the event library doesnt do any flow control. if the host keeps sending data while the user is mousing arround, extract() will collect the data until memory fills up. so instead we abandon the event library and convert the program to use channels.
2017-04-17vt: increase history buffer to 64K runescinap_lenrek
2017-04-17vt: implement snarf supportcinap_lenrek
2016-03-01vt: add -r flag to start in raw modeBurnZeZ
2013-10-28vt: discard unhandle OSC escapes, and use nelem instead of sizeof for title ↵mischief
buffer
2013-10-27cmd/vt: fix xterm function keysmischief
2013-10-27vt: remove defunct hp terminal emulationcinap_lenrek
2013-10-27vt: utf-8 supportcinap_lenrek
2013-10-02vt: dont pollute the outer environment (thanks mischief!)cinap_lenrek
2013-08-11vt: fix off by one memory corruptioncinap_lenrek
account for the final 0 byte in host_buf.
2013-01-13vt: ignore line spacing escape2cinap_lenrek