Terminal Emulation

From Hack Sphere Labs Wiki
Revision as of 09:15, 14 October 2015 by Webdawg (talk | contribs) (Created page with "stty -a ssh -t qnxhost stty -a vi ex mode vi :map TERM Since it's ArchLinux, who knows if you built the ncurses library correctly or even installed the terminfo database...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

stty -a

ssh -t qnxhost stty -a

vi ex mode

vi :map

TERM

Since it's ArchLinux, who knows if you built the ncurses library correctly or even installed the terminfo database properly.


https://bbs.archlinux.org/viewtopic.php?id=176771

https://en.wikibooks.org/wiki/Learning_the_vi_Editor/Vim/Modes#Ex-mode

https://en.wikipedia.org/wiki/Terminfo

terminal emulation vt100


16:20 < kurahaupo> webdawg: it is not configurable via sshd.conf; rather it copies settings from the client tty or uses hardcoded defaults
16:20 -!- souuell [~souuell@unaffiliated/souuell] has joined ##linux
16:21 -!- fyrril2 [~fyrril@cpe-98-122-16-231.sc.res.rr.com] has quit [Quit: Leaving]
16:21 < Dagmar> webdawg: So... let's see... (looking for a filepath here)
16:21 -!- jonno11_ [~Jon@cpc1-walt12-2-0-cust582.13-2.cable.virginm.net] has joined ##linux
16:21 -!- rindolf [~rindolf@bzq-79-179-51-15.red.bezeqint.net] has quit [Quit: http://www.shlomifish.org/ ; Yay! I'm a llama again.]
16:21 < webdawg> kurahaupo: so the ssh server does ask the client for local terminal settings.
16:21 -!- thevishy [~thevishy@122.166.148.59] has quit [Ping timeout: 240 seconds]
16:22 < Dagmar> webdawg: Check to make sure there's a /usr/share/terminfo/x/xterm on the remote end
16:22 < Dagmar> webdawg: It passes the value of TERM over
16:22 < kurahaupo> webdawg: yes, especially in respect of the window
16:22 < ifohancroft> triceratux: http://www.fpaste.org/268640/42524886/ here it is btw. This is after I added xorg.conf sections so I can
                     ignore the joystick so at least in xinput it doesn't show twice and also so I can remove mouse acceleration but you
                     can still see it not even recognizing the right ammount of buttons and stuff, adding it multiple times as different
                     devices
16:22 -!- bd__ [~bd@p5DE9597B.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds]
16:22 -!- jonno11 [~Jon@cpc1-walt12-2-0-cust582.13-2.cable.virginm.net] has quit [Ping timeout: 252 seconds]
16:22 -!- katherine [~katherine@unaffiliated/katherine] has joined ##linux
16:23 < Dagmar> ifohancroft: Find whoeevr build your X binaries and stab them repeatedly.
16:23 < kurahaupo> webdawg: it also passes a limited set of environment variables, including TERM
16:23 -!- raymondhim [~raymondhi@c-73-164-116-168.hsd1.mn.comcast.net] has joined ##linux
16:23 -!- bigbadbear [~afreidah@64.125.103.2] has quit [Ping timeout: 246 seconds]
16:23 < ifohancroft> Dagmar: I am not sure if it's X's fault. Isn't it getting most of the device info from udev?
16:23 -!- livingstn [~livingstn@96.92.46.73] has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:24 < kurahaupo> webdawg: but TERM isn't actually a "terminal setting" as such,
16:24 -!- duncannz [~duncannz@121-74-84-211.telstraclear.net] has joined ##linux
16:24 < kurahaupo> webdawg: TERM is an environment variable that notifies programs what sort of terminal they're dealing with
16:25 < ifohancroft> I don't even want the people responsible for those bugs' existance or fixing to care. I just want to figure out/some