|  01-22-2013, 02:20 PM | #46 | |
| Evangelist            Posts: 405 Karma: 2330752 Join Date: May 2012 Device: kt | Quote: 
 | |
|   |   | 
|  01-22-2013, 05:54 PM | #47 | 
| Member            Posts: 23 Karma: 193423 Join Date: Jul 2012 Device: Kindle Touch | 
			
			Is there a way to pass mouse button events to vte so curses can use them? There would be a bit of a UI conflict with the menu, but that should be tolerable. Also, you didn't set the colors for bold, dim, cursor, and highlight in set_terminal_colors() so they show up as white on white. Last edited by Fvek; 01-22-2013 at 06:17 PM. | 
|   |   | 
|  01-23-2013, 08:23 AM | #48 | ||
| Evangelist            Posts: 405 Karma: 2330752 Join Date: May 2012 Device: kt | Quote: 
 Quote: 
  Regarding your last contribution I had to modify it a bit, because I compile for quite old vte (0.24.3). Newer one won't build with ancient versions of libraries on kindle. | ||
|   |   | 
|  01-23-2013, 08:57 AM | #49 | 
| Evangelist            Posts: 405 Karma: 2330752 Join Date: May 2012 Device: kt | 
				
				kterm 0.3
			 
			
			I updated kterm package on my webpage.  It adds features discussed in this thread: 
 Last edited by baf; 01-23-2013 at 09:02 AM. | 
|   |   | 
|  01-23-2013, 09:34 AM | #50 | |
| Going Viral            Posts: 17,212 Karma: 18210809 Join Date: Feb 2012 Location: Central Texas Device: No K1, PW2, KV, KOA | Quote: 
 Thanks a lot for your support by doing that. PM me your public key - I'll stick it in the mr-keys directory. | |
|   |   | 
|  01-23-2013, 02:14 PM | #51 | ||
| Member            Posts: 23 Karma: 193423 Join Date: Jul 2012 Device: Kindle Touch | Quote: 
 On the Kindle, the new version runs commands using the -e option, but if you run it plain it won't open a shell, just a blank screen with a cursor. It works correctly when compiled and run on Ubuntu, although it hangs for a few seconds compared to with -e, so I don't know what's wrong. | ||
|   |   | 
|  01-23-2013, 03:09 PM | #52 | |
| Evangelist            Posts: 405 Karma: 2330752 Join Date: May 2012 Device: kt | Quote: 
 Regarding your problem, on my kindle it runs fine. Sent you a PM. | |
|   |   | 
|  01-23-2013, 03:21 PM | #53 | |
| Going Viral            Posts: 17,212 Karma: 18210809 Join Date: Feb 2012 Location: Central Texas Device: No K1, PW2, KV, KOA | Quote: 
 | |
|   |   | 
|  01-23-2013, 04:28 PM | #54 | 
| Member            Posts: 23 Karma: 193423 Join Date: Jul 2012 Device: Kindle Touch | 
			
			I found the problem. I had changed kterm menu.json to run a shell script calling the binary instead just binary because I wanted to add some things to the PATH env var. I put it back to the default way and it works. Although, my way was working with 0.2, so don't know why it stopped. Maybe we could add/set the PATH via the config file? | 
|   |   | 
|  01-23-2013, 04:36 PM | #55 | |
| Going Viral            Posts: 17,212 Karma: 18210809 Join Date: Feb 2012 Location: Central Texas Device: No K1, PW2, KV, KOA | Quote: 
 Also post the listing of the ownership and permissions. | |
|   |   | 
|  01-23-2013, 04:57 PM | #56 | |
| Member            Posts: 23 Karma: 193423 Join Date: Jul 2012 Device: Kindle Touch | 
			
			Script: Quote: 
 -rwxr-xr-x 1 root root 115 Jan 23 13:55 kterm.sh UPDATE: it's the "-name kterm" bit that caused it. That was left over from when I originally cp'ed this script from xterm. removed it and it runs as expected. That bit with EXTENSION is pointless too. Maybe I should pay more attention to what I'm copying   Last edited by Fvek; 01-23-2013 at 05:06 PM. | |
|   |   | 
|  01-23-2013, 04:59 PM | #57 | |
| ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr            Posts: 6,586 Karma: 6299993 Join Date: Jun 2012 Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch | Quote: 
 Sounds like someone (me) screwed the pooch somehow... on parsing the params... Could that be it? Launcher at fault? EDIT: *reads up* ah no.... Not my bad. YAY!!! Last edited by twobob; 01-23-2013 at 05:03 PM. | |
|   |   | 
|  01-23-2013, 05:28 PM | #58 | |
| Going Viral            Posts: 17,212 Karma: 18210809 Join Date: Feb 2012 Location: Central Texas Device: No K1, PW2, KV, KOA | Quote: 
 | |
|   |   | 
|  01-23-2013, 05:37 PM | #59 | 
| ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr            Posts: 6,586 Karma: 6299993 Join Date: Jun 2012 Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch | 
			
			You shouldn't need to child process it. I already do that when it is "launched". (It fires in a tiny wrapper with a & on the end to prevent the kindlet from "hanging") | 
|   |   | 
|  01-23-2013, 07:59 PM | #60 | 
| Member            Posts: 23 Karma: 193423 Join Date: Jul 2012 Device: Kindle Touch | 
			
			One more patch, this one adds command line options for all the config options.
		 | 
|   |   | 
|  | 
| Tags | 
| kindle touch, kindle touch hacks, terminal emulator | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| One more terminal emulator for kindle. | Matan | Kindle Developer's Corner | 160 | 07-15-2025 12:43 AM | 
| PRS-T1 Terminal Emulator in rupor-minimal | jcromero | Sony Reader Dev Corner | 2 | 09-26-2012 02:07 PM | 
| Anybody working on terminal for Kindle Touch? | markatlnk | Kindle Developer's Corner | 3 | 06-02-2012 10:07 AM | 
| Development Terminal Emulator oddity | twichy | enTourage Archive | 5 | 05-01-2011 11:51 AM | 
| DR800 rxvt (terminal emulator) for DR800 | GregorRichards | iRex | 13 | 01-04-2011 06:56 AM |