|
|
#31 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 250
Karma: 892104
Join Date: May 2012
Device: kt
|
Quote:
In the meantime I updated my XTerm package. I added keyboard shortcuts to open popup menus and change font size.
You can also easily customize terminal, shortcuts or fonts by editing Xresources file in xterm/layouts folder within the package. |
|
|
|
|
|
|
#32 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,895
Karma: 2267781
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w & PW
|
@aditya3098: Wild guess: Broken bash auto-completion stuff?
(I don't use bash, but when I'm messing around with zsh and the auto-complete stalls, it 'hangs' @ 100% CPU until I ^C). |
|
|
|
|
Enthusiast
|
|
|
|
#33 | |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,077
Karma: 3827911
Join Date: Feb 2012
Device: Intel 4004
|
Quote:
I don't see a row for function keys, f1..f10(12) but I do see a "F" meta key. So are the function keys generated with the F 1 .. F 10 key pair sequence? If so, does <ALT> F 1 sequence work? Or will it work before your done? The reason I ask, the virtual terminals are accessed via <ALT>F1 ... <ALT>F10 (or F12) - however many of them you have turned on in /etc/inittab.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
|
|
#34 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 764
Karma: 1646497
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kindle 3 WiFi
|
In fact, the terminals you can access on a typical Unixoid system nowadays are virtual, but not pseudo terminals. The OS presents them as /dev/ttyN, not /dev/ptyN / /dev/pts/N. xterm however will create a pseudo terminal. You can't switch among these with ALT-F<n>, since they do not necessarily have "siblings". However, you can use a terminal multiplexer like screen or tmux to archieve a similar effect. I'm using tmux within myts here on my K3.
|
|
|
|
|
|
#35 | |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,077
Karma: 3827911
Join Date: Feb 2012
Device: Intel 4004
|
Quote:
Capturing the alt-F* keys is a function of the keyboard handling, not of xterm (in this thread, of matchbox-keyboard). The function is to start (and switch to) another instance of xterm on another /dev/tty* (of those with a handler assigned in /etc/inittab). A terminal multiplexer, does just that, multiplexes a single terminal instance, not create a new one. Those applications are from the days when the user only had a single set of wires to a single, physical, terminal interface. Not related to my question concerning keyboard handling in matchbox-keyboard.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
|
|
#36 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27
Karma: 5790
Join Date: Jan 2009
Location: moscow, russia
Device: Kindle Touch, Sony PRS-505
|
wow, midnight commander looks really nice now
|
|
|
|
|
|
#37 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 250
Karma: 892104
Join Date: May 2012
Device: kt
|
Quote:
But it will not change terminal for reasons mentioned by Hawhill. Also I noticed that some keystokes are intercepted by kindle. This is the case with <Fx> keys. You may overcome this by selecting securekbd option (which ensures that input is directed only to xterm) from XTerm popdown menu. <Fx> keys are not pair sequences. They have their own character codes. For example <F1> sends 0xffbe. For more keycodes see for example here. Edit: By the way, the only KT key sends 0xff50, which is mapped to <home> key
Last edited by baf; 05-29-2012 at 03:32 AM. |
|
|
|
|
|
|
#38 | |||
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 764
Karma: 1646497
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kindle 3 WiFi
|
Quote:
Graphical terminals however don't use the virtual terminals /dev/ttyN. They use pseudo terminals. For those, there is always a _pair_ of devices. Nowadays this will be the /dev/ptmx (single master for all slaves) and /dev/pts/N (slave terminal, this side is for terminal clients). This mechanism is what xterm uses. You can't switch from pseudo terminals to virtual terminals: just try on a desktop in xterm to switch. All you potentially get is a full screen VGA terminal, but xterm has nothing to do with that, that's kernel based switching between virtual terminals, i.e. the whole X session and another virtual tty. Quote:
Quote:
|
|||
|
|
|
|
|
#39 |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,077
Karma: 3827911
Join Date: Feb 2012
Device: Intel 4004
|
Yes, indeed, I follow all of that.
A nice, clear, explaination for the benefit of those readers less experienced here. What I was asking about would have been __non-standard__ behavior that (after thinking / sleeping on the question) would require that (since this is running under X) <CTRL><ALT>F* to start another instance on a __different__ X11 display (which would be on a different /dev/tty* - since one is already captured). Not impossible, but probably not worth the programming effort. Which gets me to where I was headed anyway. ![]() So while this "heavy weight" on-Kindle terminal display is useful in itself; The other project here, http://www.mobileread.com/forums/sho...d.php?t=178983 of JoppyFur is also still useful. If it does not involve (I don't think it is an X11 app) the graphical display system, then it would be much easier to add virtual terminal support to that project. Since the majority of the readers on this forum are probably not *nix users, it may be hard for them to imagine "why" support for the multiple virtual terminals would be useful. Answering those questions might lead to a fairly long thread, and it would be probably better to open a "VT Support" thread once JF gets his project closer to being finished.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
|
#40 | |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,022
Karma: 6352591
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
Quote:
__________________
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
![]() Last edited by geekmaster; 05-29-2012 at 08:07 AM. |
|
|
|
|
|
|
#41 | |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,077
Karma: 3827911
Join Date: Feb 2012
Device: Intel 4004
|
Quote:
Keep on coding JF, this project has not replaced what you are doing.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
|
|
#42 | |
|
Coding fuzzball
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16
Karma: 38918
Join Date: May 2012
Device: Kindle Touch
|
Quote:
Yeah, I'm still working on my terminal when I have time. After the end of this week I'll be on by break between semesters one and two, so will be able to get a good chunk of development in. However, for the rest of this week, I have two more exams, so won't have much coding time 'til after they are over. I do plan on eventually having a tabbed interface for multiple terminal sessions running in parallel. |
|
|
|
|
|
|
#43 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2012
Device: Kindle Touch 3G/Nook ST
|
upper C
I recently install xterm app, but seems to be pressing upper key "C" does nothing, lower one works. Am I unlucky or is it a real bug? Thanks.
|
|
|
|
|
|
#44 |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,022
Karma: 6352591
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
You have source code. You can answer your own question. If you find a bug, you can even fix it.
__________________
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
![]() |
|
|
|
|
|
#45 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2012
Device: Kindle Touch 3G/Nook ST
|
|
|
|
|
![]() |
| Tags |
| launcher add-ons |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Progress] Jailbreaking Kindle 4.0 (Touch/No Keyboard) | yifanlu | Kindle Developer's Corner | 429 | 10-22-2012 08:58 PM |
| [Kindle Touch] Touch-screen keyboard demo | JoppyFurr | Kindle Developer's Corner | 6 | 05-19-2012 11:04 AM |
| Kindle Touch add new keyboard | Novas | Kindle Developer's Corner | 2 | 01-12-2012 08:29 AM |
| Battery life in kindle keyboard an kindle non touch. | ersott | Amazon Kindle | 22 | 12-25-2011 04:37 AM |
| Matchbox Keyboard Update | Grimulkan | iRex | 17 | 05-13-2009 04:24 PM |